This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
prpl:getnearesttarget [2017/07/22 00:41] – content, incomplete GoodMorning | prpl:getnearesttarget [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | X Y Range Enemy Untargeted NotNormal NotVirtual | + | | X Y Range Enemy Untargeted NotNormal NotVirtual |
=== Description === | === Description === | ||
- | Finds the nearest target to the specified cell. If no target is found within Range cells, returns -1. If Enemy is true, returns something red, else something blue. If Untargeted is true, does not target something that a built-in unit is shooting at. If NotNormal is true, does not return ordinary particles. If NotVirtual is true, doesn' | + | Finds the nearest target to the specified cell. If no target is found within Range cells, returns -1. If Enemy is true, returns something red, else something blue. If Untargeted is true, does not target something that a built-in unit is shooting at. If NotNormal is true, does not return ordinary particles. If NotVirtual is true, doesn' |
Returned target will be a PID. | Returned target will be a PID. |