Difference between revisions of "Osiris/API/IterateParties"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
Line 4: Line 4:
 
Iterates over all characters in that are in any [[Osiris/API/AddToParty|party]], and throws the [[Osiris/API/StoryEvent|event]] '''_Event''' for every one of them.
 
Iterates over all characters in that are in any [[Osiris/API/AddToParty|party]], and throws the [[Osiris/API/StoryEvent|event]] '''_Event''' for every one of them.
 
===== Notes =====
 
===== Notes =====
* /
+
* Since only player characters can be in parties, and since all player characters are guaranteed to be in a party, the practical upshot is that this call sends '''_Event''' to all current player characters.
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/AddToParty|AddToParty]]
 
* [[Osiris/API/AddToParty|AddToParty]]

Latest revision as of 07:28, 12 April 2018

Full Definition(s)
  • call IterateParties((STRING)_Event)
Description

Iterates over all characters in that are in any party, and throws the event _Event for every one of them.

Notes
  • Since only player characters can be in parties, and since all player characters are guaranteed to be in a party, the practical upshot is that this call sends _Event to all current player characters.
See Also