Difference between revisions of "Osiris/API/CharacterLeftTrigger"

From Divinity Engine Wiki
Jump to: navigation, search
m (Removed gremlin |)
 
(4 intermediate revisions by the same user not shown)
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.
 
* '''_Trigger''': the trigger that the character left.
 
* '''_Trigger''': the trigger that the character left.
 
===== Notes =====
 
===== Notes =====
* If you [[Osiris/API/TriggerUnregisterForCharacter|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 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 =====
 
* [[Osiris/API/CharacterEnteredTrigger|CharacterEnteredTrigger]]
 
* [[Osiris/API/CharacterEnteredTrigger|CharacterEnteredTrigger]]
 +
* [[Osiris/API/ObjectIsInTrigger|ObjectIsInTrigger]]
 
* [[Osiris/API/TriggerRegisterForCharacter|TriggerRegisterForCharacter]]
 
* [[Osiris/API/TriggerRegisterForCharacter|TriggerRegisterForCharacter]]
 
* [[Osiris/API/TriggerUnregisterForCharacter|TriggerUnregisterForCharacter]]
 
* [[Osiris/API/TriggerUnregisterForCharacter|TriggerUnregisterForCharacter]]
Line 18: Line 19:
 
* Helper [[Osiris/Shared/DB_InRegion|DB_InRegion]]
 
* Helper [[Osiris/Shared/DB_InRegion|DB_InRegion]]
 
   
 
   
[[Category:Osiris Events]]
+
[[Category:Osiris Events|CharacterLeftTrigger]]

Latest revision as of 15:05, 19 December 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