Djinni Wiki
Advertisement

function GetGoingToBeAttackedBy (object oTarget)

Get the creature that is going to attack oTarget.

  • Note: 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)
  • Returns OBJECT_INVALID if oTarget is not a valid creature.
  • Return type: object
  • Include file: nwscriptdefn
Advertisement