Osiris/API/CharacterLaunchIteratorAroundCharacter: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Osiris Core APIs)
 
mNo edit summary
 
(6 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 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 clean-up or finalise processing.
===== Notes =====
===== Notes =====
* As mentioned in the description, this will only iterate over character.
* 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/TriggerLaunchIterator]]
* [[Osiris/API/CharacterLaunchIterator|CharacterLaunchIterator]]
* [[Osiris/API/CharacterLaunchOsirisOnlyIterator|CharacterLaunchOsirisOnlyIterator]]
* [[Osiris/API/StoryEvent|StoryEvent]]
* [[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 20: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
See Also