Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

help please!

Status
Not open for further replies.

TruRevolution

Towns Guard
Xy$
0.00
So check it out.... I'm curious as to how I can keep events resetting locations when leaving and reentering an area?

IE:

you flip a switch an object moves... you do this with an Set movement Route or Set Event Location command, but how can I keep those locations saved when leaving and reentering that same area?
 

MinisterJay

Administrator
Staff member
Administrator
You can create a second event where the set movement left the other event, but it is only active after the initial event occurred. Using a control switch that is contingent on the first being activated would make it where when you leave the area, the item will be where last seen.
 

TruRevolution

Towns Guard
Xy$
0.00
You can create a second event where the set movement left the other event, but it is only active after the initial event occurred. Using a control switch that is contingent on the first being activated would make it where when you leave the area, the item will be where last seen.
can you explain that differently??? lol I'm being dumb


[edit] actually.... you gave me a great idea
 
Last edited:

MinisterJay

Administrator
Staff member
Administrator
One way to do it is to put a switch on your first event, the one that causes it to move. Let's call this switch, "Moved", and have it on. Have this positioned directly below the line that moves the event. Press Create New Page. In the Conditions area, click Switch, and select, "Moved." Do not have any image. In Contents, select Exit Event Processing.

At the location where you want the event to move to, create a second event. On the first page, have no image, and no content. Create New Page. In the Conditions area, area, click Switch, and select, "Moved." Have the desired image, that was previously moved. In contents put the content that you desire it to do.

This will take care if the character leaves and returns to the current map.
 
Status
Not open for further replies.
Top