Nero Posted December 16, 2016 Posted December 16, 2016 Hello may i request example if eddga is dead then pvp off in pay_fild11 else pvp on Quote
1 Skorm Posted December 17, 2016 Posted December 17, 2016 23 hours ago, Nero said: Hello may i request example if eddga is dead then pvp off in pay_fild11 else pvp on Comment out the old Eddge spawn in npc/pre-re/mobs/fields/payon.txt Like: //pay_fild11,0,0,0,0 boss_monster Eddga 1115,1,7200000,600000,1 And add this npc. - script Eddga_Spawn_PVP -1,{ OnOffPVP: removemapflag "pay_fild11",mf_pvp; sleep rand(600000,7200000); OnInit: setmapflag "pay_fild11",mf_pvp; monster "pay_fild11",0,0,"Eddga",1115,1,"Eddga_Spawn_PVP::OnOffPVP"; } Quote
0 iamjhigz Posted May 16, 2020 Posted May 16, 2020 @Skorm How to make it announce? announce "[ System ] : Player ["+ strcharinfo(0) +"] of party ["+ strcharinfo(1) +"] has killed "+ getmonsterinfo( killedrid, MOB_NAME ) +" at "+ strcharinfo(3), bc_all; - script MOB_NAME_Spawn_PVP -1,{ OnOffPVP: removemapflag "orcsdun02",mf_pvp; sleep rand(60000,6000); OnInit: setmapflag "orcsdun02",mf_pvp; monster "orcsdun02",0,0,"Orc Lord",1190,1,"MOB_NAME_Spawn_PVP::OnOffPVP"; announce "Orc Lord has spawned at Orc Dungeon 2!",bc_blue|bc_all; Quote
0 Kreustoo Posted May 16, 2020 Posted May 16, 2020 Put your announce just after the first label OnOffPVP: Quote
0 iamjhigz Posted May 16, 2020 Posted May 16, 2020 @Kreustoo when i disabled this the mvp ladder stop recognizing it. But the Goodnews it off the pvp. //orcsdun02,0,0,0,0 boss_monster Orc Lord 1190,0,2700000,0,0 i think this script can't read as mob_name monster "orcsdun02",0,0,"Orc Lord",1190,1,"MOB_NAME_Spawn_PVP::OnOffPVP"; i tried to change everything at my mvp ladder. but still no hope. @Skorm senpai why mvp ladder cant read this npc - script Eddga_Spawn_PVP -1,{ OnOffPVP: removemapflag "pay_fild11",mf_pvp; sleep rand(600000,7200000); OnInit: setmapflag "pay_fild11",mf_pvp; monster "pay_fild11",0,0,"Eddga",1115,1,"Eddga_Spawn_PVP::OnOffPVP"; } Quote
Question
Nero
Hello may i request example if eddga is dead then pvp off in pay_fild11 else pvp on
4 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.