Jump to content
  • 0

instance_init for 1 Map of the Instance only


Creobnil

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   3
  • Joined:  04/16/12
  • Last Seen:  

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

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...