I made an event and chose one of the flame graphics to use. I want to make it so when the player steps on the graphic/event, the glowing animation (Set Move Route: Direction Fix, Turn Right) plays, and when the player walks off, the glow stops. First part easy enough, just use player touch. But there is no way to detect if the player is NOT touching the graphic event.
So, player touches save point, save point glows, player walks off save point, glowing stops? How? TIA.
Since you're using player touch eventing to turn it on, you could use other player touch events - invisible, below player events - placed around the save point. Each one, on touch, turns off the switch or whatever that the save event uses to detect whether to glow or not.
You can also dress up the save crystal with a screen flash and animation like sparkles that come up when you touch (or more preferred, hit the action button on) the crystal. It's not as bland that way.
Well, I kinda figured it out myself, I had to make two events. A blank/invisible event that controls the normal state and glowing state of the graphic, then on the graphic itself, when the player presses the Action button it asks whether you want to save, then you can save or not, just how I wanted. 🙂 But I couldn't have done it without your Script, Shaz, I believe I will be using it for a couple different things in the future. I think I might need to make a common event or something for this, to shorten the process of making save points in the future. But I haven't learned those yet. I hope they add a default way to do this in MV. Anyways, thanks guys! This thread can be closed now.
You don't need two events. One can do the whole lot.
I feel like it's possible, but I can't get it to work with only one.
I told you exactly how to make it work with one. If it's not working, what IS it doing when you follow my instructions above? Post screenshots of both event pages, making sure to include the whole window, and we'll help you figure it out.
I think Shaz wrote in the supposition you wanted it to go when the player touched it. You kind of changed your mind to Action button.
Anyway, If you want a delay, you can put in a Wait command so there's a pause.
Yeah, I understand where I messed up in the original post. I left out the Action button part.
Okay then - change the trigger from Player Touch to Action Button. It's as easy as that. If you want the player to have to step ON it, make sure the priority is set to Below Characters for both pages.
And yes, if you don't say you need something, we're not going to assume you want it 😉
Well now that I found another script, Input.trigger?(Input::C), I am able to do this all with one event, and one event page. 😀 I am happy, thanks all. Thread can be closed for real this time.
Uh - you don't have your event set to parallel process do you? Not a good idea. You have a few of those on the map and it'll start to lag.
The method described above really is the best way to do it. Only the "current" event is on parallel process, and only for the time the player is actually standing on it. MUCH more efficient, and no risk of lag.