A downloadable tool for Windows

You can spawn and save event!

 * ========================================================

 * The plugin can spawn event from one map to current map and save spawn evnet data.

 * **********You need to write the number of the map that stores the copy event in the plugin parameters 'preLoad map'.**********

 * ========================================================

 * 1.spawn event from another map to the specific position of the current map:

 *

 *   QJ.SE.spawnXy(origin map id,origin event id,current map x,current map y[,save or not]);

 *

 *   origin map id:the id of map that stores the copy event.

 *   origin event id:the id of event to spawn in the origin map.

 *                 you can write the array of ids or range of ids to spawn a random evnet on origin map.

 *                 "1-7" mean 1 2 3 4 5 6 7。

 *                 e.g:    [1,2,3,"4-9",13,15]

 *                 then the event can be 1, 2, 3, 4, 5, 6, 7, 8, 9, 13 or 15 randomly.

 *   current map x:current map target x.   -1 -> current event`s x    -2 -> player`s x

 *   current map y:current map target y.   -1 -> current event`s y    -2 -> player`s y

 *   save or not:save the copied event data or not.the default is false.

 *               you can set the data that you want to save in the plugin parameters 'event save data'.

 *

 *   e.g:

 *      QJ.SE.spawnXy(10,2,7,9);

 *      QJ.SE.spawnXy(7,3,-1,-1);

 *      QJ.SE.spawnXy(4,1,-2,-2);

 *      QJ.SE.spawnXy(12,[1,2,3,"4-9","10-16"],-2,-2);

 *      QJ.SE.spawnXy(15,9,10,17,true);

 * ========================================================

 * 2.spawn event from another map to the specific region of the current map:

 *

 *   QJ.SE.spawnRegion(origin map id,origin event id,region id,probability[,save or not]);

 *

 *   region id: the id of region or the array of region.

 *             e.g:   1   3    [1,2,3,4,5]

 *   probability: the probability(0-1) to spawn on specific position.

 *               the default is 1 (100%)。

 *

 *   e.g:

 *     QJ.SE.spawnRegion(10,3,1,0.5);

 *     QJ.SE.spawnRegion(7,5,3,0.5);

 *     QJ.SE.spawnRegion(9,7,[7,10],0.5);

 *     QJ.SE.spawnRegion(2,9,[1,"4-7"],0.8);

 *     QJ.SE.spawnRegion(13,12,7,0.2);

 *     QJ.SE.spawnRegion(24,3,[2,5],1);

 *     QJ.SE.spawnRegion(19,[1,2,3,"4-9","10-16"],[2,5],1);

 *     QJ.SE.spawnRegion(19,[1,2,3],1,1,true);

 *

 * ========================================================

 * 3.clear the spawn event.

 *

 *   QJ.SE.clearEvent(id);

 *

 *   if you clear the event that need to save data, it will no longer to save data.

 *   id: event id.   -1 -> current event

 * ========================================================

 * 4.clear all event(includes the save event) on the map.

 *

 *   QJ.SE.clearAll(map id);

 *

 *   use QJ.SE.clearAll(-1);  or  QJ.SE.clearAll();  to clear the spawn event on current map.

 *

 * ========================================================

 * 5.get the last spawn event id:

 *

 *   QJ.SE.getLastSpawnEventId();

 *

 * ========================================================


===========================================

Terms of use:

https://qiujiu-9.github.io/?file=001-Terms_Of_Use/0-English

https://qiujiu-9.github.io/?file=001-Terms_Of_Use/1-Chinese

===========================================


Download

Download
QJ-SpawnEventMZ.rar 4 kB

Comments

Log in with itch.io to leave a comment.

Having trouble getting the events to spawn in. I'm using the spawn in region part of the plugin with the events to be spawned from Map 001. I do have Map 001 pre-loaded in the plugin settings. To activate the spawning of the events, I'm using this script in an even "QJ.SE.spawnRegion(1,[1,2,3],[77,76],0.8,true);" where 1 is the map, [1,2,3] are the events, [77,76] are the regions, 0.8 the probability of the event to spawn in that region, and true to save events location. Any pointers in the direction I need to take to get the events to spawn in?