Looner 0 Posted January 25, 2003 Im making a huge map on nogova with lots of tanks and stuff like that. now what i would like to know is there an unlimited ammo script for support ammo trucks so that i dont have to put loads of those things in the map. Share this post Link to post Share on other sites
InqWiper 0 Posted January 25, 2003 So im guessing you want the trucks to be able to rearm tanks an unlimited amout of times. this is taken from the official comref wich is great: vehicle setAmmoCargo ammoCargo Operand types:   vehicle: Object   ammoCargo: Number Type of returned value:   Nothing Description:   Set ammount or ammo resources in cargo space of repair vehicle. Ammo resource are used to resupply vehicles. Soldiers use individual magazines instead. Ammount one is full cargo. Example:   rearmTruckOne setAmmoCargo 0 so: #Loop ~1 rearmTruckOne setAmmoCargo 1 goto "Loop" or if you want them to have weapons that soldiers can take you can use something like this #Loop ~1 clearweaponcargo rearmTruckOne clearmagazinecargo rearmTruckOne rearmTruckOne addmagazinecargo ["M16",20] rearmTruckOne addmagazinecargo ["M21",20] rearmTruckOne addmagazinecargo ["M60",20] rearmTruckOne addmagazinecargo ["LAW",20] rearmTruckOne addweaponcargo ["M16",5] rearmTruckOne addweaponcargo ["M21",5] rearmTruckOne addweaponcargo ["M60",5] rearmTruckOne addweaponcargo ["LAW",5] goto "Loop" or something like that. Share this post Link to post Share on other sites
Looner 0 Posted January 25, 2003 that belongs in discription.ext right Share this post Link to post Share on other sites