GetProjectileTrapOrigin

From NWN Lexicon



Contents

[edit] GetProjectileTrapOrigin(object, object)

Gets the origin for a projectile trap.

object GetProjectileTrapOrigin(
    object oTarget,
    object oTrigger = OBJECT_SELF
);

[edit] Parameters

oTarget

Target to get the nearest object with a matching tag of oTrigger to.

oTrigger

Object to examine the tag of for use in finding the closest object to oTarget. (Default: OBJECT_SELF)


[edit] Description

Returns the nearest object to the target that has a tag matching the tag of the trigger.



[edit] Requirements

#include " x0_i0_projtrap "

[edit] Version

1.61

[edit] See Also



 author: Charles Feduke
 

Personal tools
Categories