This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ixe:irpl:creeper:getnearestcreeper [2025/01/16 18:36] – Tag cnversion Karsten75 | ixe:irpl:creeper:getnearestcreeper [2025/04/19 23:44] (current) – Fix typo Up-Level | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Description ===== | ===== Description ===== | ||
- | Returns a vector world position for the creeper nearest the specified part. Returns -1,-1 if there creeper. | + | Returns a vector world position for the creeper nearest the specified part. Returns -1,-1 if there is no creeper |
If isAC is true, then AC is checked for. Otherwise, creeper is checked for. The range that is used for the check is determined by the LOS range of the part. | If isAC is true, then AC is checked for. Otherwise, creeper is checked for. The range that is used for the check is determined by the LOS range of the part. | ||
The LOS range defaults to 34 but can be changed with the SetLOSRange call. | The LOS range defaults to 34 but can be changed with the SetLOSRange call. |