User Tools

Site Tools


put_player

Put Player


Instantly positions the player character 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 character is immediately repositioned onto the tile with an ID of “tile_portal02”.

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


Editor Node:

Visual Demo:

put_player.txt · Last modified: 2020/07/23 09:23 by justin