Changing Images with Event

Hi, everyone!
I'm trying to configure a event, but I'm not getting....

I'm trying to change this image portal from this:

[IMG]http://i164.photobucket.com/albums/u12/2pauloperes/portal1_zps3f35bbb1.jpg[/IMG]

To this:
 
[IMG]http://i164.photobucket.com/albums/u12/2pauloperes/portal2_zps7decdd86.jpg[/IMG]


Using a key item.
 
I already know configure the event to use the key item, I put the event in front of portal, but I have no idea how to exchange the portal's images... anyone have a tip?  
 
Thanks!
   Don't put the grave marker as a map image, instead divide its individual pieces into events by scrolling down to the very end of your event images until it has maps b-e to choose from. On the first page set the graphic to the non-glowing one and have a second page of each one using the corresponding piece from the glowing one with the condition of a switch being on (the same switch for each event.) then when using said key item turn the switch on and you'll get your effect.

   That would be the least edit-intensive way of doing it. You could also create a spritesheet with the marker in both forms within it (though you'd get some clipping issues unless you used blank unpassed events to border it) or use a script that let's you change tiles on the fly (I've seen a few but am not sure at all how they work) but I'd recommend my first option as the easiest. 
My rule of thumb is if you need to interact with something, make an event.


Turn the thing into a character sprite.
Alexander, Tsukihime, thanks for the help!

In the moment I couldn't solve the problem completely, the lower part of the figure is working... but I'm still trying to program the event for the tile above.
Show us the event - the whole window, not just the event commands.


Isn't there a character sheet somewhere in the RTP that uses these? I think it's one of the taller ones, so a single event is all you'd need.
I did it! Is working.

Later, when I will be in home I post the images of the commands. 👍  
Alright, here is the images, in the case it can help someone with a similar problem.

Thanks again for the help Alexander, Tsukihime, Shaz.

[IMG]http://i164.photobucket.com/albums/u12/2pauloperes/event_page1_zpscc689e9f.jpg[/IMG]

[IMG]http://i164.photobucket.com/albums/u12/2pauloperes/event_page2_zpse42a91f2.jpg[/IMG]
Excellent! However, if the purpose is for the player to PUT the sphere onto the headstone, you would also want to remove it from inventory just before turning on that switch.


Also check the Direction Fix button on page 2. Or it's going to turn into something else if you approach it from above (or if you CAN approach it from the sides).


I'm curious what's in the Common Event: Sphere? Is it something that should only be run if you DO have a sphere? In that case, you should put it inside the [sphere] in Inventory conditional branch. Nothing to stop the player SAYING they have one, when they really don't. In fact most probably wouldn't even ask. They'd do a check to see if it's there, and if it is, maybe say "you put the sphere onto the headstone", remove it from inventory, and turn on the switch. If they don't have it, they'd put some message like "There's an indentation in the headstone. Something must have sat there, once."
Hehe... this Common Event was really useless... I saw this after you said.

I think is better now, if the player uses the sphere it desapears from inventory.

[IMG]http://i164.photobucket.com/albums/u12/2pauloperes/event_page1-2_zpsdaeef20d.jpg[/IMG]

[IMG]http://i164.photobucket.com/albums/u12/2pauloperes/event_page2-2_zpse78e87e6.jpg[/IMG]
yeah, looks good. You don't need the 'exit event processing' in the Else statement, because if the condition is not true, there are no other commands to process, so it will exit anyway 🙂


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/changing-images-with-event.24539/