This is an old revision of the document!
⇐ Index
Available in version 1.3 and later.
SetUnitSpecialTarget(<-unit <-specialTargetVal)
Sets an int representing the current special target status of the unit. A value of 0 means the unit is not a target for things that target 'special' units. A value of 1 means that snipers will target the unit. A value of 2 means that missile launchers will target the unit. Values of 3 and 4 are for custom unit use. Values of 5 and higher are not supported and will have no effect.
SetUnitSpecialTarget(self 3)
⇐ Index