Erm Hi : =)
You see that i try to run a simple function for each Event in the map (RPGMV)
I tried several ways but cannot get eventId of the "host" event
Please help, thank you :=(
You see that i try to run a simple function for each Event in the map (RPGMV)
But within this function, i need to get eventId of the event that is running this code (assume that i don't know it)$gameMap.events().forEach(function(event) {
if (event._stb) {
if (event._stb == 1 && event.x == 16 && event.y >= 26) {
$gameMap.event(X)._ccheck = $gameMap.event(X)._ccheck || 0;
$gameMap.event(X)._ccheck = 1;
}}});
I tried several ways but cannot get eventId of the "host" event
Please help, thank you :=(
