Djinni Wiki
Advertisement

Conflicting documentation:

function _GetAttackTarget (object oCreature=OBJECT_SELF)

Get the attack target of oCreature. This only works when oCreature is in combat.

  • Return type: object
  • Include file: nwscriptdefn

or

function _GetAttackTarget (object oSource __dbg{, object oCaller=OBJECT_INVALID})

as> Internal function

  • Return type: object
  • Include file: inc_ai_wrap
Advertisement