#how do i make switchable abilities
1 messages · Page 1 of 1 (latest)
I answered a post about this, can’t find it tho
Try searching similar titles to your post
Found it
The person I was responding to asked: Does anyone know how they made the powers switch in dragon ball pvp
My response:
What I’d assume they did was:
On the Dropped event, set an Int Variable to itself plus 1 modulo 2
This way the int variable will go up by 1 until it reaches 2, then it will reset back to 0.
Then they’d wire the Primary Action Pressed event to an Execution Integer Switch(the int port should be the Int Variable from earlier), which would be used to choose which ability is activated when the trigger is pulled
If you’re using a trigger handle there’s a port on it that says Dropped
It might actually be called Released
Something along those lines
Yeah
Trigger Handle
Int Variable
Add
Modulo
Execution Integer Switch