GetGoingToBeAttackedBy

From NWN Lexicon



Contents

[edit] GetGoingToBeAttackedBy(object)

Determines the creature that is going to attack another creature in the current combat round.

object GetGoingToBeAttackedBy(
    object oTarget
);

[edit] Parameters

oTarget

The creature that is going to be attacked.


[edit] Description

Returns the creature that is going to attack oTarget, and OBJECT_INVALID if oTarget is not a valid creature or if oTarget isn't being attacked.



[edit] Remarks

This value is cleared out at the end of every combat round and should not be used in any case except when getting a "going to be attacked" shout from the master creature (and this creature is a henchman).


[edit] Version

1.22

[edit] See Also



 author: Tom Cassiotis
 

Personal tools
Categories