Is there any way via pure data to delay an effect like an explosion? I wanted to make a nuclear bomb type thing.
Tried a chain using poison cloud-base, but that throws the effect on the first tick, instead of after the cooldown, so that didn't work.
delayed effect
- Ranakastrasz
- Smart Inserter
- Posts: 2175
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
delayed effect
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: delayed effect
Try using a lua function, the busy wait solution.
http://lua-users.org/wiki/SleepFunction
I have no idea if it's correct, but try it.
http://lua-users.org/wiki/SleepFunction
I have no idea if it's correct, but try it.
Re: delayed effect
Try using 'warmup' instead of 'cooldown',Ranakastrasz wrote:Is there any way via pure data to delay an effect like an explosion? I wanted to make a nuclear bomb type thing.
Tried a chain using poison cloud-base, but that throws the effect on the first tick, instead of after the cooldown, so that didn't work.
I'm nto sure if it works for all trigger actions (its used in spitters if you want an example)
- Ranakastrasz
- Smart Inserter
- Posts: 2175
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: delayed effect
That is interesting. Unfortunately I don't think you can chain projectile creation like that. Still worth a shot....
I wish I could create it like a robot capsule, and use the on-death, but there isn't anything on how the robot limit works.
No luck. that seems to be only functional on Ammunition items.
I wish I could create it like a robot capsule, and use the on-death, but there isn't anything on how the robot limit works.
No luck. that seems to be only functional on Ammunition items.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16