[Ace] Setting up regions at runtime?

hi there...

I want to know how to set a region at runtime at position XY.

I know how to read them out. with

$game_map.region_id(x,y)or

$game_map.data[x,y,3] >> 8But how can i SET them?
Does anyone know that?
http://forums.rpgmakerweb.com/index.php?/topic/9962-changing-region-id-bitwise-operation-fun/
thank you 🙂
changed it to a Scene_Map call.. ^^
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/ace-setting-up-regions-at-runtime.21997/