Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
Arma2 - Editing/Scripting General
(Moderators:
h-
,
i0n0s
) »
limited vehicle ammo
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: limited vehicle ammo (Read 2334 times)
0 Members and 3 Guests are viewing this topic.
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
Logged
"HOLY SARDINE"
- see Shark-Attack meet his match
nominesine
Former Staff
I'm NOT back!
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
removeMagazine
s
Turret
instead
Logged
OFPEC | Intel Depot
RETARDED
Ooops... Retired!
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.
Logged
"When 900 years
YOU
reach, look as good you will not!"
sharkattack
Former Staff
Re: limited vehicle ammo
«
Reply #3 on:
26 Jul 2010, 21:31:50 »
thanks lads .. nice one
Logged
"HOLY SARDINE"
- see Shark-Attack meet his match
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
Arma2 - Editing/Scripting General
(Moderators:
h-
,
i0n0s
) »
limited vehicle ammo
Top of page