Nana Posted December 23, 2012 Posted December 23, 2012 Is there any chanse to have a global variable that gets a counter of how many mobs you kill in certain map? I think use onKillEvent that adds one to this variable or autoincrement everytime but I don't know if exist a better way? Thanks! Quote
Capuche Posted December 23, 2012 Posted December 23, 2012 You can use event prontera,96,50,2,2 monster Strange Hydra 2081,5,5000,0,"uyihjko::OnPaf" ... OnPaf: set @countM, @countM + 1; ... set .countM, .countM + 1; or ... OnNPCKillEvent: if( strcharinfo(3) != "prontera" ) end; set @countM, @countM + 1; ... Well, it depends on what you want to do. Quote
Question
Nana
Is there any chanse to have a global variable that gets a counter of how many mobs you kill in certain map?
I think use onKillEvent that adds one to this variable or autoincrement everytime
but I don't know if exist a better way?
Thanks!
2 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.