Korman - how to write python for puzzle code?
Posted: Wed Sep 16, 2020 10:16 am
Me again, needing guidance I have everything working in my age now, using xAgeSDLBoolSet, xAgeSDLBoolRespond, xAgeSDLBoolShowHide and xStandardDoor in the korman nodes.
I have an SDL file which saves the states of buttons and animations. Quite happy with it all so far . But I have saved the hardest work until the end - a
little puzzle. There are three buttons that should be clicked in a certain order, then a lever is operational, which then activates a door button so
the player can enter the interior of the age. The door can not be open without doing this.
As for now it can be solved by trial and error but the state is not saved so the player has to do it everytime he or she enters the age.
So, how would I do this? Reading the wiki let to me to beleive I should use some of the scripts that use a state list? If that is correct, is that
something that one declares in a python script?
I have an SDL file which saves the states of buttons and animations. Quite happy with it all so far . But I have saved the hardest work until the end - a
little puzzle. There are three buttons that should be clicked in a certain order, then a lever is operational, which then activates a door button so
the player can enter the interior of the age. The door can not be open without doing this.
As for now it can be solved by trial and error but the state is not saved so the player has to do it everytime he or she enters the age.
So, how would I do this? Reading the wiki let to me to beleive I should use some of the scripts that use a state list? If that is correct, is that
something that one declares in a python script?