OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Hit_Sqd_Maximus on 05 Jan 2003, 23:49:10

Title: Vehicle load limit?
Post by: Hit_Sqd_Maximus on 05 Jan 2003, 23:49:10
Is it possible to make a script were if each vehicle is full with the max amount of ammo/weapons that it can carry then you will get a message that says the vehicle is full? It is anoying to try to fill one up and then when you take a rocket launcher out ammo spills all over the place.
Title: Re:Vehicle load limit?
Post by: Tomb on 06 Jan 2003, 19:13:14
well, I've actually never ever tried 2 put a full load of ammo to a vehicle,
but ya can use the:

 ClearMagazineCargo This

 -spell in the INIT field of a vehicle to empty the cargo,
and then simply add whatever stuff needed.  :)

would that do?