OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: blekzebbed on 30 Jun 2006, 13:12:07

Title: Trucks that don't supply weapons
Post by: blekzebbed on 30 Jun 2006, 13:12:07
seems, I'm keeping you bizzy.
It occurs quite often that standing nearby a truck/armored vehicle gives you the upportunity to swap weapons, pick up handgrenades and stuff.  I'm making this sort of escape mission, and the meaning is to just get in the car without being able to pick up some stuff out of the car. So how can I stop a truck/armored vehicle having ammo in it for soldiers?
Thanks Blekzebbed ;D
Title: Re: Trucks that don't supply weapons
Post by: Artak on 30 Jun 2006, 13:28:04
Type in the vehicles init field:

clearweaponcargo this; clearmagazinecargo this


http://www.ofpec.com/COMREF/index.php?action=list&letter=c#clearMagazineCargo


Title: Re: Trucks that don't supply weapons
Post by: blekzebbed on 30 Jun 2006, 13:29:42
Thanks, I won't send in this simple questions anymore :-[