Clone Events

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Clone Events v1.0
Shaz
Introduction
When you have heaps of events that are all exactly the same, and then you decide you want to make one small change, finding every single event and repeating that change can be a nightmare. This script will let you create an event once, and then clone it to any other map. If you decide you want to change something, you change one event on one map. That’s it.

How to Use
Paste into a new script slot below Materials. If there are conflicts with other scripts that alias the Game_Event.initialize method, place this script above those.

Set Your Preferences
CLONE_MAP - set this to nil if you want to copy events from any map, or to the map id (no leading zeros) if you want to keep all your source events on a single map.
USE_NAME - set this to true if you want to name your source events (all source events on the same map must have unique names), or to false if you want to refer to events via their ids (no leading zeros).

Create Your Source Events
Create the events to be copied just like you'd create any regular event. If CLONE_MAP is set to a map number, all of these source events should be on that map. If USE_NAME is set to true, all of the source events on a single map should have unique names

Create your Clones
On the map the player will visit, create a 'dummy' event (you can name it if you want, but you don't have to; you can also give it an event graphic if you want, which will help you identify/locate it later should the need arise).
This dummy event will have a single event page, with one event command - a comment.

If you are cloning events from any map (CLONE_MAP = nil) and using event names (USE_NAME = true),


Code:
<clone mapid eventname><clone 18 ogre>
If you are cloning events from any map (CLONE_MAP = nil) and using event ids (USE_NAME = false),
Code:
<clone mapid eventid><clone 18 7>
If all your source events are on the same map (CLONE_MAP = 18 or other map id) and you are using event names (USE_NAME = true),
Code:
<clone eventname><clone ogre>
If all your source events are on the same map (CLONE_MAP = 18 or other map id) and you are using event ids (USE_NAME = false),
Code:
<clone eventid><clone 7>
Script
Get it here

Credit and Thanks
- Shaz

Author's Notes
Free for use in commercial games. Give credit.

This script was originally posted over here for VX Ace, but erthia requested a conversion to VX. The scripts are slightly different, but they work in exactly the same way.
 
Last edited:

Richard John S

Rpg Maker Music Pack Contributor
Veteran
Joined
Jan 31, 2014
Messages
203
Reaction score
759
First Language
English
Primarily Uses
RMMV
Thanks again Shaz for converting this, greatly appreciated. I tried to go to the pastebin link and it say page cannot be found.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Sorry - I made a typo. Should have just copied and pasted. Please try again.
 

Richard John S

Rpg Maker Music Pack Contributor
Veteran
Joined
Jan 31, 2014
Messages
203
Reaction score
759
First Language
English
Primarily Uses
RMMV
Got it!!! Thanks again Shaz! The script is working great! :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top