This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| 4rpl:commands:specialtargets [2024/01/13 04:22] – [Description] Forward note for spores, blobs, etc. 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 ' | ||
| - | |||
| - | :NOTE: For clarification: | ||
| - | :WARNING: Spores, Blobs, etc, aren't special targets and will not be detected. | ||
| - |              | ||
| - | ===== Examples ===== | ||
| - | <code 4rpl> | ||
| - | GetSpecialTargets(V4(1 1 0 0) GetUnitPosition(self) GetUnitRange(self) false) ->units | ||
| - | </ | ||
| - | |||
| - | < | ||