Difference between revisions of "Osiris/API/TriggerLaunchIterator"

From Divinity Engine Wiki
Jump to: navigation, search
(Link DB_InRegion)
m
Line 6: Line 6:
 
* None
 
* None
 
===== Notes =====
 
===== 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.
+
* It is not possible to iterate all items in a trigger in the same way. You have to use [[Osiris/API/TriggerRegisterForItems|TriggerRegisterForItems]] and keep track of the items entering/exiting the trigger in that case.
 
===== See Also =====
 
===== See Also =====
 +
* [[Osiris/API/CharacterEnteredTrigger|CharacterEnteredTrigger]]
 
* [[Osiris/API/CharacterLaunchIteratorAroundCharacter|CharacterLaunchIteratorAroundCharacter]]
 
* [[Osiris/API/CharacterLaunchIteratorAroundCharacter|CharacterLaunchIteratorAroundCharacter]]
 +
* [[Osiris/API/CharacterLeftTrigger|CharacterLeftTrigger]]
 +
* [[Osiris/API/ItemEnteredTrigger|ItemEnteredTrigger]]
 +
* [[Osiris/API/ItemLeftTrigger|ItemLeftTrigger]]
 +
* [[Osiris/API/ObjectIsInTrigger|ObjectIsInTrigger]]
 
* Helper [[Osiris/Shared/DB_InRegion|DB_InRegion]]
 
* Helper [[Osiris/Shared/DB_InRegion|DB_InRegion]]
  
 
[[Category:Osiris Calls]]
 
[[Category:Osiris Calls]]

Revision as of 16:35, 15 October 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