<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] ===== SetUnitAttribute ===== ^ Arguments ^ Result ^ Notation ^ |Unit UID, Attribute Constant, Value| |%%i1 i2 n1 --%%| === Description === SetUnitAtrribute allows you to set various attributes on different units. See [[crpl:docs:getunitattribute#unit_constants|Unit Constants in GetUnitAttribute]] for a list of attribute commands. === Examples === # Set the max AC ammo of the current unit. Self CONST_MAXAMMOAC 10 SetUnitAttribute