武装突袭 Wiki
Advertisement
Introduced with Arma 3 version 1.48
  

點擊圖片可看到更多訊息

開始使用於

遊戲:
Arma 3
版本:
1.48

描述

描述:
Returns a list of all human players including dead players. The command also returns all connected headless clients. To filter headless clients out: _justPlayers = allPlayers - entities "HeadlessClient_F"; NOTE: In player hosted game, the complete array of allPlayers may get delayed at the start. Use BIS_fnc_listPlayers if you need it earlier

基本句法

句法:
allPlayers
返回值:
Array

範例

範例1:
{ systemChat format [ "Player %1 is %2", name _x, ["dead", "alive"] select alive _x ]; } forEach allPlayers;
範例2:
_bluNums = west countSide allPlayers;
範例3:
Find all human players if headless clients are used:_allHCs = entities "HeadlessClient_F"; _allHPs = allPlayers - _allHCs;

額外資訊

多人遊戲:
-
也可以看看:
allCuratorsallGroupsallDeadallUnitsswitchableUnitsplayableUnitsvehiclesallUnitsUAVallDeadMenisPlayer

注意事項

此處撰寫句法皆為可行用法. 可到官網[1]專頁回報錯誤. 你可以使用討論頁面或是論壇來進行討論.
新增注意事項 | 如何新增?

Notes

Bottom Section

Advertisement