HOW DO I SET UP A CALL EVENT?
Posts
Pages:
1
Okay, I have two common events that kind of go hand in hand

The rest of the code is just flipping a bunch of switches off, so it's irrelevant.
I want it to be that when you have this item equipped (aka having this event in place), pressing the shift key will call this common event:

Any idea how I might do that?

The rest of the code is just flipping a bunch of switches off, so it's irrelevant.
I want it to be that when you have this item equipped (aka having this event in place), pressing the shift key will call this common event:

Any idea how I might do that?
LockeZ
I'd really like to get rid of LockeZ. His play style is way too unpredictable. He's always like this too. If he ran a country, he'd just kill and imprison people at random until crime stopped.
5958
Instead of call, make it a parallel process.
In the parallel process, use the Key Input Processing command. Have it detect only the shift key, and pick a variable for it to store the key code in.
Then right after that, in the same parallel process, have a conditional branch. Detect if that variable is equal to 7 (since 7 is the code for the shift key). It'll be true any time the player is pressing shift.
Inside the conditional branch, have a second conditional branch detecting if the item is equipped. Inside that conditional branch, do all the stuff you want to happen when the player presses shift.
In the parallel process, use the Key Input Processing command. Have it detect only the shift key, and pick a variable for it to store the key code in.
Then right after that, in the same parallel process, have a conditional branch. Detect if that variable is equal to 7 (since 7 is the code for the shift key). It'll be true any time the player is pressing shift.
Inside the conditional branch, have a second conditional branch detecting if the item is equipped. Inside that conditional branch, do all the stuff you want to happen when the player presses shift.
Pages:
1













