- Joined
- Jun 29, 2013
- Messages
- 47
- Reaction score
- 3
- First Language
- English
- Primarily Uses
Hi everyone,
Well on my game I would like to include a sort of struggle mini-game. Lets say an enemy magician casts a mind control spell. I would like a bar to appear that fills up as you press the 'Z' button. But decreases as the enemy magician presses an imaginary space bar.
Something like this:
If you succeed then the bar gets full and you fend them off. If you fail then the event runs as it would. It would also be nice if one of the player's parameters had an impact on the game. For example, a higher Magic Attack Power would mean your button pushing impacts the bar more.
I've tried many of the button mashing tutorials and even some different scripts, but none function how I would like this one to. I imagine this is could be accomplished with eventing. But I'm confused on how to do it. Any help would be greatly appreciated!
Well on my game I would like to include a sort of struggle mini-game. Lets say an enemy magician casts a mind control spell. I would like a bar to appear that fills up as you press the 'Z' button. But decreases as the enemy magician presses an imaginary space bar.
Something like this:
If you succeed then the bar gets full and you fend them off. If you fail then the event runs as it would. It would also be nice if one of the player's parameters had an impact on the game. For example, a higher Magic Attack Power would mean your button pushing impacts the bar more.
I've tried many of the button mashing tutorials and even some different scripts, but none function how I would like this one to. I imagine this is could be accomplished with eventing. But I'm confused on how to do it. Any help would be greatly appreciated!
