BIS fnc listPlayers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Multiplayer |GROUP1= | |gr1 = Multiplayer |GROUP1= | ||
| Returns a list of ''currently played'' units, alive or dead. |DESCRIPTION= | | Returns a list of ''currently played'' units, alive or dead. |DESCRIPTION= | ||
| call [[BIS_fnc_listPlayers]] |SYNTAX= | | call [[BIS_fnc_listPlayers]] |SYNTAX= | ||
| [[Array]] of [[Object|Objects]] |RETURNVALUE= | | [[Array]] of [[Object|Objects]] |RETURNVALUE= | ||
|x1= <code>_allPlayers = [[call]] [[BIS_fnc_listPlayers]];</code> |EXAMPLE1= | |x1= <code>_allPlayers = [[call]] [[BIS_fnc_listPlayers]];</code> |EXAMPLE1= | ||
| [[isPlayer]], [[playableUnits]] |SEEALSO= | | [[isPlayer]], [[playableUnits]] |SEEALSO= |
Revision as of 23:31, 16 January 2021
Description
- Description:
- Returns a list of currently played units, alive or dead.
- Execution:
- call
- Groups:
- Multiplayer
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