OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: che__guevara on 07 Jun 2005, 14:56:03

Title: get a pistol in truck
Post by: che__guevara on 07 Jun 2005, 14:56:03
i need to get a east hand gun in a truck
does anybody knows the name i have to use in the innit field of the truck.
thnx
Title: Re:get a pistol in truck
Post by: bedges on 07 Jun 2005, 15:09:28
see attached, then use this (http://www.ofpec.com/editors/comref.php?letter=A#addWeaponCargo). ;)
Title: Re:get a pistol in truck
Post by: RujiK on 07 Jun 2005, 17:29:04
Thats for transfering weapons from mission to mission in the campaign. I would just try

car_name addweaponcargo ["Glock",1];
car_name addmagazinecargo ["Glockmag",5]
Title: Re:get a pistol in truck
Post by: 456820 on 07 Jun 2005, 18:08:22
youve given him basically exactly what bedges did, and Bedages thing isnt talking about transfering weapons in a campaign thats a weapon pool
Title: Re:get a pistol in truck
Post by: Gogs on 07 Jun 2005, 18:24:58
The confusion I think arises from the fact that if you click Bedges' link, you get addweaponcargo at the top, but addWeaponPool centre screen. What you typed RujiK ought to work fine. :)
Title: Re:get a pistol in truck
Post by: che__guevara on 07 Jun 2005, 20:11:04
thanx to all, i just couldnt find the name of the pistol anywhere
Title: Re:get a pistol in truck
Post by: RujiK on 08 Jun 2005, 17:48:45
The confusion I think arises from the fact that if you click Bedges' link, you get addweaponcargo at the top, but addWeaponPool centre screen. What you typed RujiK ought to work fine. :)

Oh... oops. Ok sorry bedges was correct, I miss interpereted the link.
Title: Re:get a pistol in truck
Post by: The-Architect on 08 Jun 2005, 18:34:21
Here,

http://www.ofpec.com/editors/resource_view.php?id=499

Look next time.  ;D