This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 4rpl:commands:specialtargets [2023/09/24 16:02] – Accidentally placed GetNearSpecialTarget note here. Vertu | 4rpl:commands:specialtargets [2024/03/31 02:53] (current) – removed karsten75 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | ||
| - | < | ||
| - | :!: Available in version 1.3 and later. | ||
| - | ====== GetSpecialTargets====== | ||
| - | GetSpecialTargets(< | ||
| - | |||
| - | ===== Description ===== | ||
| - | Finds the units that are tagged as a special target within range (a float) from worldPosition (a vector3). The ' | ||
| - |              | ||
| - | ===== Examples ===== | ||
| - | <code 4rpl> | ||
| - | GetSpecialTargets(V4(1 1 0 0) GetUnitPosition(self) GetUnitRange(self) false) ->units | ||
| - | </ | ||
| - | |||
| - | < | ||