So, I need to make an event, where as soon as you step on it with a say, rogue class, a prompt appears and you get an item when you press the prompt. Now, so far, it's going great, except I have no clue on how to make the image disappear when you walk off the event, AND how to make sure the event continues when you press the prompt.
Any help on this one?
I have no direct clue because i dont fully understand, but i have a asumption 🙂.
Build your Event like this:
1st Eventpage is on Player Touch
It activates the seccond event page, for example with a self switch.
2nd Eventpage is on Paralell process and it will only turn off the switch if the player leaves that maptile maybe. It also got the other code inside, well structured with conditional branches and values.
Edit: Prompt = Quick Time Butten Press Event? Do you use a Script or did you Event it somehow? Or do you mean something totally different?
Coukd u just use in the event:
'show picture'
Whatever you want
'Erase picture'
And then all will stay except the picture?
Sorry if I wasn't clear enough. What I want is, when one of your team is of a certain class, you will sometimes get a prompt (As in: Z/Enter) in the form of a photo. When you walk off the event, the prompt should disappear. Now, I've got the "activating the prompt" down, except it doesn't allow you to move until you actually press the prompt. Now, what I want to happen is, step on event, prompt happens. Step off event, prompt disappears.
If the Player Activates an Event he cant Move until its finished.
Thats were my previous idea comes in handy.
By just activating the switch for the seccond eventpage on page one, and making the seccond eventpageparalell process the player will be able to continue moving. and the 2nd eventpage can handle the prompt eventcode and the eventcode condition if the player moves off. at the end you can activate a 3rd empty eventpage to deactivate the event, or u turn the switch off and make it reusable.
Values and conditional Branch is the Key for this Magic.
Lets Control 4 Variables.
var1 = player x
var2 = player y
var3 = this event x
var4 = this event y
Conditional branch var1 is not same as var3
-Conditional branch var2 is not same as var4
--if both yes, the player moved
The can be structured slightly different in several ways depending what you nee in the end.
But aslong the Event and the Player got the same coordinates, it means he did not move.