User Tools

Site Tools


put_player

This is an old revision of the document!


Put Player


Instantly positions the player onto the specified tile.

Signature:

put_player(tile_id, direction)
ArgumentDescriptionTypeRequired
tile_idID of the destination tile.StringYes
directionCardinal direction for the player to face towards.Cardinal DirectionNo

Example:

put_player("tile_portal02", EAST)

Results: The player is immediately repositioned onto the tile with an ID of “tile_portal02”.

Use the Put Player function to instantly move the player to another location with the current map after interacting with a portal or teleportation device.


Editor Node:

Visual Demo:

put_player.1521218815.txt.gz · Last modified: 2018/03/16 09:46 by justin