Home   Help Search Login Register  

Author Topic: take weapon  (Read 1114 times)

0 Members and 1 Guest are viewing this topic.

Offline sharkattack

  • Former Staff
  • ****
take weapon
« on: 29 Dec 2008, 11:15:09 »
im  trying to have freed prisoners rearm themselves but  cant seem to find the correct command
in  ofp  is was something  along the lines of 
captive action ["Take Weapon",box,0,0,"AK47"]

is there a similar set up for arma ?

many thanks in advance   :)
"HOLY SARDINE" - see Shark-Attack meet his match

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: take weapon
« Reply #1 on: 29 Dec 2008, 12:55:48 »
Code: [Select]
unitname action ["TAKEWEAPON", (vehiclename or unitname or ammoboxname), "WEAPONNAME"]

Make sure you put the correct class of the weapon there.

Offline sharkattack

  • Former Staff
  • ****
Re: take weapon
« Reply #2 on: 29 Dec 2008, 13:15:51 »
thanks mate ..
works a treat    :)  (AK74)
"HOLY SARDINE" - see Shark-Attack meet his match