Difference between revisions of "list"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
m
Line 8: Line 8:
 
|arg= global |Multiplayer Arguments=
 
|arg= global |Multiplayer Arguments=
 
|eff= local |= Effect in MP
 
|eff= local |= Effect in MP
 +
 +
|gr1= Triggers |GROUP1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 14:49, 21 September 2020

Template:Command

Notes

Posted on March 6, 2013 - 14:15 (CEST)
teaCup
Calling list immediately after creating a trigger via createTrigger (and setting up activation, area, statements, timeout, etc..), will return <null> instead of an array. It seems the trigger needs about 1 second to initialise, after which it will behave as expected: returning an array of all the objects inside the trigger (the ones matching the criteria), or an empty array.

Bottom Section