Home   Help Search Login Register  

Author Topic: SetAmmo  (Read 1025 times)

0 Members and 1 Guest are viewing this topic.

24Gamer

  • Guest
SetAmmo
« on: 04 Jul 2004, 20:24:49 »
Hi i was wondering if anyone knew if or how to set the amount of ammo of a vehicle, like in editor. i.e. i want to make the OH58 have 5 FFAR's instead of 14 (using scripts).

Acid

  • Guest
Re:SetAmmo
« Reply #1 on: 05 Jul 2004, 10:01:10 »
You can't. The only way you can set the amount of ammo a unit has is by using the Ammo slider in the units properties, but that sets the initial amount of ammo for the unit. You can't change it later in the game like you can change the amount of fuel a unit has. I seriously think BIS should add a setAmmo command into the next patch for OFP.

24Gamer

  • Guest
Re:SetAmmo
« Reply #2 on: 05 Jul 2004, 15:09:07 »
damn that sucks, cuz im trying to set the amount of ammo after a createvehicle :(

anyway to add the ammo manually? like one FFAR at a time?
« Last Edit: 05 Jul 2004, 15:11:51 by 24Gamer »

24Gamer

  • Guest
Re:SetAmmo
« Reply #3 on: 05 Jul 2004, 15:20:43 »
i suppose you could create lots of them off the map and then use setpos, but they could always run out and it might cause some slow down.

AnarCHy

  • Guest
Re:SetAmmo
« Reply #4 on: 05 Jul 2004, 15:22:10 »
@ post above mine

......yes......

just say - this addmagazine "FFAR" - but you would have to check the real ammo name for FFAR's or it won't work.

24Gamer

  • Guest
Re:SetAmmo
« Reply #5 on: 05 Jul 2004, 18:26:27 »
Temp addmagazine "ZuniLauncherOH" (Temp = OH58)
this commands adds the FFAR's to the OH58 but it adds all of the FFAR's :(

24Gamer

  • Guest
Re:SetAmmo
« Reply #6 on: 05 Jul 2004, 18:28:16 »
anyway to create a vehicle without ammo that can rearm
cuz if you use the command Temp removemagazine "Zuni-etc." it wont let me rearm :-/

24Gamer

  • Guest
Re:SetAmmo
« Reply #7 on: 05 Jul 2004, 18:29:17 »
i cant believe i can only create a vehicle will full ammo or without a weapon  >:(

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:SetAmmo
« Reply #8 on: 05 Jul 2004, 18:45:50 »
Create it in the mission editor with the amount of ammo you want.   Place it on an outlying island and setPos it in at the appropriate moment.

OFP is an idiosyncratic mistress.    The solution to this is simple:   all you have to do is buy BIS and direct the staff to stop working on OFP2 and work solely on rationalising the scripting language of OFP1.     :P
Plenty of reviewed ArmA missions for you to play

24Gamer

  • Guest
Re:SetAmmo
« Reply #9 on: 05 Jul 2004, 19:33:53 »
LMAO  :D

i think BIS i spending more time on OFP for Xbox :(
« Last Edit: 05 Jul 2004, 19:34:26 by 24Gamer »