Home   Help Search Login Register  

Author Topic: limited vehicle ammo  (Read 2438 times)

0 Members and 1 Guest are viewing this topic.

Offline sharkattack

  • Former Staff
  • ****
limited vehicle ammo
« on: 22 Jul 2010, 16:59:51 »
Hi lads
A real noob topic but this has me beaten, not sure how to use the  removeMagazinesTurret command and add a custom amount of ammo to vehicle. How can i limit the amount of MK19 shells in each SOV (OA)  to say 15 rounds only ?

best wishes  shark-attack


"HOLY SARDINE" - see Shark-Attack meet his match

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re: limited vehicle ammo
« Reply #1 on: 23 Jul 2010, 14:21:46 »
Code: [Select]
_mySOV removeMagazineTurret ["nameofammo",[*]]
* is an index of all turrets.
0 Main turret
1 Second turret
2 Et cetera

removeMagazineTurret removes one mag, if I remember correctly. To remove them all: Use removeMagazinesTurret instead
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: limited vehicle ammo
« Reply #2 on: 23 Jul 2010, 17:11:27 »
Crikey! New OA commands. I was just about to say "impossible!", but apparently not!

Now they need to implement "addweaponturret" and "removeweaponturret" and we're almost set. Sadly I doubt that's going to happen :(

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline sharkattack

  • Former Staff
  • ****
Re: limited vehicle ammo
« Reply #3 on: 26 Jul 2010, 21:31:50 »
thanks lads .. nice one

 :good:
"HOLY SARDINE" - see Shark-Attack meet his match