moveTo

Module: player_moveTo.lua

What it does

Instantly teleports the player to a random coordinate within a named Knox County location, or to a random point within a 100-tile radius of their current position ("nearby"). The module does nothing if the player is currently inside a vehicle.

Trigger type

moveTo

Parameters

ParameterTypeDefaultValid ValuesDescription
location string none (required) "MarchRidge", "Louisville", "Rosewood", "Muldraugh", "WestPoint", "Riverside", "Ekron", "FallasLake", "Brandenburg", "RosewoodPrison", "EchoCreek", "Irvington", "nearby" Named Knox County destination to teleport to. "nearby" picks a random point within 100 tiles of the current position.
If the player is inside a vehicle when the event fires, the teleport is silently skipped.

Examples

Teleport to a random spot in Louisville
{ type="moveTo", location="Louisville" }
Teleport to Rosewood Prison
{ type="moveTo", location="RosewoodPrison" }
Teleport within 100 tiles of current position
{ type="moveTo", location="nearby" }