User Tools

Site Tools


ixe:irpl:creeper:getnearestcreeper

This is an old revision of the document!


GetNearestCreeper

GetNearestCreeper(<-partUID <-isAC)

Description

Returns a vector world position for the creeper nearest the specified part. Returns -1,-1 if there 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. The LOS range defaults to 34 but can be changed with the SetLOSRange call.

Examples

 
ixe/irpl/creeper/getnearestcreeper.1737052575.txt.gz · Last modified: 2025/02/14 14:56 (external edit)