This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
4rpl:commands:nearestspecialtarget [2021/02/15 18:15] – virgilw | 4rpl:commands:nearestspecialtarget [2023/09/24 12:42] – LOS mention Vertu | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Description ===== | ===== Description ===== | ||
Finds the nearest unit that is tagged as a special target within range (a float) from worldPosition (a vector3). The ' | Finds the nearest unit that is tagged as a special target within range (a float) from worldPosition (a vector3). The ' | ||
+ | |||
+ | If no unit matching the special target parameter is found, -1 is returned. | ||
+ | |||
+ | :NOTE: For clarification: | ||
| | ||
===== Examples ===== | ===== Examples ===== |