Show raw api
{
"functions": [
{
"name": "wait_pos",
"desc": "Waits until the entity is at the given position",
"params": [
{
"name": "entity",
"desc": "",
"lua_type": "EntityRef"
},
{
"name": "x",
"desc": "horizontal coordinate",
"lua_type": "number"
},
{
"name": "y",
"desc": "vertical coordinate",
"lua_type": "number"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 12,
"path": "../../res/data/script/lib/util/scene.lua"
}
},
{
"name": "wait_rect",
"desc": "Waits until the entity is in the given rectangle",
"params": [
{
"name": "entity",
"desc": "",
"lua_type": "EntityRef"
},
{
"name": "x1",
"desc": "horizontal minimum",
"lua_type": "number"
},
{
"name": "y1",
"desc": "vertical minimum",
"lua_type": "number"
},
{
"name": "x2",
"desc": "horizontal maximum",
"lua_type": "number"
},
{
"name": "y2",
"desc": "vertical maximum",
"lua_type": "number"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 26,
"path": "../../res/data/script/lib/util/scene.lua"
}
},
{
"name": "waitEntityPos",
"desc": "Waits until the entity is at the given position\nUses the old entity API. Avoid.",
"params": [
{
"name": "entity",
"desc": "entity index",
"lua_type": "number"
},
{
"name": "posX",
"desc": "horizontal coordinate",
"lua_type": "number"
},
{
"name": "posY",
"desc": "vertical coordinate",
"lua_type": "number"
}
],
"returns": [],
"function_type": "static",
"tags": [
"deprecated"
],
"source": {
"line": 49,
"path": "../../res/data/script/lib/util/scene.lua"
}
},
{
"name": "waitEntityRect",
"desc": "Waits until the entity is in the given rectangle\nUses the old entity API. Avoid.",
"params": [
{
"name": "entity",
"desc": "entity index",
"lua_type": "number"
},
{
"name": "x1",
"desc": "horizontal minimum",
"lua_type": "number"
},
{
"name": "y1",
"desc": "vertical minimum",
"lua_type": "number"
},
{
"name": "x2",
"desc": "horizontal maximum",
"lua_type": "number"
},
{
"name": "y2",
"desc": "vertical maximum",
"lua_type": "number"
}
],
"returns": [],
"function_type": "static",
"tags": [
"deprecated"
],
"source": {
"line": 65,
"path": "../../res/data/script/lib/util/scene.lua"
}
}
],
"properties": [],
"types": [],
"name": "Scene",
"desc": "",
"source": {
"line": 4,
"path": "../../res/data/script/lib/util/scene.lua"
}
}