This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:docs:setunitattribute [2013/01/14 19:00] – created chani | crpl:docs:setunitattribute [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO | + | |
| + | <- [[crpl: | ||
| + | ===== 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: | ||
| + | |||
| + | === Examples === | ||
| + | < | ||
| + | # Set the max AC ammo of the current unit. | ||
| + | Self CONST_MAXAMMOAC 10 SetUnitAttribute | ||
| + | </ | ||