- Joined
- Dec 19, 2020
- Messages
- 104
- Reaction score
- 45
- First Language
- English
- Primarily Uses
- RMMV
Hello all!
Probably some very simple eventing logic but my brain is failing me here.
I want to essentially have a conditional branch triggered by a mouse click. If the mouse is clicked again within 0.5 seconds, I go to the next event page. Otherwise, I exit the event.
If it matters, I'm planning on using this kind of system to implement a "combo" attack in QABS.
Slash 1 leads into Slash 2 which leads into Slash 3. Reset to Slash 1 at any time if player hasn't clicked mouse in the last 0.5s. Something like the following:
Thank you for your time!
Probably some very simple eventing logic but my brain is failing me here.
I want to essentially have a conditional branch triggered by a mouse click. If the mouse is clicked again within 0.5 seconds, I go to the next event page. Otherwise, I exit the event.
If it matters, I'm planning on using this kind of system to implement a "combo" attack in QABS.
Slash 1 leads into Slash 2 which leads into Slash 3. Reset to Slash 1 at any time if player hasn't clicked mouse in the last 0.5s. Something like the following:
- Event page 1: On mouse click: learn Slash 2 skill and forget Slash 1. Then activate Slash 2 switch.
- Event page 2 (triggered by Slash 2 switch): On mouse click, forget slash 2 then learn slash 3. Then activate slash 3 switch.
- Event page 3 (triggered by Slash 3 switch): On mouse click, activate "combo finished" switch.
- Event page 4 (triggered by "combo finished" switch): Reset all skills back to normal and deactivate all switches.
Thank you for your time!
Last edited: