Hi good day to everyone, can anyone help me on how to insert mobs on this custom instance script.
I try to insert areamobs or monster script below but when i enter the instance i can't see any mobs inside it. Please help me.
here's the script, thank you so much in advance.
izlude,134,151,4 script The beginner 1736,{
.@n$ = "[^3355FF The beginner ^000000]";
.@party_id = getcharid(1);
.@p_name$ = getpartyname(.@party_id);
.@instance$ = "The beginner";
if (getcharid(0) == getpartyleader(.@party_id,2)) {
mes .@n$;
mes "This is where the fun really begins, I suggest you to bring friends, Do you really think you are ready?";
next;
switch(select("I'm super high and i can take anything:Enter Dungeon:Cancel")) {
case 1:
if (Zeny < 50000) {
mes .@n$;
mes "I will not send you for free.";
mes "I need to make a living.";
mes "The cost of my service is 50,000 zeny.";
mes "Would you like to proceed?";
//cutin "",255;
end;
}
if (instance_create(.@instance$) < 0) {
mes "Party Name: "+.@p_name$;
mes "Party Leader: "+strcharinfo(0);
mes "^0000ff"+.@instance$+" ^000000- Reservation Failed!";
close;
}
Zeny -= 50000;
mes .@n$;
mes "Talk to me again if you want to enter the dungeon again.";
close;
case 2:
callsub L_Enter,0,1;
case 3:
mes .@n$;
mes "Good luck!.";
close;
}
}
mes .@n$;
mes "You may enter a The beginner if it's been reserved by your party leader.";
next;
switch(select("Enter the The beginner:Cancel")) {
case 1:
callsub L_Enter,1,1;
case 2:
mes .@n$;
mes "Good luck!.";
end;
}
L_Enter:
switch(instance_enter("The beginner")) {
case 3:
mes .@n$;
mes "You are not in a party.";
close;
case 2:
mes .@n$;
mes "The private The beginner has not yet been reserved.";
mes "The party leader did not pay the fee.";
close;
case 1:
mes .@n$;
mes "You can enter the room after making a party.";
close;
case 0:
mapannounce "npc_in", strcharinfo(0)+" of the party, "+.@p_name$+", is entering a The beginner.",bc_map,"0x00ff99",FW_NORMAL,12;
end;
}
}
// Sector 1 Mobs
//============================================================
job_thief1,1,1,0 script #testmobs HIDDEN_WARP_NPC,{
//mes "Hi there";
close;
monster "job_thief1",0,0,"Apocalypse",30001,34,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Civil Servant",30002,37,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Undoer",30003,33,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Leaf Cat",30004,35,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Enchanter",30005,32,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Garm",30006,5,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Raydric DeadEye",30007,35,"testmobs::OnMobsKilled";
monster "job_thief1",0,0,"Monkey Fist",30008,22,"testmobs::OnMobsKilled";
OnMobsKilled:
//announce "Hey, " + strcharinfo(0) + " just killed a Poringz0rd!",bc_blue|bc_all;
end;
}
//==================================================================================
//--------|Map Flags|---------------------------------------------------------------
//==================================================================================
job_thief1 mapflag monster_noteleport
job_thief1 mapflag nowarpto
job_thief1 mapflag nomemo
job_thief1 mapflag noteleport
job_thief1 mapflag nosave SavePoint
job_thief1 mapflag nopenalty
Question
AsurielRO
Hi good day to everyone, can anyone help me on how to insert mobs on this custom instance script.
I try to insert areamobs or monster script below but when i enter the instance i can't see any mobs inside it. Please help me.
here's the script, thank you so much in advance.
izlude,134,151,4 script The beginner 1736,{ .@n$ = "[^3355FF The beginner ^000000]"; .@party_id = getcharid(1); .@p_name$ = getpartyname(.@party_id); .@instance$ = "The beginner"; if (getcharid(0) == getpartyleader(.@party_id,2)) { mes .@n$; mes "This is where the fun really begins, I suggest you to bring friends, Do you really think you are ready?"; next; switch(select("I'm super high and i can take anything:Enter Dungeon:Cancel")) { case 1: if (Zeny < 50000) { mes .@n$; mes "I will not send you for free."; mes "I need to make a living."; mes "The cost of my service is 50,000 zeny."; mes "Would you like to proceed?"; //cutin "",255; end; } if (instance_create(.@instance$) < 0) { mes "Party Name: "+.@p_name$; mes "Party Leader: "+strcharinfo(0); mes "^0000ff"+.@instance$+" ^000000- Reservation Failed!"; close; } Zeny -= 50000; mes .@n$; mes "Talk to me again if you want to enter the dungeon again."; close; case 2: callsub L_Enter,0,1; case 3: mes .@n$; mes "Good luck!."; close; } } mes .@n$; mes "You may enter a The beginner if it's been reserved by your party leader."; next; switch(select("Enter the The beginner:Cancel")) { case 1: callsub L_Enter,1,1; case 2: mes .@n$; mes "Good luck!."; end; } L_Enter: switch(instance_enter("The beginner")) { case 3: mes .@n$; mes "You are not in a party."; close; case 2: mes .@n$; mes "The private The beginner has not yet been reserved."; mes "The party leader did not pay the fee."; close; case 1: mes .@n$; mes "You can enter the room after making a party."; close; case 0: mapannounce "npc_in", strcharinfo(0)+" of the party, "+.@p_name$+", is entering a The beginner.",bc_map,"0x00ff99",FW_NORMAL,12; end; } } // Sector 1 Mobs //============================================================ job_thief1,1,1,0 script #testmobs HIDDEN_WARP_NPC,{ //mes "Hi there"; close; monster "job_thief1",0,0,"Apocalypse",30001,34,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Civil Servant",30002,37,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Undoer",30003,33,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Leaf Cat",30004,35,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Enchanter",30005,32,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Garm",30006,5,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Raydric DeadEye",30007,35,"testmobs::OnMobsKilled"; monster "job_thief1",0,0,"Monkey Fist",30008,22,"testmobs::OnMobsKilled"; OnMobsKilled: //announce "Hey, " + strcharinfo(0) + " just killed a Poringz0rd!",bc_blue|bc_all; end; } //================================================================================== //--------|Map Flags|--------------------------------------------------------------- //================================================================================== job_thief1 mapflag monster_noteleport job_thief1 mapflag nowarpto job_thief1 mapflag nomemo job_thief1 mapflag noteleport job_thief1 mapflag nosave SavePoint job_thief1 mapflag nopenalty
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.