Jump to content

Recommended Posts

Hi,

Is there a way to add a counter for snowballs that spawn from ice flingomatic to destroy after X seconds? I need this as a fail-safe solution to the situation, when snowballs don't get destroyed when reaching their targets; they just go in the straight line forever.

Ok. So I tried adding this:

projectile:DoTaskInTime(5,projectile:Remove())

to the firesuppressor.lua as a last line of the LaunchProjectile function. Now, when I turn on Ice Flingomatic it tries to shoot snowballs but ultimately it does't (like it's shooting invisible snowballs). I guess they get destroyed. I also tried with value 50 as delay but no luck. Anybody knows what might be the problem?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...