User Tools

Site Tools


put_player

Put Player


Instantly positions the player character onto the specified tile.

Signature:

put_player(tile, direction)
ArgumentDescriptionTypeRequired
tileTarget tile onto which the entity will be placed.Entity, CoordinateYes
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: 2021/10/30 20:18 by justin