Nana Posted December 23, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 118 Reputation: 6 Joined: 12/20/12 Last Seen: November 10, 2014 Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted December 23, 2012 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: May 8 Share 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 Link to comment Share on other sites More sharing options...
Nana Posted December 23, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 118 Reputation: 6 Joined: 12/20/12 Last Seen: November 10, 2014 Author Share Posted December 23, 2012 Great!!! thanks a lot!!! n_n!!! Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.