Hey everyone, I need a bit help with a new script command...
I want a command like "instance_init", but for one map at the time only.
It doesn't have to be a complete new command. It would be enough to change instance_init like I need it..
I need something like this:
instance_initmap "<map name>"{,<instance id>};
or
instance_init <instance id>{,"<map name>"};
Example:
set $instanceID, instance_create("New Instance",0,IOT_NONE); // Create the instance
instance_attachmap("prontera",$instanceID,1,"Cursed Prontera"); // Attach a map to the instance
instance_attachmap("prontera",$instanceID,1,"Blessed Prontera"); // Attach a second map to the instance
instance_initmap "Cursed Prontera",$instanceID; // Only initialize the first one
I want to add maps to the instance on different points later on but cant initialize them because the instance
already was initialized before. Is it possible to do something like above?
A changed instance_attachmap would work too, if it's easier to make.
Something like instance_attachmap2(), and it would work like instance_attachmap only with the
difference that it will initialize the map after it was attached to the instance.
So is anyone here able to, or wants to help me creating this command?
I don't even know how to start. ^^"
Hopefully someone knows what i meant. My English is not the best. D: