Difference between revisions of "Osiris/API/CharacterLaunchIteratorAroundCharacter"
From Divinity Engine Wiki
m |
m (Refer to story event) |
||
Line 4: | Line 4: | ||
Causes story event '''_Event''' to be thrown for every ''character'' within '''_Radius''' meters of '''_Character'''. Once the last such character has been iterated, an additional story event '''_Event''' will be thrown for object '''''NULL_00000000-0000-0000-0000-000000000000''''', so that you can perform any necessary cleanup or finalise processing. | Causes story event '''_Event''' to be thrown for every ''character'' within '''_Radius''' meters of '''_Character'''. Once the last such character has been iterated, an additional story event '''_Event''' will be thrown for object '''''NULL_00000000-0000-0000-0000-000000000000''''', so that you can perform any necessary cleanup or finalise processing. | ||
===== Notes ===== | ===== Notes ===== | ||
− | * As mentioned in the description, this will only iterate over | + | * As mentioned in the description, this will only iterate over characters. |
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/StoryEvent|StoryEvent]] | ||
* [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]] | * [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]] | ||
[[Category:Osiris Calls]] | [[Category:Osiris Calls]] |
Revision as of 17:42, 9 September 2017
Full Definition(s)
- call CharacterLaunchIteratorAroundCharacter((CHARACTERGUID)_Character, (REAL)_Radius, (STRING)_Event)
Description
Causes story event _Event to be thrown for every character within _Radius meters of _Character. Once the last such character has been iterated, an additional story event _Event will be thrown for object NULL_00000000-0000-0000-0000-000000000000, so that you can perform any necessary cleanup or finalise processing.
Notes
- As mentioned in the description, this will only iterate over characters.