Difference between revisions of "Osiris/API/CharacterLeftTrigger"

From Divinity Engine Wiki
Jump to: navigation, search
m (Removed link to TriggerUnregisterForCharacter from note to remove suggestion this does not hold for TriggerUnregisterForPlayers)
m (Also removed link to TriggerRegisterForCharacter from description)
Line 2: Line 2:
 
* event '''CharacterLeftTrigger'''(''(CHARACTERGUID)'''''_Character''', ''(TRIGGERGUID)'''''__Trigger''')
 
* event '''CharacterLeftTrigger'''(''(CHARACTERGUID)'''''_Character''', ''(TRIGGERGUID)'''''__Trigger''')
 
===== Description =====
 
===== Description =====
Thrown when a character leaves a trigger that was [[Osiris/API/TriggerRegisterForCharacter|registered]] for it previously.
+
Thrown when a character leaves a trigger that was registered for it previously.
 
===== Parameters =====
 
===== Parameters =====
 
* '''_Character''': the character that left the trigger.
 
* '''_Character''': the character that left the trigger.

Revision as of 14:55, 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.
See Also