You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.
hjnilsson edited this page Jul 24, 2012
·
1 revision
The OnLoseCreature event is triggered when a creatures loses target of another creature.
Trigger
This event is triggered when another creature is lost as a target for the current creature. That means it fires when a creature's target disappears for example. It does not fire because a creature walks outside the view field of another creature, use a onThink event and use Creature.canSee to find out if the creature is outside the view.
It is not recommended to move or destroy the creatures that have been lost from within the handler. As it can cause major problem, add a timer event for a very low interval and remove them a second later instead.