- Joined
- Feb 16, 2014
- Messages
- 80
- Reaction score
- 18
- First Language
- English
I looked through the Script Call Equivalent post and I did a few searches and didn't find the whole answer to what I was looking for.
I found $gameMap.regionId(x, y); on the Script Call Equivalent page, but I need to know the variable of the Actor's Map X/Y as well as getting an Event's Map X/Y
and also, how would a conditional look to compare the two region ID's to see if they are the same, with an else statement as well?
This is what I am looking for:
If RegionID(Actor X, Y) = RegionID(Event X, Y) then
Else
if RegionID(Actor X, Y) = RegionID(Event X-1, T) or RegionID(Actor X, Y) = RegionID(Event X+1, T)... ext to check the adjacent map tiles
else
End Conditional
End Conditional
Thanks in advance!
I found $gameMap.regionId(x, y); on the Script Call Equivalent page, but I need to know the variable of the Actor's Map X/Y as well as getting an Event's Map X/Y
and also, how would a conditional look to compare the two region ID's to see if they are the same, with an else statement as well?
This is what I am looking for:
If RegionID(Actor X, Y) = RegionID(Event X, Y) then
Else
if RegionID(Actor X, Y) = RegionID(Event X-1, T) or RegionID(Actor X, Y) = RegionID(Event X+1, T)... ext to check the adjacent map tiles
else
End Conditional
End Conditional
Thanks in advance!
