function GetLastHostileActor (object oVictim=OBJECT_SELF)
Get the last object that was sent as a GetLastAttacker (), GetLastDamager (), GetLastSpellCaster () (for a hostile spell), or GetLastDisturbed () (when a creature is pickpocketed).
- Note: Return values may only ever be:
- A Creature
- Plot Characters will never have this value set
- Area of Effect Objects will return the AOE creator if they are registered as this value, otherwise they will return INVALID_OBJECT_ID
- Traps will not return the creature that set the trap.
- This value will never be overwritten by another non-creature object.
- This value will never be a dead/destroyed creature
- Return type: object
- Include file: nwscriptdefn