Hi there, for the end of our game we're building a devious little puzzle based off crank handles ... but i've run into trouble in using switches and would appreciate someone shedding some light on the best way to solve this ...
So for each crank handle there are four states - 1, 2, 3 and 4
If the player turns the crank handle when it's at state 1 - it turns on crank-switch-01 and turns off crank-switch-04
If the player turns the crank handle when it's at state 2 - it turns on crank-switch-02 and turns off crank-switch-01
If the player turns the crank handle when it's at state 3 - it turns on crank-switch-03 and turns off crank-switch-02
If the player turns the crank handle when it's at state 4 - it turns on crank-switch-04 and turns off crank-switch-03
Each crank handle controls the direction of a statue, and here's where the problem lies ...
The statue has four event pages, one for each switch (crank-switch-01, 02, 03 and 04). However, it seems that when the player turns the crank handle, it cycles through all of these switches in a never-ending cycle but each time it matches an event page's condition and as such it gets stuck in a never-ending loop.
My question would be, what would be the best way to avoid this?
I have attempted to use variables (1,2,3,4 etc) but unfortunately that just won't work as I need specific things to happen according to specific switches.
Thank you!
So for each crank handle there are four states - 1, 2, 3 and 4
If the player turns the crank handle when it's at state 1 - it turns on crank-switch-01 and turns off crank-switch-04
If the player turns the crank handle when it's at state 2 - it turns on crank-switch-02 and turns off crank-switch-01
If the player turns the crank handle when it's at state 3 - it turns on crank-switch-03 and turns off crank-switch-02
If the player turns the crank handle when it's at state 4 - it turns on crank-switch-04 and turns off crank-switch-03
Each crank handle controls the direction of a statue, and here's where the problem lies ...
The statue has four event pages, one for each switch (crank-switch-01, 02, 03 and 04). However, it seems that when the player turns the crank handle, it cycles through all of these switches in a never-ending cycle but each time it matches an event page's condition and as such it gets stuck in a never-ending loop.
My question would be, what would be the best way to avoid this?
I have attempted to use variables (1,2,3,4 etc) but unfortunately that just won't work as I need specific things to happen according to specific switches.
Thank you!