[0.18.2] (Minor Bug) Triggeraction:: create-entity + offsets = delayed
Posted: Sat Feb 01, 2020 5:28 pm
when i create the offsets by using a shift in the sprite, everything is synced.
But when i do it by declaring offsets in the create-entity trigger action, often something will be delayed by 1 tick.
mod is too big to attach
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...
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...