点击图片可看到更多讯息
开始使用于
- 游戏:
- Arma 2
- 版本:
- 1.00
描述
- 描述:
- Return the name of the currently selected weapon (on the primary turret for vehicles).
基本句法
范例
- 范例1:
_weaponClass = currentWeapon (vehicle player);//Example: "M16A2GL"
- 范例2:
_weaponClass = currentWeapon player;
额外资讯
- 多人游戏:
- -
- 也可以看看:
- currentMagazinecurrentMuzzlecurrentVisionModecurrentWeaponModecurrentZeroingmagazinesTurretweaponsTurret
注意事项
Notes
- Posted on July 15, 2009 - 04:00 (CEST)
- Lou Montana
- You have to make a little delay (sleep 0.001; (not less)) to use this command, else you will be returned an empty string.
- Posted on July 15, 2009 - 04:00 (CEST)
- Lou Montana
- It seems it's not working in 1.02 for other unit than player.
- Posted on May 4, 2010
- Terox
- This works for vehicles providing there is a gunner