<- CRPL reference <- Unit Commands
Arguments | Result | Notation |
---|---|---|
Unit UID, Attribute Constant, Value | i1 i2 n1 -- |
SetUnitAtrribute allows you to set various attributes on different units. See Unit Constants in GetUnitAttribute for a list of attribute commands.
# Set the max AC ammo of the current unit. Self CONST_MAXAMMOAC 10 SetUnitAttribute