Home   Help Search Login Register  

Author Topic: Take magazine take weapon question  (Read 1088 times)

0 Members and 1 Guest are viewing this topic.

Devil Dog

  • Guest
Take magazine take weapon question
« on: 30 Jan 2003, 20:29:24 »
  I don't remember how to do this.
Unitname action ["Take magazine", sourcename,0,0, magazinetype
Now what is the source name and what are the numbers for please a actual weapon as example.
Also what is the action command for take weapon also.

 thanx in advance, John ???

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Take magazine take weapon question
« Reply #1 on: 31 Jan 2003, 20:56:46 »
well, I've used a "drop weapon" spell - but I dunno of any "take weapon" command.
you tell me, m8 (when the rep's comes flooding in)  :o


 :) UnitName Action ["Drop Weapon",unit,0,0,"weapon"]

Back in the old days, some of us used to use these spells to simulate the action :

Tomb Action ["REARM", NameOfCrate]; Tomb AddMagazine "m16"; Tomb AddWeapon "M16"; etc.  :P

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Take magazine take weapon question
« Reply #2 on: 01 Feb 2003, 12:22:53 »
The syntax for take weapon/magazine:

soldiername action ["Take Weapon",weaponsource,0,0,"weapon"]
  • weaponsource - The name what has the weapon... eg. an ammo crate, vehicle or the name of a dead body ;)
  • weapon - The name of the weapon type you want the soldier to take... eg. "m16", "FAL" etc. You can find a weapon and ammo list in the Editor's Depot.
Take Magazine has exactly the same syntax as takeweapon... you'll just need to replace the weapon type with magazine type ;)

Happy Editing