d4rkb8n8na
Member
This is probably really easy, but I have a hard-to-explain problem that I can't figure out.
I essentially have 3 different maps, a beach house, a town, and a path connecting beach house to town.
There is a guard on the path that blocks the way into the town, to get to the town the character must retrieve itemA from the beach house and then the guard will move and you may proceed. The only problem is when I want to go back from the town to the beach house, the guard won't move because the variable "get itemA" is already at 1 so the guard simply says "you may proceed" without moving. If I change this then the guard would move again when I go to the guard the first time, causing the guard to have a repeating cycle which could move the guard to unintended locations. (I doubt I explained this very well, but here are some screens of what I'm talking about)
http://img392.imageshack.us/img392/3381/helpaj5.png[/img]
I am using RMXP and I have tried using a switch for when coming back from the town and changing variables when leaving the map, but it ends up with the same "guard repeating move cycle thing". I probably just don't have an understanding of something or am overlooking/overthinking something, but please help D:
I essentially have 3 different maps, a beach house, a town, and a path connecting beach house to town.
There is a guard on the path that blocks the way into the town, to get to the town the character must retrieve itemA from the beach house and then the guard will move and you may proceed. The only problem is when I want to go back from the town to the beach house, the guard won't move because the variable "get itemA" is already at 1 so the guard simply says "you may proceed" without moving. If I change this then the guard would move again when I go to the guard the first time, causing the guard to have a repeating cycle which could move the guard to unintended locations. (I doubt I explained this very well, but here are some screens of what I'm talking about)
http://img392.imageshack.us/img392/3381/helpaj5.png[/img]
I am using RMXP and I have tried using a switch for when coming back from the town and changing variables when leaving the map, but it ends up with the same "guard repeating move cycle thing". I probably just don't have an understanding of something or am overlooking/overthinking something, but please help D: