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

Atomik

New member
Messages
23
Points
0
Age
29
Location
CyberSpace
Emulator
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 

 
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>})

Code:
enum instance_owner_type {
    IOT_NONE,
    IOT_CHAR,
    IOT_PARTY,
    IOT_GUILD,
    /* ... */
    IOT_MAX,
};
 
Back
Top