BIS fnc listPlayers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Returns a list of ''currently played'' units, alive or dead. |= Description
 
Description:
Returns list of playable units
 
Returns:
ARRAY - list of units
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_listPlayers]]; --> |= Syntax
| call [[BIS_fnc_listPlayers]] |= Syntax


|p1= |= Parameter 1
| [[Array]] of [[Object|Objects]] |= Return value
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_allPlayers = [[call]] [[BIS_fnc_listPlayers]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[isPlayer]], [[playableUnits]] |= See also
 
}}
}}



Revision as of 14:20, 5 May 2018

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