Difference between revisions of "Osiris/API/TriggerRegisterForPlayers"

From Divinity Engine Wiki
Jump to: navigation, search
m
Line 16: Line 16:
 
* [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]]
 
* [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]]
 
* Helper [[Osiris/Shared/DB_InRegion|DB_InRegion]]
 
* Helper [[Osiris/Shared/DB_InRegion|DB_InRegion]]
 +
* Helper[[Osiris/Shared/DB_TriggerSendsSpotEvents|DB_TriggerSendsSpotEvents]]
 +
* Helper [[Osiris/Shared/ProcTriggerRegisterForPlayers|ProcTriggerRegisterForPlayers]]
 +
* Helper [[Osiris/Shared/ProcTriggerRegisterForPlayers|ProcTriggerRegisterForPlayers]]
  
 
[[Category:Osiris Calls|TriggerRegisterForPlayers]]
 
[[Category:Osiris Calls|TriggerRegisterForPlayers]]

Revision as of 23:34, 7 February 2018

Full Definition(s)
  • call TriggerRegisterForPlayers((TRIGGERGUID)_Trigger)
Description

Registers the _Trigger for all current player characters, to that that whenever one of them enters or leaves the _Trigger, a CharacterEnteredTrigger resp. CharacterLeftTrigger event will be thrown for this trigger/character combination.

Return Values
  • None
Notes
  • Event triggers are automatically registered for all characters by the engine and can not be unregistered.
  • ProcTriggerRegisterForPlayers ensures that the _Trigger is also registerd for characters who become players at a later point (i.e. characters recruited into the party). Use this procedure rather than the TriggerRegisterForPlayers call directly.
See Also