ScriptRenderTargetTable :: table changed
Table fields
| type | :: "entity" or "position" or "cursor" or "build-cursor"? | Defaults to |
Defaults to | ||
| entity | :: LuaEntity? | Only used, and mandatory if |
Only used, and mandatory if | ||
| offset | :: Vector? | Only used if |
Only used if | ||
| position | :: MapPosition? | Only used, and mandatory if |
Only used, and mandatory if | ||
Examples
{type = "entity", entity = some_lua_entity, offset = {-0.5, 1}}
{entity = some_lua_entity, offset = {-0.5, 1}} -- same target as previous example
{type = "position", position = {2.5, 3}}
{position = {2.5, 3}} -- same target as previous example
{type = "cursor", offset = {6, 7}}
{type = "build-cursor", offset = {3.2, -4.5}}

