— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Instantly positions an object or character onto the specified tile.
put_entity(entity_id, tile_id)
Argument | Description | Type | Required |
---|---|---|---|
entity_id | ID of the entity to reposition. | String | Yes |
tile_id | ID of the destination tile. | String | Yes |
If you are changing the player's position, you can alternatively use the more convenient Put Player function which also lets you specify the player's direction.
put_entity("slippery_chest", "chest_destination")
Results: The entity with an ID of “slippery_chest” is immediately moved to the tile with an ID of “chest_destination”.
Use the Put Entity function to …