From Bohemia Interactive Community
Click on the images for descriptions
- Armed Assault
- Returns a list of playable units available for switching to. Command is relative to the client on which it is executed and will only show playable units for the same side as player's group + player himself. The playableUnits command on the other hand will show all playable units regardless of the side. Exception is SP, where playable units from all sides will be accessible via this command. Dead units are automatically removed from the resulting array. Playable units that are already occupied by other human players will also not show in the results.
NOTE that in Multiplayer, switchableUnits are only available when respawn type is set to SIDE or GROUP. In all other cases it is an empty array .
- Return Value:
- Example 1:
- Example needed
- See also:
- Posted on July 06, 2011 - 13:32
- On dedicated server this command returns empty array.