Viewing post in Ritter Ultimate Event Spawner (RPG Maker MV) comments
Interesting one here. So it seems like the events are returning to the tile the chicken event was on when it unspawned upon being respawned as the other berry bush event.
This is happening with my spawner, for a reason I'll soon be looking into, but not with other spawners because this spawner recycles events. So when you unspawn a chicken that event goes into a sort of 'unspawned events pool' which the spawner looks to before spawning another event. if there are any unspawned 'null' events available it will grab one of those and transform it into a new event instead of creating another event on the map. Whereas galv spawner will just spawn a new event every single time you spawn an event.
The problem seems to be that the event wants to return to the position it was in when it was last unspawned.
spawn chicken
unspawn chicken
spawn berry bush
berry bush wants to move to where chicken previously was.
I'll take a look into this and hopefully have a fix soon.
Edit:
I've located the problem within altimit movement code, deciding on the best fix.
I just uploaded version 1.4 of the spawner which should fix this issue.
If you're curious about what the issue here was with altimit movement and the way my spawner recycles events... basically with altimit movement whenever an event is moving it is given a ._moveTarget = true property and also ._moveTargetX and ._moveTargetY properties. These properties had to be reset when unspawning an event since these events are recycled.
The events were respawning with flags that tell altimit when and where to move the event to lol.
I hope this works out for you! If you find any other issues or if this one somehow persists be sure to let me know!
Thank you!