minx123 2 Posted April 15, 2015 (edited) hello.. i need help for when using command @mvpsummon all mvp that list on file.txt will be summon and will be at random area in 1 map.. can someone help me? its same like this. // Create @mvpsummon command bindatcmd "mvpsummon", strnpcinfo(3) +"::Onmvpsummon", .auth, .auth; end; Edited April 15, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 16, 2015 monster "this",-1,-1,"--ja--",.mobids[rand(getarraysize(.mobids))],1,""; --ja-- is what @ ???? Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted April 16, 2015 It makes the summon use the default mob's name. Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 16, 2015 It makes the summon use the default mob's name. so that line no need to change? Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 16, 2015 (edited) thank you.. btw how to disable mvp from teleport? @@Alayne Edited April 16, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted April 16, 2015 - script mvp_command -1,{OnInit: // Configurations: .cmdname$ = "mvp"; // Name of the command? .useLevel = 70; // Who can use this command? // Random mobs that will come out of the command // Fill up with mob IDs setarray .mobids[0],1002,1003; // Add or change Mob IDs here // Don't edit past here bindatcmd .cmdname$, strnpcinfo(3)+"::OnAtcommand",.useLevel; end;OnAtcommand: //Use custom spawn set monster "this",-1,-1,"--ja--",.mobids[rand(getarraysize(.mobids))],1,""; dispbottom "A random MvP was summoned!"; end;} based on this script, how to display the spawned MVP name instead of A random MVP was summoned ? Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted April 16, 2015 (edited) @@mrlongshen Replace OnAtcommand://Use custom spawn setmonster "this",-1,-1,"--ja--",.mobids[rand(getarraysize(.mobids))],1,"";dispbottom "A random MvP was summoned!";end; by OnAtcommand://Use custom spawn setset .@mobId, .mobids[rand(getarraysize(.mobids))];monster "this",-1,-1,"--ja--",.@mobId,1,"";Dispbottom " " + getmonsterinfo(.@mobId,MOB_NAME) + " has been spawned"end; @@minx123 I dunno if you can prevent mvp from warping in any other way than disabling their teleport skills in mob_skill_db.txt...Never had to do that, and dunno if it's possible to prevent only mvp from warping. Edited April 16, 2015 by Alayne Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted April 16, 2015 @@Alayne thanks so much Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted April 16, 2015 No problem ^^ Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 17, 2015 @@Alayne thank you for ur support and all its work.. nice one! Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted April 17, 2015 No problem. Tagg the topic in "answered" if we're done Quote Share this post Link to post Share on other sites
hello.. i need help for when using command @mvpsummon all mvp that list on file.txt will be summon and will be at random area in 1 map..
can someone help me? its same like this.
Share this post
Link to post
Share on other sites