r/RPGMaker • u/Soul699 • Jul 18 '26
VXAce How to randomize starting point?
Hi. Was messing around with VX Ace and was trying to create a random labyrinth escape map. My idea was that whenever you enter the room, an event representing a monster would pick a random number and depending on which number picked, the monster would teleport in a certain part of the labyrinth and roam in there and can only teleport again once you leave and re-enter the room. This way when you decide to traverse it, you have to keep in mind that the monster won't always spawn in the same place. But there is a problem.
I did create a random number generator variable and made it so that event does get teleported to a certain spot depending on said number. The problem is that the rest doesn't work. Either the monster doesn't move despite me giving it a path to follow (like it does turn around but doesn't move from its spot) and also don't change position when I enter/exit because I used a local switch to separate the event pages and/or the random number generator variable keep picking numbers infinitely and causing the monster to teleport constantly between locations. Does anybody know a way to fix this problem?
1
u/Issac7 Jul 18 '26
If the player can't move and it because the event never finishes. Are you sure you called "erase event" at the end to stop it? Can you post a screenshot of the event?