I don't really know how to explain this problem, but anyway, I struck this problem while I was making this grid system, it is built with 10 Locations, Five of them are 2x10 and they are called 1, 2 ,3 ,4 and 5. The others are 10x2 and called A, B, C, D and E.
I've build up it like this:
1A | 1B | 1C | 1D | 1E
2A | 2B | 2C | 2D | 2E
3A | 3B | 3C | 3D | 3E
4A | 4B | 4C | 4D | 4E
5A | 5B | 5C | 5D | 5E
Just like every coordinate system I determine each location by two locations, when one marine is brought upon location A(=X) and 1(=Y) it will display message "Effect 1A(=XY)" and set death counter for Zergling by P1 to 1(=X) and P2 to 1(=Y). For each location you walk to the right the P1 count will increase by one to a max of 5 and for each location you walk down P1 will increase by one.
Bring(P1, Exactly, 1, Marine, X);
Bring(P1, Exactly, 1, Marine, Y);
Deaths(P1, Exactly, 0, Zergling);
Deaths(P2, Exactly, 0, Zergling);
DisplayText("Effect XY", 1);
SetDeaths(P1, SetTo, X, Zergling);
SetDeaths(P2, SetTo, Y, Zergling);
Whenever you walk out from one of the coordinates both the death counts will set to 0 assuming that you reset the location and when you walk into another it will just do the same as you've walked upon the first one.
Bring(P1, Exactly, 0, Marine, X);
Bring(P1, Exactly, 0, Marine, Y);
Deaths(P1, Exactly, X, Zergling);
Deaths(P2, Exactly, Y, Zergling);
SetDeaths(P1, SetTo, 0, Zergling);
SetDeaths(P2, SetTo, 0, Zergling);
Well, the problem is that when you walk upon one of the locations and move from it to another location (Unless you move from location 1A to 1B and further into the "1" Row) it won't execute the effect for that location: To display a text that says "Effect XY".
I am posting my map here, so you understand properly if you didn't understand what I just wrote up.
Thanks in advance!