save = true to save event and respawn it when you re-enter map.y = y coordinate to place the event on the game map.x = x coordinate to place the event on the game map.eventId = the Id of the event on the map specified in mapId.mapId = the Id of the map which holds the event you want to spawn.Script Calls: Ritter.spawnEvent(mapId, eventId, x, y, save) Play test and try the script calls below! Place below Ritter_BoundarySystem when using Boundary System + Spawner.Ĭonfigure the parameters to fit your needs.Ĭreate a new map to use for holding your source/template events to be used by the spawner to copy onto the game map.
This allows for creating the feel of an unlimited number of enemies, excellent for ABS games! Automatically spawn enemies outside of the players screen and unspawn them when they are too far away! (Separate plugin Ritter_BoundarySystem required!)Ĭlick here to Purchase Ritter Ultimate Event Spawner & Ritter Boundary System Bundle and save! Install Instructions:ĭownload the plugin file and place it inside your projects js/plugins folder.Īdd Ritter_EventSpawner plugin to your projects plugin manager.