Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Changing Event Graphic

Okay, one quick question. How do you make an event's graphic change/ make the event disappear after a certain switch is turned on?
Example: You go into a house and talk to a guy. After you leave, he's waiting outside for you and joins your party. When you come back afterwards, he's no longer there since he's in your party.
 
You can change the graphic of an event through the "Set move route" command on the second page of commands. (Near the right of movement commands is "Change Graphic") Make sure you set it to "This Event" rather than Player.

That is by FAR easier than flipping a switch and having a page with the preconditions on it.
 
if you create an event inside of the house where the guy goes outside and it flicks switch: 001 for example.
create a second page on the same event with whichever graphic you wish and a blank page if you dont want anything to happen

then create an event outside of the house with the first page blank with no graphic, then a second page with the precondition of switch:001 = on then set it up from there :)

hope that helps
pm me and i will make a demo if required
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top