This is an old revision of the document!
⇐ Index
Available in version 1.3 and later.
GetUnitSpecialTarget({-unit) ->specialTargetVal
Gets a V4 representing the current special target status of the unit. The V4 that is returned tells which target types the unit is tagged as. A value of 0 or 1 will be in each field of the V4. A value of 1 in a field means the unit is targeted by that type of weapon.
targetVal.0 : Snipers will target
targetVal.1 : Missiles will target
targetVal.2 : Custom0 will target
targetVal.3 : Custom1 will target
traceAllSP(GetUnitSpecialTarget(self))
⇐ Index