Creobnil Posted May 16, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 22 Reputation: 3 Joined: 04/16/12 Last Seen: September 9, 2018 Share Posted May 16, 2014 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: Quote Link to comment Share on other sites More sharing options...
Question
Creobnil
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:
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.