I want player to be able to enter the interior cell if he chooses "Let yourself in" and to not enter if he picks "decline". I'm guessing you type "Return" which returns the player to the main game. The script below is pretty self-explanatory, as I've written after the semicolons what I want to happen. I know OnActivate == 1 means true and OnActivate == 0 means false. 1 meaning Player has already clicked it. 0 meaning Player has yet to click it. So, does 2 mean Player has activated the door a second time? Do I use a Short DoOnce variable? Please help me out, someone. Thank you.
Begin TES_doorloadif ( OnActivate == 1 ) MessageBox "'Just a minute!' An anxious male voice hollers from inside." "Wait for the person to answer the door." "Let yourself in."endif;if Player picks the first option and clicks the door again, I want the next messagebox to say: "'Hang on!' His tone sounds irritated now." "Wait." "Let yourself in.";if Player picks the first option and clicks the door again, I want the last messagebox to say: "You do not hear any response. Let yourself in any ways?" "Yes" "No"End TES_doorload