Sometimes Fire Behavior doesn't create the object I'm trying to shoot

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

Make it so when the devil is bubbled it shoots a fireball

What is the actual result

Sometimes it deletes the DevilBubble object and doesnt shoot the fireball

Related screenshots

Perhaps check the tween. There might be a setting to delete object if tween is finished. If so, try switching that to “no”.

Also, unless I’m mistaken, the tween should probably be executed just once rather than calling it every frame. In this case maybe right after the devilbubble object has been created.

1 - Did you create point called Center?
2 - Did you create point with no name?

Even if these points are not present, it will still work.

im not seeing any settings options here for the tween, but i want the DevilBubbled object to follow the player around until they decide to use it. Will that still happen if it’s only executed once?

it works as intended if you wait a while after the DevilBubble object is created but sometimes if you try to shoot the fireball too close to when the Devil was bubbled the DevilBubble object is deleted but the fireball doesn’t shoot

Just cause you don’t see issue does not mean its working as intended

For example you are not playing your tween
You are spamming it
Tweens should not run each frame
You should lerp() in change position actions instead of tween
Or maybe just add force
I am not sure what you are doing

And i think you have there many devils and devil bubbles or regular bubbles
And that is your issue
I mean you should use repeat for each object event

I was referring to this (see attached image).

It may or may not be it though. And there are probably other things that are causing your issues. So yeah, maybe might as well try the others’ suggestions. Good luck.

Technically your tween never finish cause you are spamming it