4rpl:commands:setunitspecialtarget

This is an old revision of the document!


Index

:!: Available in version 1.3 and later.

SetUnitSpecialTarget

SetUnitSpecialTarget(<-unit <-specialTargetVal)

Description

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.

Examples

SetUnitSpecialTarget(self 3)

Index

4rpl/commands/setunitspecialtarget.1613344083.txt.gz · Last modified: 2025/02/14 14:56 (external edit)