User Tools

Site Tools


add_tile

This is an old revision of the document!


Add Tile


Adds a tile at the specified coordinate within the map (if a tile does not already exist at that coordinate). The entity ID is optional and will be assigned to the new tile if supplied.

add_tile(model_name, coordinate, entity_id)
ArgumentDescriptionTypeRequired
model_nameModel to use for the new tile.StringYes
coordinatePosition of the new tile.CoordinateYes
entity_idUnique entity ID to assign to the new tile.StringNo
add_tile.1501396035.txt.gz · Last modified: 2017/07/29 23:27 by justin