Difference between revisions of "Osiris/API/CharacterLeftTrigger"
From Divinity Engine Wiki
m (Removed gremlin |) |
m (Removed link to TriggerUnregisterForCharacter from note to remove suggestion this does not hold for TriggerUnregisterForPlayers) |
||
Line 7: | Line 7: | ||
* '''_Trigger''': the trigger that the character left. | * '''_Trigger''': the trigger that the character left. | ||
===== Notes ===== | ===== Notes ===== | ||
− | * If you | + | * If you unregister a trigger for a character while the character was inside the trigger and the trigger was registered for that character, this event will also be thrown. |
* If a character dies while it is in a trigger that is registered for it, this event will ''NOT'' be thrown. | * If a character dies while it is in a trigger that is registered for it, this event will ''NOT'' be thrown. | ||
===== See Also ===== | ===== See Also ===== |
Revision as of 14:54, 14 October 2017
Full Definition(s)
- event CharacterLeftTrigger((CHARACTERGUID)_Character, (TRIGGERGUID)__Trigger)
Description
Thrown when a character leaves a trigger that was registered for it previously.
Parameters
- _Character: the character that left the trigger.
- _Trigger: the trigger that the character left.
Notes
- If you unregister a trigger for a character while the character was inside the trigger and the trigger was registered for that character, this event will also be thrown.
- If a character dies while it is in a trigger that is registered for it, this event will NOT be thrown.