This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:setunitspecialtarget [2021/02/14 23:08] – created virgilw | 4rpl:commands:setunitspecialtarget [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Description ===== | ===== 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 ' | + | Sets an V4 representing the current special target status of the unit. The V4 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 | ||
+ | targetVal.1 : Missiles will target \\ | ||
+ | targetVal.2 : Custom0 | ||
+ | targetVal.3 : Custom1 will target \\ | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
- | SetUnitSpecialTarget(self | + | SetUnitSpecialTarget(self |
</ | </ | ||
< | < |