I apologize if this is in the wrong thread but, does anyone know how do you create a conditional branch for when an event walks on a certain region tag it checks a conditional branch to see if they are on that region.
For example Event 1 walks onto Region 3 how would I check if that event is on that region?
like the above, you for an scriptcall using
$gameMap.event(x).regionId() === y
X as being the ID number, and Y being the region ID
both ways works though.
It looks like that this is a very short and useful Script Line. Thank you for sharing.
This could have Safed me some time i spent puzzling around =).
Thanks guys for helping me out. I was able to implement the code suggested by Shadow Dragon into my game.
I used it for my player $gamePlayer.regionId === x
so for events its almost the same, but slightly different.