Been trying to make this work to call the spawn of an event X number of times on a region basis. Ideally the region has 6 spots on the map, I want to spawn 3 of them at random when I enter the map. I created an event of the npc I want spawned, tossed it on a holding map (was thinking for my own sake to create a map of my "roaming enemies" so I can tweak all of them across the game easily in one place) and went through the process of adding the spawning script to the map I want 3 of them to spawn on.
Each time I seem to only be able to get one of them. I've tried calling the script 3 times on the same page targeting the same event. Calling it 3 times on 3 different pages within the event to call 3 different event targets, always the same result. Is the script limited on how many things I can random spawn? I must be doing something wrong, seems to me from Yanfly's description that it's meant to do this sort of thing.
Imported the script found here: https://github.com/Archeia/YEARepo/blob/master/Utility/Spawn_Event.rb and I've been using the following scripted call in my event: spawn_event_region(63, 1, 104) with the event set to autorun. I am certain I'm missing an important step to getting this call to happen 3 times and spawn 3 new events.
Thanks in advance!
Each time I seem to only be able to get one of them. I've tried calling the script 3 times on the same page targeting the same event. Calling it 3 times on 3 different pages within the event to call 3 different event targets, always the same result. Is the script limited on how many things I can random spawn? I must be doing something wrong, seems to me from Yanfly's description that it's meant to do this sort of thing.
Imported the script found here: https://github.com/Archeia/YEARepo/blob/master/Utility/Spawn_Event.rb and I've been using the following scripted call in my event: spawn_event_region(63, 1, 104) with the event set to autorun. I am certain I'm missing an important step to getting this call to happen 3 times and spawn 3 new events.
Thanks in advance!