Hi Again Everyone I recently created a puzzle that allows my player to light three torch events in a specific order and then unlock a secret passage. For the most part it works but I suddenly noticed a small flaw while trying to recreate a similar puzzle using the same variables on a different map.
I'm currently using SRD Debug tool to keep track of my variables and watch how they work while I'm testing my game. When I light up all three Torches correctly on the 1st map the variable 'Torch Pattern' rests at a value of 4. When my player changes maps the value immediately drops to 0 without any added or changed logic. This alone is not a problem because I want the Variable to reset every time I start a new puzzle, but what I realized is that no matter what I try or events I change I can no longer change this variable even through the debug tool I can not change the value from 0 to 1 or any other number.
So I guess in short my first question is do I need to create a new variable for every map or even every puzzle? Or am I simply doing something wrong? If the answer is I'm doing something wrong than I will post all the relevant Events that I have in place.
I'm currently using SRD Debug tool to keep track of my variables and watch how they work while I'm testing my game. When I light up all three Torches correctly on the 1st map the variable 'Torch Pattern' rests at a value of 4. When my player changes maps the value immediately drops to 0 without any added or changed logic. This alone is not a problem because I want the Variable to reset every time I start a new puzzle, but what I realized is that no matter what I try or events I change I can no longer change this variable even through the debug tool I can not change the value from 0 to 1 or any other number.
So I guess in short my first question is do I need to create a new variable for every map or even every puzzle? Or am I simply doing something wrong? If the answer is I'm doing something wrong than I will post all the relevant Events that I have in place.