Djinni Wiki
Advertisement

Conflicting documentation:

function _GetLastAttacker (object oAttackee=OBJECT_SELF)

Get the last attacker of oAttackee. This should only be used ONLY in the OnAttacked events for creatures, placeables and doors.

  • Return value on error: OBJECT_INVALID
  • Return type: object
  • Include file: nwscriptdefn

or

function _GetLastAttacker (object oSource)

as> Internal function

  • Return type: object
  • Include file: inc_ai_wrap
Advertisement