I have a living room with a button that leads to a door, and the door has a panel with a ball inside. In fact, the player has to return to the room to take a screwdriver and then go to the door to open the panel and get the ball.
I have two doors screens: one with the closed panel and the other with the opened panel (see images attached if you want)
The thing is that that door is also the final door. I need two options for the same button: if the player has taken the screwdriver and opened the panel and so has the ball, then go to the screen of the door with the panel opened and if not, go to the screen with the panel closed.
Ufff! I don't know if I have explained this properly... well, I have thought to put a script like this (setting variables for the objects before):
IfVariable screwdriver=1 + ball=1 Then
Action.GoToFrame "openpanel"
Else
GoToFrame "closedpanel"
End If
But it doesn't work, obviously, because I'm new with this... Help, please!! and thanks to read all this, hahaha!