- Joined
- Sep 14, 2016
- Messages
- 17
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Arg i had this working and some how fixing one of the other problems with it broke a different part!
Ok so i have a quest where the player has to answer 2 riddles before a door will open. I it so that the correct answer adds 1 to the variable 'riddle' and i have the door set to only open with that variable is set at 2. i also have it so that when the variable is set a 1 the door is half opened. When i answer the one riddle, the door moves to half open(like it should) and then when i go and answer the second riddle, it resets the door to closed when it should be opened all the way. I made sure that both riddles are set up to +1 on the variable so i know it's not that. I can''t figure out why it's resetting the variable.
Ok so i have a quest where the player has to answer 2 riddles before a door will open. I it so that the correct answer adds 1 to the variable 'riddle' and i have the door set to only open with that variable is set at 2. i also have it so that when the variable is set a 1 the door is half opened. When i answer the one riddle, the door moves to half open(like it should) and then when i go and answer the second riddle, it resets the door to closed when it should be opened all the way. I made sure that both riddles are set up to +1 on the variable so i know it's not that. I can''t figure out why it's resetting the variable.









