D
deem93
Guest
Hello
I'm working on a puzzle where there are 9 switches, that can exist in one of 3 states
and if all 9 switches are in correct position, the puzzle is solved.
The problem that I have is that sometimes the puzzle seems to malfunction, and resolve even if the switch combination is not correct.
Here is my code for the solution
Any ideas why it happens? Thanks.
I'm working on a puzzle where there are 9 switches, that can exist in one of 3 states
and if all 9 switches are in correct position, the puzzle is solved.
The problem that I have is that sometimes the puzzle seems to malfunction, and resolve even if the switch combination is not correct.
Here is my code for the solution
if POI1A == 1
and POI2A == 1
and POI3A == 1
and POI1B == 1
and POI2B == 2
and POI3B == 3
and POI1C == 1
and POI2C == 1
and POI3C == 1{
script_execute(scrCutscene);
}
and POI2A == 1
and POI3A == 1
and POI1B == 1
and POI2B == 2
and POI3B == 3
and POI1C == 1
and POI2C == 1
and POI3C == 1{
script_execute(scrCutscene);
}