But when i do it by declaring offsets in the create-entity trigger action, often something will be delayed by 1 tick.
Code: Select all
source_effects =
{
...
{
type = "create-entity",
entity_name = "MCRR-uranium-explosion-LUQ"..size_suffix,
trigger_created_entity = "true",
offsets = {{-16*scale, -16*scale}},
check_buildability = false
},
{
type = "create-entity",
entity_name = "MCRR-uranium-explosion-RUQ"..size_suffix,
offsets = {{16*scale, -16*scale}},
check_buildability = false
},
{
type = "create-entity",
entity_name = "MCRR-uranium-explosion-LLQ"..size_suffix,
offsets = {{-16*scale, 16*scale}},
check_buildability = false
},
{
type = "create-entity",
entity_name = "MCRR-uranium-explosion-RLQ"..size_suffix,
offsets = {{16*scale, 16*scale}},
check_buildability = false
},
i ended up doing it different since posila (edit: and bilka) explained to me that the rendering distance is affected by collision box, so it's no big deal...