Difference between revisions of "Osiris/API/TriggerLaunchIterator"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
 
m
Line 8: Line 8:
 
* It is not possible to iterate all items in a trigger in the same way. You have to use '''TriggerRegisterForItems''' and keep track of the items entering/exiting the trigger in that case.
 
* It is not possible to iterate all items in a trigger in the same way. You have to use '''TriggerRegisterForItems''' and keep track of the items entering/exiting the trigger in that case.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/CharacterLaunchIteratorAroundCharacter]]
+
* [[Osiris/API/CharacterLaunchIteratorAroundCharacter|CharacterLaunchIteratorAroundCharacter]]
  
 
[[Category:Osiris Calls]]
 
[[Category:Osiris Calls]]

Revision as of 22:22, 16 August 2017

Full Definition(s)
  • call TriggerLaunchIterator((TRIGGERGUID)_Trigger, (STRING)_Event)
Description

Causes story event _Event to be thrown for each character currently inside _Trigger. This does not require _Trigger to be first registered for these or any other characters.

Return Values
  • None
Notes
  • It is not possible to iterate all items in a trigger in the same way. You have to use TriggerRegisterForItems and keep track of the items entering/exiting the trigger in that case.
See Also