User Tools

Site Tools


put_entity

This is an old revision of the document!


Put Entity


Instantly positions an object or character onto the specified tile.

put_entity(entity_id, tile_id)
ArgumentDescriptionTypeRequired
entity_idID of the entity to reposition.StringYes
tile_idID of the destination tile.StringYes

If you are changing the player's position, you can use the more convenient Put Player function which also lets you specify the player's direction.

Example:

put_entity("entity_id", "tile_id")

Results:

Use the Put Entity function to …


Editor Node:

Visual Demo:

put_entity.1493304680.txt.gz · Last modified: 2017/04/27 07:51 by justin