playableUnits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 44: Line 44:
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]

Revision as of 16:52, 24 January 2013

Hover & click on the images for description

Description

Description:
Return a list of playable units (occupied by both AI or players) in a multiplayer game.
Groups:
Uncategorised

Syntax

Syntax:
playableUnits
Return Value:
Array

Examples

Example 1:
(example)

Additional Information

See also:
unitsallUnitsswitchableUnitsallGroupsvehicles

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on July 13, 2009 - 11:35
Killswitch
In single-player missions, this command will return an empty array.

Bottom Section