I need to add a cooldown to firing a rocket launcher because spamming the fire input stops the firing animation from finishing. I’ve tried using what many other threads have suggested but it just won’t work. I feel like Boolean values should be able to work but I’m new to this so I’m probably doing it wrong. Any help would be appreciated :). Here’s what I thought would work (can fire Boolean set to true by default):
You need a DoOnce node
This seems to have worked, thanks. Now I just gotta figure out how to be able to play a weapon cycling animation while firing.
weapon switching anim you mean ? or reload, you can do a montage anim so that it can blend smoothly with the firing animation.
I meant cycling like when fired the barrel rotates (I’d show you but I can’t upload an mp4 here ). But I think I may have made a mistake by making the arms and gun each have their own skeleton and animations. I’ll also have to figure out reload and swapping weapons eventually but we’ll get there when we get there.
No worries, we usually separate the animation of arms and weapon too so it should be fine.
Adding a specific bone to the barrel just like for hairs or accessories should be similar and a simple play loop animation during the firing.
Yeah, I found the play animation node last night and got it working
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.