武装突袭 Wiki
Advertisement
Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Remove all weapons and magazines of the unit. On vehicles only ammo is removed Does not remove map, compass, radio. Use unitname removeweapon "itemmap" for that purpose.

基本句法

句法:
removeAllWeapons unitName
参数:
unitName: Object
返回值:
Nothing

范例

范例1:
removeAllWeapons player;

额外资讯

多人游戏:
-
也可以看看:
removeWeaponsetVehicleAmmoclearWeaponCargoclearMagazineCargoremoveAllItemsremoveBackpack

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Posted on October 14, 2014 - 09:13 (UTC)
Killzone Kid
removeAllWeapons doesn't quite work with vehicles. If you need to remove all weapons from a vehicle, remove each weapon individually: {tank removeWeapon _x} forEach weapons tank;
Advertisement