Toggle Movement Inputs

Cyguard1
Tue, 31 Mar 2015 17:14:15 +0000
Blueprint

I’m trying to make an rpg/mmo styled game. I have made two movement functions for the player to use called Super Jump and Super Run. Currently I have them set up to where you have to hold down a separate key to perform the actions. I would like to make them toggled, for example when the number 1 key is pushed the character will super jump when the space bar is pushed instead of a regular jump. When the 1 key is pushed again, he will return to a normal jump height. Would a flip flop function node be better for this or is there a better way to fire off this command?

6 posts - 1 participant