playersNumber
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint: Resistance
- Version:
- 1.8
Description
- Description:
- Return count of players playing on given side. Works only in multiplayer, in singleplayer always returns 0.
Syntax
Examples
- Example 1:
_west = playersNumber west; _east = playersNumber east; _civ = playersNumber civilian; hint format [ "West:%1 East:%2, Civ:%3", _west, _east, _civ];
Additional Information
- Multiplayer:
- Behaviour unknown.
Notes
Notes
Notes
-
playersNumber returns playable AI as well as human players. It does not include non playable AI. [NOTE: This was observed in ArmA 1.05]

