User Tools

Site Tools


crpl:docs:setunitattribute

<- CRPL reference <- 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 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
crpl/docs/setunitattribute.txt · Last modified: 2021/02/05 11:43 by Karsten75