Can I see how is your whole attempt?
Thanks, I got it!
I just had to fix a couple of things in your code, like "alias vn_term terminate" -> "alias vn_terminate terminate"
and
self.visible = !$game_switches[98] #with an !
Very minor issues compared to my initial problem 🙂
Edit: I've found a side effect: albeit the window_message is invisible, the player can still go through the dialogue by pressing Enter. He can even walk on the map and activate another event in blind mode, with the picture still displayed.
I'll have to find a way to prevent actions.
Edit 2: I've managed to make something that does it. Your help with the Sprite use instead of a standard Show picture helped a lot, so your effort was not in vain. Thanks again!
I probably should start using this thread for small questions like this one... feel lame to open a new one for this 😛
Anyway, is there a way to use the command "Set Event Location" for an event that is on another map? (this is for vxa)
Basically I have to move some events before the player enters that map, in relation on how the player positioned some events on another map.
My first instinc was to put the set event location commands AFTER the teleport, so the game would search for the events on that map, like you would do on rpg maker 2000/3 but apparently on ace doesn't work like that. So I went to look for some script call and I found this:
$game_map.events[id].moveto(new_x, new_y) and i put the entries like this:
$game_map[65].events[15].moveto($game_variables[39], $game_variables[40])
$game_map[65].events[16].moveto($game_variables[41], $game_variables[42])
and so on... but I get a crash 🙁
apparently $game_map[65] is incorrect. Anyone knows if it's possible to do this?
You can't change events on different maps, only on the one you are currently on.
But even if you change their position, they will revert back to their original position if the map is reloaded, unless you always set their position on map load (NOT an always running parallel process, just a simple one that erases itself after running.
Seeing that you already use variables for tracking their position, you can do this with events if needed.
Just run a parallel process event on the map you want to change these event positions, and put an "Erase Event" command on the end.
That little script call you used was almost correct, but $game_map is the object of the current map, no hashes/arrays involved, so just remove that [65] part from there.
In case you want to memorize these event positions, you can try to lookup Shaz's Memorize Event Positions script (not sure about the name, but it's something similar).
Yep - that did it. I thought Aliasing needed to be exact though to register?
Though maybe it's different with viewports - since I'm guessing that goof up was either making or using some other viewport for the sprites?
Your biggest mistake was
create_idle_sprite_effect_var(viewport = nil)