How do I make a cheat code?
As in the user can press a complex series of buttons to enable a change in the game state. I have a controller sensor set to remote control, and I've experimented with Selectors and Counters to get the desired effect, but no luck. Any advice?
-
I think you're on the right track with a selector. You need logic along the lines that if button X is pressed and the current selected value is 0, then advance to the next selection. So you need a calculator with equality selected for each button press you require so that you only do anything if the selector has advanced to the right state already.
-
https://youtu.be/nCryeXkKpDQ
Watch this vid on lbp they do exactly what your asking. Just apply what you see in the vid to dreams and tweak where needed. :) -
You're both wonderful, thanks!
-
For anyone else who comes looking, here's the solution I came up with. It might be inefficient because I'm pretty new at the logic. Feel free to leave feedback :)
Cheat Code / Ordered Input Device:
https://indreams.me/element/by4IOEQJJp8
댓글을 남기려면 로그인하세요.