BIS fnc listPlayers: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns a list of ''currently played'' units, alive or dead. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | call [[BIS_fnc_listPlayers]] |= Syntax | ||
| | | [[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 13:20, 5 May 2018
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