addAmmoType

addAmmoType <ammo type, int> <amount of ammo it has of that type, int (-1 mean infinite)> <amount per sec, int> <0>

Example:

ObjectTemplate.create SupplyDepot AlliedAirplaneSupplyDepot
ObjectTemplate.radius 20
ObjectTemplate.team 0
ObjectTemplate.setHealth 0 0 0
ObjectTemplate.addAmmoType 10 -1 100 0
ObjectTemplate.addAmmoType 9 -1 4 0
ObjectTemplate.addAmmoType 8 -1 100 0
ObjectTemplate.addAmmoType 7 -1 4 0
ObjectTemplate.workOnVehicles 1
ObjectTemplate.workOnSoldiers 0
ObjectTemplate.loadSoundScript ../../../Common/Sounds/SupplyDepot.ssc

Valid object types

SupplyDepot - Object used for repairing, healing, and rearming vehicles and soldiers.