BIS fnc listPlayers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 29: Line 29:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:listPlayers}}]]
 
[[Category:Functions|{{uc:listPlayers}}]]
[[Category:Functions|{{uc:listPlayers}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:listPlayers}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:listPlayers}}]]

Revision as of 09:10, 10 October 2020

Hover & click on the images for description

Description

Description:
Returns a list of currently played units, alive or dead.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
call BIS_fnc_listPlayers
Return Value:
Array of Objects

Examples

Example 1:
_allPlayers = call BIS_fnc_listPlayers;

Additional Information

See also:
isPlayerplayableUnits

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