I've been looking on google, youtube, the forum... everywhere... maybe I'm not searching the right thing.... BUT here's what I want.
I have a graphic that is ore for the wall, the ore takes two tiles so I need to make two events to show the whole graphic. What I want to happen is when the ore is "mined" both of the graphics vanish at the same time. I know this is a combination of variables and self switches... but I'm just not sure how to tie both graphics together into one event.
I attached a picture of my project to show what I mean.
Thank you for any help you can provide to me. <3
Just use one switch instead of self switches. If you have the same switch as a condition for an empty page, it will be applied on both events at once.
You'll need an independent switch for this (rather than self switches).
So on the event that is interacted with you'll add the control switch:
Control Switch: Ore Mined (On)
Then on page two of each of the events, have the switch conditioned set to show if Ore Mined is on. Set the graphic for each of those to the image you want, and it'll update in unision.
However, this method would require individual switches for every vein of ore you want mineable. So it's not the most elegant.
Alternatively, if you're comfortable making graphic edits, you could just edit the ore image to be 96x48 (you'll want to use the !$ for the filename), thus allowing it to be updated easily with self-switches, since it would be one event instead of two.
Does it have to be exactly at the same time and not even a fraction of a second later? If the latter is okay, I suggest that you can set the trigger to event touch for the tile above so that when you trigger the bottom tile to change, the event can also be set to move up to touch the other tile/event to activate it into the second page of that event which can be replaced by a different image. Do you understand what I mean?
Edit: Sorry, I'm slow at typing. By the time I typed this, another answer was already posted.
Okay, so I managed to get this to work. I opened up a the !crystal graphic in the character file because in game it selects two tiles and made a exact copy of the page.. then I pasted the ore graphic I wanted and saved with !ore
So thank you everyone for your help, I got it working the way I want and learned something new in the making of it. ^_^