i tried to make a map as instance. But i heard that there is a new instance system. How to use it? i have take a look at the script_commands.txt but dont get it...
This is was i tried but dont work...
payon,150,155,1 script NPC 723,{
set .@instance, instance_create("rent1 instanced", getcharid(1));
if( .@instance < 0 )
{
mes "Failed to create the instance!";
close;
}
if( instance_attachmap("rent1", .@instance) == "" )
{
instance_destroy(.@instance);
mes "Failed to attach the map!";
close;
}
instance_attach(.@instance);
instance_set_timeout(3600, 300, .@instance);
instance_init(.@instance);
warp "rent1", 20, 20;
}
Question
Vincent
Hello,
i tried to make a map as instance. But i heard that there is a new instance system. How to use it? i have take a look at the script_commands.txt but dont get it...
This is was i tried but dont work...
Link to comment
Share on other sites
23 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.