allPlayers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(category)
(version 1.48)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
| arma3 |= Game name


|1.47|= Game version
|1.48|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:14, 17 July 2015

Hover & click on the images for description

Description

Description:
Returns a list of all human players including dead players.
Groups:
Uncategorised

Syntax

Syntax:
allPlayers
Return Value:
Array

Examples

Example 1:
{ systemChat format [ "Player %1 is %2", name _x, ["dead", "alive"] select alive _x ]; } forEach allPlayers;
Example 2:
_bluNums = west countSide allPlayers;

Additional Information

See also:
allCuratorsallGroupsallDeadswitchableUnitsplayableUnitsvehiclesallUnitsUAVallDeadMenisPlayer

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

Bottom Section