Original Source
- Original title: Question about Yanfly's Spawn Event Script
- Original author: Zephyr Games
- Original date: August 26, 2015
- Source thread: https://forums.rpgmakerweb.com/threads/question-about-yanflys-spawn-event-script.44137/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support
Summary
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...
Archived First Post
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!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...