Is it possible to get an engine to throttle up for 2 seconds upon pressing fire cannons, then go back to 0 after the cannon is fired after a certain delay?
Is it possible to:
A. Get a cannon to fire 2 seconds after the fire cannons button is pressed?
B. And get an engine to spool up before going back to 0 after the cannon is fired?
With funky?
So I basically need an engine to spool up for 2 seconds to glow (akin to charging up) before the actual weapon fires, and I also want to delay the firing response of the cannon part. Is it possible with funky?
Sorry for long title
@MonarchiiwithastolenMG wait ima edit thr comment thetes a spelling error
@Speedhunter hmhhh... noted for future references
Basically Ceil rounds off the second number, which means it only works when the ammo is at an odd number (fireWeapons is in the false condition)
First number basically ends up with a .5
Also add quotation marks around the Shock Cannon/weapon name since the red text does not allow it
@MonarchiiwithastolenMG the odd number firing thing?
(ammo(Shock Cannon)/2) == ceil(ammo(Shock Cannon)/2) ? FireWeapons : 0
@Speedhunter oh, I see, how did you do it tho? curious
@MonarchiiwithastolenMG the Shock cannon uses a method that basically activates the engine only when the ammo count is an odd number now, so it still works the same way
what i would do is basically....
ceil(smooth(FireWeapons,1/2))
floor(smooth(FireWeapons,1/2))
ActivationGroupshould work i think..? that's how i think i wouldve done it anyway, hmh
@Katzem The engine throttling up from 0% to 100%