@tplocal (API 2.9.20) limits "local" teleports, i.e. teleports whose destination is in the same region as the avatar. A teleport farther than the limit is refused. If several objects set @tplocal, the smallest distance applies.
@tplocal=<n|y>
@tplocal:<max_distance>=<n|y>
atof.@tplocal=n does. The code uses the same minimum calculation as @sittp/@fartouch, so with no option the limit is 1.5 m, which in practice blocks local teleports almost completely.@tplocal (plain form only) is lifted for its own @tpto.@tplocal:10=y.llOwnerSay("@tplocal:10=n"); // can only hop up to 10 m within the region
mTplocalMax = getMin("tplocal", EXTREMUM) (RRInterface.cpp:6911-6929; empty option = 1.5 at 974-1006).doTeleportViaLocation (llagent.cpp:4885-4895) and in doTeleportViaLocationLookAt (llagent.cpp:4980-4992), comparing region handles and the straight-line distance from the agent. In the look-at path the check sits inside the "not snapping back" block, so the @standtp return is exempt.tplocal=n (llstartup.cpp:1905-1920).@tplocal only in teleportViaLocationLookAt (llagent.cpp:6745-6760), which is used for double-click teleports and for @tpto with a look-at. Map and SLURL teleports to a spot in the same region (teleportViaLocation) aren't limited by @tplocal in CoolVL.This command works differently from RLVa's @tplocal; see the comparison.