Object timer attached to firebullet is not running

How do I attach an Object timer to an object made using the fire bullet behaviour?

I’m trying to make a missile spawn and then use an object timer to make it go through a few phases (Ignition > Booster > Sustain > Failsafe deletion)

Instead I’m seeing it spawn, with the applied speed and angle, with the debugger logging the function starting, but none of the staged behaviours with the timer actually occuring (including the logs at those predetermined times not appearing.

This behaviour somewhat rectifies itself if I instead create and object and manually apply a starting force, although I would like to still use the fire bullet behaviour, as an earlier build did not have this issue.

Screenshots of the events log, it’s a mess I know.

Only one attachment, I just made this account to ask now

Animation
From an older build, this is what’s supposed to be happening. Instead it just creates a missile that is unscaled and slowly meanders in a straight line with none of the intended behaviours starting

Do you need to use fire bullet? Can’t you create the bullet and use forces? As it is …you’re starting the timer before the missile is created by the extension. You could try picking nearest missile to player the next frame but I wouldn’t use fire bullet and just use forces and variables
There was a similar how do I a few months ago I’ll try and find it!

Not per se, I am moreso confused about what broke in using firebullet when it worked as intended before. In hindsight I should probably have used creation and forces as you suggest, but went for firebullet as I thought it’d make testing quicker.

Lemme try creation and forces rq.

So using creation and forces does give me a similar output (I do like being able to see the final speed in px/s tho)

I am still having the timer issue, do you know how I can make the timer apply after? Do I use a wait function before starting the timer?

Aye, your explanation about it executing too early helped, applied a .02 second wait before setting the timer and the behaviour is now executing as it should. Thanks!

1 Like

Concerning me, i use forces (instantaneous or permanent) for moving characters or bullets.
I only use extensions at least, when it’s absolutely required.

1 Like