World.reloadCell

Reload a cell. Callback result values: 0 means cell isnt active and wont be reloaded, 1 means success

Kind: Function

Environments: Game

Game

world:reloadCell( x, y, callback, ref, params )

Open the full Game reference

Parameters:

Name Type Description
world World The world.
x integer Cell X position.
y integer Cell Y Position.
callback (optional) string Lua function to call when cell is reloaded. Callback parameters are ( world, x, y, result ) (Optional)
ref (optional) ref Script ref to callback object. (Optional)
params (optional) any Parameter passed to the callback. (Optional)