Page 1 of 1

delayed effect

Posted: Sat May 20, 2017 7:59 pm
by Ranakastrasz
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.

Re: delayed effect

Posted: Sun May 21, 2017 7:35 pm
by Sigor
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.

Re: delayed effect

Posted: Sun May 21, 2017 8:23 pm
by Klonan
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.
Try using 'warmup' instead of 'cooldown',
I'm nto sure if it works for all trigger actions (its used in spitters if you want an example)

Re: delayed effect

Posted: Sun May 21, 2017 8:35 pm
by Ranakastrasz
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.