User Tools

Site Tools


4rpl:commands:setunitmaxammo

This is an old revision of the document!


Index

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)

Index

4rpl/commands/setunitmaxammo.1611517114.txt.gz · Last modified: 2025/02/14 14:56 (external edit)