GetGoingToBeAttackedBy

From NWN Lexicon
Revision as of 01:27, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



GetGoingToBeAttackedBy(object)

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

object GetGoingToBeAttackedBy(
    object oTarget
);

Parameters

oTarget

The creature that is going to be attacked.


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.



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).


Version

1.22

See Also



 author: Tom Cassiotis