The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: h3llh0und on April 24, 2010, 09:59:19 PM

Title: [REQUEST]Spawn/copy event from another map script
Post by: h3llh0und on April 24, 2010, 09:59:19 PM
Oh well, I saw on the script DB that there's a script that lets you "spawn" events by script commands... but what I need is to make a COPY of an event from another map

it would work like this, I would have a dummy map with event 1 = dog and event 2 = cat

what I want to do is to make a new instance of those events on another map so I don't have to add lots of inactive events on the map (because of lag issues)

something like this "$???.Spawn = (Dummy_MapID, Event_ID, New_Map, PosX, PosY)

Dummy_mapid = Where the event is
Event Id = Id of the event
New_Map = Where to spawn the event
PosX = Position X of where it'll be spawned
PosY = Poisition Y of where it'll be spawned

with this you could do alot of things (I already have 4 systems in mind)
Btw, as no one did something like this yet... Maybe it's too hard to do?
Title: Re: [REQUEST]Spawn/copy event from another map script
Post by: modern algebra on April 25, 2010, 06:11:23 PM
Well, it's not a bad idea, but I think woratana has made something similar in his Christmas Giftbox (http://rmrk.net/index.php/topic,31518.0.html). It's Call Event, and it calls and runs a page from another event in any map in the page where it is called.

If that isn't sufficient for what you want to do, then I might be able to write this script for you, but probably not for a little while. But I wouldn't say it is a very hard script to write, so you don't have to worry about that. Also, when you call an event, do you want it to be cut from the map it's called from? Or do you want it to just be copied and appear in both maps?
Title: Re: [REQUEST]Spawn/copy event from another map script
Post by: h3llh0und on April 25, 2010, 08:06:11 PM
Have you played Digimon World 1 and worked in the monochrome shop?
http://www.youtube.com/watch?v=1sdIlKN5tIA

or have you seen any time management game that keep spawning lots of npcs and you have to do certain things?

this is what i'm trying to accomplish, I can do it by eventing... but it'll take lots of events in the same map...

---

I have this wora script and it does work wonders but it as you said xD
It doesn't copy the event ;x

answering you question yeah I want to make a instance(copy) of the event, this way I can make more than one at the same time o/

for now I still have lots of things to do before using this script so no rush needed
take the time you want ^^

I didn't even think someone would actually accept this request ;x

thanks for looking to my request o/ your's, wora's and yanfly's scripts are the best