User Tools

Site Tools


put_player

This is an old revision of the document!


Put Player


Instantly positions the player onto the specified tile.

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.1497996176.txt.gz · Last modified: 2017/06/20 15:02 by justin