Remove gear from Ruck or Weapon on Back.
_unit | Unit owning the gear. [Object] |
_type | Type to remove [String] |
”WEP” | Remove all Weapons from Ruck {_class,_count can be specified} |
”MAG” | Remove all Magazines from Ruck {_class,_count can be specified} |
”BTH” | Remove everything from Ruck |
”WOB” | Remove Weapon on Back |
”ALL” | Remove WOB and everything from Ruck |
_class | Specific class to remove (Optional) [String] |
_count | Amount to remove, defaults to >> 1 <<, >> -1 << for all (Optional) [Number] Returns: |
BOOL | Successfully removed or not |
[player, "BTH"] call ACE_fnc_RemoveGear;
[player, "MAG", "ACE_5Rnd_762x51_T_M24"] call ACE_fnc_RemoveGear;
[player, "WEP", "ACE_M4A1_ACOG", -1] call ACE_fnc_RemoveGear;
tcp, © 2010