The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
OnNPCKillEvent Message Help
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Kinx
hello
add pls, when you have killed all the Vitata 1x *you have killed all the vitata*, if you have killed all mobs 1x Player Annonce *you have done the quest*
anthell02,170,165,3 script Waffel#0 112,{ mes "You have to kill:"; mes "You have "+VitataKills+"/10 Vitata..."; mes "You have "+AntEggKills+"/55 Ant Egg..."; mes "You have "+FamiliarKills+"/5 Familiar"; next; if(VitataKills < 10) goto l_nokills; if(AntEggKills < 55) goto l_nokills; if(FamiliarKills < 5) goto l_nokills; getitem 678,5 ; close; l_nokills: mes "You didn't kill enough monsters!"; close; OnNPCKillEvent: if(killedrid == 1176) // = Vitata { set VitataKills,VitataKills + 1; dispbottom "You killed "+VitataKills+"/10 Vitata."; }else if (killedrid == 1097) // = Ant Egg { set AntEggKills,AntEggKills + 1; dispbottom "You killed "+AntEggKills+"/55 AntEgg."; }else if (killedrid == 1005) // = Familiar { set FamiliarKills,FamiliarKills + 1; dispbottom "You killed "+FamiliarKills+"/5 Familiar."; } end; }
Link to comment
Share on other sites
9 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.