global.teleport2nearest
commandserver
Teleport to the current closest entity matching the first argument name. Add second int argument to teleport to the nth closest entity (teleport2nearest horse 2 will teleport to the 3rd closest horse)
Quick info
- Runs on
- server
- Class
- ConVar.Global
Example
global.teleport2nearestIn other branches
- aux02
- unchanged
- staging
- unchanged