Home   Help Search Login Register  

Author Topic: removing magazines and grenades  (Read 451 times)

0 Members and 1 Guest are viewing this topic.

wiggum

  • Guest
removing magazines and grenades
« on: 20 May 2004, 14:20:17 »
hiya everybody, i just wanna know how to remove magazines and grenades cause when ever i type "this removeweapon "handgrenade"" i still have the same amount. same is true for the magazines.

PsyWarrior

  • Guest
Re:removing magazines and grenades
« Reply #1 on: 20 May 2004, 14:28:05 »
Greetings,

Firstly, Hand Grenades are classed as magazines. So you'll need to use
this removeMagazine "handGrenade"

But magazines should work, if you're using the removeMagazine command. The correct command to remove a M16 magazine is
this removeMagazine "M16"

You can remove all magazines of a certain type by using
this removeMagazines "M16"

The above is untried, but it should work. No guarantees, though...

-Supreme Commander PsyWarrior
-Psychic Productions Studios
« Last Edit: 20 May 2004, 20:26:03 by PsyWarrior »

j-man

  • Guest
Re:removing magazines and grenades
« Reply #2 on: 20 May 2004, 19:50:49 »
I always get the exact same problem as wiggum. My solution is defintley not the besst. But what i do is remove all the weapons from everyoneand then just give them back their weapons but no grenades :P. I'm sure someone will be able to find a better way of removing grenades than my way.

Dubieman

  • Guest
Re:removing magazines and grenades
« Reply #3 on: 20 May 2004, 20:54:57 »
this removemagazines "M16"
Hope that works, its a real pain doing

this removemagazine "M16";this removemagazine "M16";this removemagazine "M16";this removemagazine "M16";this removemagazine "M16";this removemagazine "M16";

in the init field. :(


Thanks for the info. ;)


Rokket

  • Guest
Re:removing magazines and grenades
« Reply #4 on: 23 May 2004, 02:20:51 »
I don't know if it's just me, but I get a weird bug with removeweapons: I can't use "this", I HAVE to use the unitname. "this" works for eveything else tho...

Dubieman

  • Guest
Re:removing magazines and grenades
« Reply #5 on: 23 May 2004, 04:05:36 »
Well depends what you put it in...
That will work in init field, not in waypoint or triggers.

this removeallweapons always works
this removeweapon "AK74"  works

I never seem to have any problems. There was one time when I first got the game and something like
removeallweapons this  gave me trouble. Not sure what that problem was. :-\