Difference between revisions of "Osiris/API/TriggerUnregisterForCharacter"
From Divinity Engine Wiki
m (Removed gremlin |) |
m (fixed stray "*" and removed link to TriggerRegisterForCharacter from note to remove suggestion this does not hold for TriggerRegisterForPlayers) |
||
Line 6: | Line 6: | ||
* None | * None | ||
===== Notes ===== | ===== Notes ===== | ||
− | + | * If you unregister a trigger for a character while the character was inside the trigger and the trigger was previously registered for that character, a [[Osiris/API/CharacterLeftTrigger|CharacterLeftTrigger]] event will be thrown. | |
===== See Also ===== | ===== See Also ===== | ||
* [[Osiris/API/CharacterEnteredTrigger|CharacterEnteredTrigger]] | * [[Osiris/API/CharacterEnteredTrigger|CharacterEnteredTrigger]] |
Revision as of 14:54, 14 October 2017
Full Definition(s)
- call TriggerUnregisterForCharacter((TRIGGERGUID)_Trigger, (CHARACTERGUID)_Character)
Description
Stops CharacterEnteredTrigger events from being thrown whenever _Character enters _Trigger.
Return Values
- None
Notes
- If you unregister a trigger for a character while the character was inside the trigger and the trigger was previously registered for that character, a CharacterLeftTrigger event will be thrown.