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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.