9 November 2016
4 November 2015
deanimate
optional parameter that stops all animations before the command executes.10 October 2015
turnto
parameter.2 October 2015
fly
parameter.teleport (Commands) | |
---|---|
Type | Corrade progressive command |
Command | teleport |
Description | The teleport command makes Corrade teleport to a set of global coordinates, a region by name or to a landmark asset UUID. |
Permissions | movement |
Parameters | group , password , entity |
Last Changes | Release 9.143 - Added support for teleporting to grid coordinates and landmarks. |
The teleport
command makes Corrade teleport to a set of global coordinates, a region by name or to a landmark asset UUID. Note that teleports are subject to region teleport routing such that Corrade may not arrive at the specified position on the destination region.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
teleport | group , password , entity | movement | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "teleport", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // teleport to region by name "entity", "region", // teleports to the current region // that the script is in "region", wasURLEscape(llGetRegionName()), "position", wasURLEscape("<128, 128, 10>"), // turns off flight after teleport "fly", "False" ] ) ); |
Parameter | Possible Value | Required Parameter | Possible Value | Description |
---|---|---|---|---|
entity | region | region | A region name. | Attempt to teleport Corrade to region by name. |
turnto | An LSL Vector3 representing the direction to turn to after teleporting. | |||
position | An LSL Vector3 representing the direction to turn to after teleporting. | |||
global | position | An LSL Vector3 representing a global position. | Attempt to teleport to the specified global coordinates. | |
turnto | An LSL Vector3 representing the direction to turn to after teleporting. | |||
landmark | item | An asset UUID of a landmark or the path to a landmark. | Attempt to teleport to the landmark. |
Optional Parameters | Possible Value | Description |
---|---|---|
fly | True or False | Setting this parameter to True will make Corrade fly when reaching the destination. This is useful for teleporting to high altitudes without having Corrade tumble down. |
deanimate | True or False | Stop all non-Linden animations before executing the command. |