Orange Custom Events
Orange Custom Events 1.1Hudell
Introduction
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:
$gameMap.copyEvent(1, 15, 20, true);
Plugin Command:
Code:
copy event 1 to position 15 20
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.
To 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:
$gameMap.copyEventFrom(5, 1, 15, 20, true)
Plugin Command:
Code:
copy event 1 from map 5 to position 15 20
This will copy event 1 from map 5 to position 15, 20 on the current map.
To copy an event from the same map to a random tile of a specific region:
Script Call:
Code:
$gameMap.copyEventToRegion(1, 2, true);
Plugin Command:
Code:
copy event 1 to region 2
where:
1 = 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:
$gameMap.copyEventFromMapToRegion(5, 1, 2, true);
Plugin Command:
Code:
copy event 1 from map 5 to region 2
This will copy event 1 from map 5 to a random tile with region 2 on the current map.
To fill a region with an event from the same map:
Script Call:
Code:
$gameMap.spawnMapEvent(1, 2, true);
Plugin Command:
Code:
spawn event 1 on region 2
This will copy event 1 from the current map and add it to every tile with the region 2.
To fill a region with an event from another map:
Script Call:
Code:
$gameMap.spawnMapEventFrom(5, 1, 2, true);
Plugin Command:
Code:
spawn event 1 from map 5 on region 2
This will copy event 1 from map 5 and add it to every tile with the region 2 on the current map.
To permanently delete a copied event, use the following plugin command:
Code:
delete this event
Plugin
Get it from here
Dependencies
None.
FAQ
I'll keep a small FAQ here for easy reference.
Credit and Thanks
- Hudell
本贴来自国际rpgmaker官方论坛作者:Hudell处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/orange-custom-events.46527/
页:
[1]