点击图片可看到更多讯息
开始使用于
- 游戏:
- Armed Assault
- 版本:
- 1.00
描述
- 描述:
- Check if given person is a human player.
基本句法
范例
- 范例1:
if (isPlayer _Soldier1) then { _Soldier1 setDamage 1; };
- 范例2:
_playerCount = {isPlayer _x} count playableUnits;
额外资讯
- 多人游戏:
- -
- 也可以看看:
- playerplayableSlotsNumberplayableUnitsplayersNumber
注意事项
Notes
- Posted on 1 August, 2006
- Kronzky
- This is not the same as testing object == player, because in MP it tests for any player, not only for the local one. If object is a vehicle, the test is done for the vehicle commander.