Orange Custom Events 1.1
Hudell
IntroductionHudell
This plugin Will let you add or copy events from any map to the current map
How to Use
To copy an event from the same map:
Script Call:
Code:
Plugin Command:$gameMap.copyEvent(1, 15, 20, true);Code:
This will copy event 1 to position 15, 20. The "true" at the end indicates that the event should not be re-added automatically when the player leaves the map and comes back.copy event 1 to position 15 20To make the plugin save the event, change it to false on the script call or add "SAVE" at the end of the plugin command.
To copy an event from another map:
Script Call:
Code:
Plugin Command:$gameMap.copyEventFrom(5, 1, 15, 20, true)Code:
This will copy event 1 from map 5 to position 15, 20 on the current map.copy event 1 from map 5 to position 15 20To copy an event from the same map to a random tile of a specific region:
Script Call:
Code:
Plugin Command:$gameMap.copyEventToRegion(1, 2, true);Code:
where:copy event 1 to region 21 = Event ID;
2 = Region Number;
true = temporary event.
To copy an event from another map to a random tile of a specific region:
Script Call:
Code:
Plugin Command:$gameMap.copyEventFromMapToRegion(5, 1, 2, true);Code:
This will copy event 1 from map 5 to a random tile with region 2 on the current map.copy event 1 from map 5 to region 2To fill a region with an event from the same map:
Script Call:
Code:
Plugin Command:$gameMap.spawnMapEvent(1, 2, true);Code:
This will copy event 1 from the current map and add it to every tile with the region 2.spawn event 1 on region 2To fill a region with an event from another map:
Script Call:
Code:
Plugin Command:$gameMap.spawnMapEventFrom(5, 1, 2, true);Code:
This will copy event 1 from map 5 and add it to every tile with the region 2 on the current map.spawn event 1 from map 5 on region 2To permanently delete a copied event, use the following plugin command:
Code:
Plugindelete this eventGet it from here
Dependencies
None.
FAQ
I'll keep a small FAQ here for easy reference.
Credit and Thanks
- Hudell