FutureProg functions
teleport
Overload 1
teleport overload 1
Boolean teleport(Character Character, Location Destination)
Available in
- computer function
- computer program
- standard futureprog
Teleports a character to the ground level (or closest layer) in a new room. Returns false if the teleportation fails (if invalid character, room, or layer is specified).
| Parameter | Type | Description |
|---|---|---|
Character |
Character |
The character who you want to teleport |
Destination |
Location |
The destination room to teleport them to |
Overload 2
teleport overload 2
Boolean teleport(Character Character, Location Destination, Text Layer)
Available in
- computer function
- computer program
- standard futureprog
Teleports a character to the specified layer in a new room. Returns false if the teleportation fails (if invalid character, room, or layer is specified).
| Parameter | Type | Description |
|---|---|---|
Character |
Character |
The character who you want to teleport |
Destination |
Location |
The destination room to teleport them to |
Layer |
Text |
The room layer to teleport to |