Difference between revisions of "Osiris/API/CharacterLaunchIteratorAroundCharacter"
From Divinity Engine Wiki
m (Refer to story event) |
m |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
* call '''CharacterLaunchIteratorAroundCharacter'''(''(CHARACTERGUID)'''''_Character''', ''(REAL)'''''_Radius''', ''(STRING)'''''_Event''') | * call '''CharacterLaunchIteratorAroundCharacter'''(''(CHARACTERGUID)'''''_Character''', ''(REAL)'''''_Radius''', ''(STRING)'''''_Event''') | ||
===== Description ===== | ===== 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 | + | 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 clean-up or finalise processing. |
===== Notes ===== | ===== Notes ===== | ||
* As mentioned in the description, this will only iterate over characters. | * As mentioned in the description, this will only iterate over characters. | ||
+ | * Changed to [[Osiris/API/CharacterLaunchIteratorAroundObject|CharacterLaunchIteratorAroundObject]] in the Definitive Edition | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/CharacterLaunchIterator|CharacterLaunchIterator]] | ||
+ | * [[Osiris/API/CharacterLaunchOsirisOnlyIterator|CharacterLaunchOsirisOnlyIterator]] | ||
* [[Osiris/API/StoryEvent|StoryEvent]] | * [[Osiris/API/StoryEvent|StoryEvent]] | ||
* [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]] | * [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]] | ||
− | [[Category:Osiris Calls]] | + | [[Category:Osiris Calls|CharacterLaunchIteratorAroundCharacter]] |
+ | [[Category:Osiris Calls (Changed in DOS2DE)|CharacterLaunchIteratorAroundCharacter]] | ||
+ | [[Category:Osiris Calls (Removed in DOS2DE)|CharacterLaunchIteratorAroundCharacter]] |
Latest revision as of 21:43, 20 February 2019
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 clean-up or finalise processing.
Notes
- As mentioned in the description, this will only iterate over characters.
- Changed to CharacterLaunchIteratorAroundObject in the Definitive Edition