- Joined
- Nov 11, 2018
- Messages
- 80
- Reaction score
- 28
- First Language
- English
- Primarily Uses
- RMMV
Hey all!
So, I'm using Yanfly's Event Spawner plugin. Here's the situation: I'm spawning two events on a map, via a common event, and based on region 1 in said map. The first event, which I will call "X" does nothing on it's own. The second event is a hole, which when the player steps on it, will send them falling down to the next floor of the dungeon.
Obviously I want to prevent the player from spawning on top of the hole. They woud miss the entire floor of the dungeon. Fortunatly, the plugin being used means that the hole cannot spawn on top of another event, and must select another tile in the region to spawn on instead. The plan is, I spawn the X, then I spawn the hole somewhere else, I move the player on the X, then de-spawn the X, and then the level can begin.
Here's the tricky part: I do not know how to set player location based on a spawned event. I don't even know if one can do such a thing. If you fine folks can see a solution, be it via a plugin, or some clever coding, please do let me know. Thanks for reading; have a pleasant wednesday.
So, I'm using Yanfly's Event Spawner plugin. Here's the situation: I'm spawning two events on a map, via a common event, and based on region 1 in said map. The first event, which I will call "X" does nothing on it's own. The second event is a hole, which when the player steps on it, will send them falling down to the next floor of the dungeon.
Obviously I want to prevent the player from spawning on top of the hole. They woud miss the entire floor of the dungeon. Fortunatly, the plugin being used means that the hole cannot spawn on top of another event, and must select another tile in the region to spawn on instead. The plan is, I spawn the X, then I spawn the hole somewhere else, I move the player on the X, then de-spawn the X, and then the level can begin.
Here's the tricky part: I do not know how to set player location based on a spawned event. I don't even know if one can do such a thing. If you fine folks can see a solution, be it via a plugin, or some clever coding, please do let me know. Thanks for reading; have a pleasant wednesday.

