Osiris/API/TriggerUnregisterForCharacter

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • call TriggerUnregisterForCharacter((TRIGGERGUID)_Trigger, (CHARACTERGUID)_Character)
Description

Stops CharacterEnteredTrigger and CharacterLeftTrigger events from being thrown whenever _Character enters/leaves _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.
  • Event triggers are automatically registered for all characters (and items) by the engine and should not be manually registered/unregistered.
See Also