~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:GetUnitMaxAmmo|Get]] * [[4rpl:commands:SetUnitMaxAmmo|Set]] ====== SetUnitMaxAmmo ====== SetUnitMaxAmmo(<-unit <-amt) ===== Description ===== Sets the max ammo of the unit. A value of 1 is is how much a packet normally carries. If ammo is higher than max ammo, then the ammo will be lowered to the value max ammo is set to. ===== Examples ===== SetUnitMaxAmmo(self 20) <=[[4rpl:start| Index]]