Stop a Boost Event After 3 Sec. HELP
Hi ! (using UE 4-18-2) How do i stop my boost event after 3 seconds? For example : Mario Kart has these boost blocks, when you drive on them it boosts like for 3 seconds or so then return to normal speed. Can someone help me make those blueprints from scratch? Or from the stuff i already got?
I'm using a vehicleadv4wblueprint with my own imported rigged kart. The steps i already got are : - The kart - The boost block/arrow with box trigger volume - Various Boost-ish Blueprint Methods but only 1 works well but don't stop.
As a boost example i used the BP_Hang_Glider & BP_Boost_Ring (it is the only one working for my own car, i also tested a impulse method but it only works 1 way on 1 axis and isn't what i quite want & does not look like a boost at all).
I converted the boost settings from BP_Hang_Glider into my KartVehicleBP & the Settings from BP_Boost_Ring into my BP_BoostBlock.
I didn't took all of the settings because it is a "fly boost" & i don't want my kart to fly up in the air.
So everything works with those 2 blueprints, except i can't make it stop boosting once boost has been "Called", it just keeps boosting, even if i go on end overlap (outside the collision), it just keep boosting, but i want to restore the normal speed, if possible without going "on end overlap" , but with a timer, so i can adjust on the fly (with an editable variable outside the blueprint in the world outliner) how long the boosts can keep boosting.
I hope you guys understand what i mean. I've been hurting my brains for the past 5 days and it still don't work like i want it.
See the screenshots below of what i got. (download image to zoom more) I don't know if there are realy good so if not, feel free to help from scratch. Thx for the help & sorry for being bad at blueprinting stuff.
Link to Screenshot :
asked Sep 04 '18 at 07:34 PM in Blueprint Scripting
The most basic setup would look similar to this:
Create an object with a trigger, detect the car, give it a boost and take it away after a while.
answered Sep 05 '18 at 06:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here