Hi! so i have run into a problem with some events i want to make. the problem is that im trying to have an even that moves on a custom route, but i also want it to be able to change its image back and forth simultaneously. I can make the image change by adding a new page that has a different image, but when you change to that page, the movement route resets! Is there a way to change an events image while keeping its original route going? Any info helps! thanks.
Trying to change an events image while keeping its movement route
● ARCHIVED · READ-ONLY
-
-
Did you search before posting? There is another conversation going on right now for exactly the same issue.
What is triggering the image to change? -
In the "Set Movement Route" section of the events tab, on the third row of options near the bottom, there is an option to "Change Image".
Is this what you are looking for? -
-
The Movement Route option won't work, because as soon as you call it, it cancels the custom movement route. If you don't want the existing movement to be interrupted, then you have to find a way of changing the image without using a movement route or changing tabs.
When you turn the switch on or off (or instead of turning it on or off, if that is its only purpose of the switch), do a script call to change the event's image directly, without using a move route. Then it won't disrupt the move route that's already running, and you won't need to use two pages.
The command will be this.character(x).setImage("imageName", imageIndex) where x is the event id, imageName is the exact name of the character image file, in quotes, and imageIndex is the index on that character sheet, with the top left being 0.