I have a problem. When i enter to my instance all npc are enable and there are no mobs. I have a warp portal inside that map and i dont want it is enabled because it enabled when players kill mvp from this map.
How i can disable it?
prontera,150,150,0 script Instanced Prontera#a 101,{
set .@instance$, "Primer Jefe";
if (instance_id()) {
if (select("Enter Instance.:Cancel.") == 2) end;
if (instance_enter(.@instance$) != 0) {
mes "Instance entrance ^FF0000failed^000000.";
close;
}
} else {
if (select("Create Instance.:Cancel.") == 2) end;
if (instance_create(.@instance$) < 0) {
mes "Instance creation ^FF0000failed^000000.";
close;
}
mes "Instance created.";
close2;
instance_enter(.@instance$);
}
end;
OnInstanceInit:
disablenpc instance_npcname(strnpcinfo(0));
end;
}
Question
angelwarrior
I have a problem. When i enter to my instance all npc are enable and there are no mobs. I have a warp portal inside that map and i dont want it is enabled because it enabled when players kill mvp from this map.
How i can disable it?
Link to comment
Share on other sites
5 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.