DestroyNearestObjectByTag
From NWN Lexicon
Contents |
[edit] DestroyNearestObjectByTag(string, object, float)
Destroy the nearest object in the source's area by tag.
void DestroyNearestObjectByTag( string sTag, object oSource = OBJECT_SELF, float fDelay = 0.1 );
[edit] Parameters
sTag
The tag you are interested in.
oSource
An object in the area you are interested in. (Default: OBJECT_SELF)
fDelay
Delay (in seconds) before object is destroyed. (Default: 0.1)
[edit] Description
Destroys the nearest object in oSource's area whose tag matches sTag.
[edit] Remarks
This is a wrapper for GetNearestObjectByTag works, it will not search for a match outside of the area that oSource is in.
[edit] Requirements
#include " x0_i0_destroy "
[edit] Version
???
[edit] See Also
functions: |
author: Mistress