WorldClass.server_onCellCreated

Called when a world cell is loaded and feature complete for the first time.

Kind: Callback

Environments: Game

Game

Callback side: Server

WorldClass:server_onCellCreated( x, y )

Open the full Game reference

Note: Interactables created by terrain scripts should be processed here using sm.cell.getInteractablesByTag and sm.cell.getInteractablesByUuid. They are only accessable for 1 tick after being created.

Parameters:

Name Type Description
self table The class instance.
x integer Cell x position.
y integer Cell y position.