Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Ammo vehicles
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Ammo vehicles (Read 684 times)
0 Members and 1 Guest are viewing this topic.
screamingeagle_101
Guest
Ammo vehicles
«
on:
13 Dec 2002, 17:53:04 »
How do you add weapons and magazines to vehicles, so the player or unit could rearm at the vehicle.
Logged
Sentinel
Contributing Member
World is tough and I'm tougher!!
Re:Ammo vehicles
«
Reply #1 on:
13 Dec 2002, 18:11:54 »
VehicleName
addweaponcargo [
WeaponName
,
Amount
]
VehicleName is the name of the vehicle (this fits too)
WeaponName is name of the weapon in quotes eg. "m16" or "svddragunov"
Amount is how many you want to put in vehicle of you wanted objects.
For magazines change addweaponcargo to addmagazinecargo. Use same commands than in addweaponcargo.
Sometimes magazine name differs from weapon name eg "tokarev" and "tokarevmag". Try adding mag in the end.
Logged
screamingeagle_101
Guest
Re:Ammo vehicles
«
Reply #2 on:
15 Dec 2002, 22:57:49 »
I've tried doing thay but it doesn't work. It says "missing )"
How do you write it properly?
Is it someting like
this addweaponcargo "M16","3"
Logged
Mr.BoDean
Guest
Re:Ammo vehicles
«
Reply #3 on:
16 Dec 2002, 09:08:00 »
Hey,Man ...this works for me ...(I have ver. 1.46)
this addmagazinecargo ["Mortar", 6]; this addweaponcargo ["M21", 1]
Be sure to use a semi-colon to separate items!
Yeah .... Newbies helpin' newbies!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Ammo vehicles
Top of page