Jump to content
  • 0
Sign in to follow this  
Atomik

is it possible to Create Multiple instances for a single map.

Question

Hey guys,

Just wanted to know if its possible to create Multiple instances for a single map.

For Example .

A guy takes a Quest and he is teleported to a Map to complete the following quest of killing a monsters.

At same time another guy takes the same QUEST But then i dont want him to go in same map as the other guy instead of that i want to create a separate instance for this guy .

So i wanna make it like the quest can be only done solo .

Kindly help me out with it <3

Regards,
Atomik 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

You can assign an instance to different owners. By default, it is set to party, but it can also attach to an Account ID (IOT_CHAR) or Guild ID (IOT_GUILD).

*instance_create("<instance name>", <owner id>{, <optional owner_type>})

enum instance_owner_type {
    IOT_NONE,
    IOT_CHAR,
    IOT_PARTY,
    IOT_GUILD,
    /* ... */
    IOT_MAX,
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.