Make computer screen turn off and display new message

● ARCHIVED · READ-ONLY
Started by Rennan_Ribeiro 6 posts View original ↗
  1. Here is the thing:

    I wanted to make a computer have its screen lit with a blue light. So i created a new tileset, editing only the computer screen, making it blue, and imported the tileset to the software. So far, so good.

    Now what i want is for the character to wake up in his bedroom and see the computer ON. Then it goes to the computer to see his emails. He will see a sequence of messages, and then, i want the screen to turn off (become gray, as in the default computer tile) and display a message telling the inbox is empty, every time the player interact with it.

    I've messed around the variables and switches and i made the screen go gray after viewing the messages. Did this by selecting, as the event's image in page 1, the computer with the blue screen, and placing it over the tile of the gray screen computer that was already in place. Using variables, i made the screen begin blue, display the messages, then automaticaly go gray, simply by changing the variable value and making it start a page 2 where the event image was blank, thus, the default computer tile that was underneath it became visible.

    But, then, i couldn't make it stay gray and display the "inbox is empty" message when the player go back to it. It simply remain a gray screen computer that do nothing after you see the messages for the first time.

    Don't know if i made myself clear.

    I apreciate any help i can get.

    Thanks.

    Screenshots to help understand:
  2. you need to show us screenshots of your event pages if you want help.

    usually this is done by having multiple event pages conditioned to the different options (like number of unread messages as a variable), but for it to work the entire event logic needs to fit together - that is why we need to see exactly how you tried to handle it before we can repair it for you.
  3. Hi.

    I've uploaded some images to help understand the situation. Sorry for the portuguese in the images, but as a matter of fact, i'm brazilian.

    Thanks in advance.
  4. Your second page is empty so nothing happens there. Placing the graphic in a characterset and changing it with a move route command is probably the most easy solution. The alternative is a much more complicated (it'll need to check if the player is facing the screen through a conditional branch and then do its bussiness) event placed underneat the character that uses the variable to change the screen event.
  5. Solved the problem! =)

    Didn't do exactly what you said, but you gave me an idea.

    I kept the computer event as it was and just added a second event, on the chair under the player, that only activates when the computer event end. Now the computer event, after the first interaction, stops completely and the screen go gray (turno off) and the chair event begins, telling the player there are no messages

    Thank you so much for the help! o/
  6. No, you shouldn't make it work like that :p Try to keep everything in one event.

    Anyways, I see your mistake; you added a conditional branch that checked if variable #1 has a value of 2. Considering the event page will only activate if the value of that variable is 1 or higher, you don't need the conditional branch in the first place. Secondly, you made it check for the value of 2, when it should have checked for a value of 1 (because you made it change to 1 in the first event page).

    Simply remove the conditional branch on the 2nd event page completely, and only add the text command saying there are no more new messages, that should work!

    Also, your first event page shouldn't be running on a conditional branch, remove that one as well. All variables start out at 0 anyway, no need to check for it!