Kido Posted October 9, 2013 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted October 9, 2013 It is a MvP invasion,i know that i have only to change onminute00; but im not sure if i puted correctly this script first script - script mvpinis -1,{ OnInit: setarray .Map$[0],"prontera","morocc","geffen","payon","alberta","aldebaran","xmas","comodo","yuno","amatsu","gonryun","umbala","louyang","ayothaya","eibroch","hugel","rachel","veins","moscovia"; setarray .MVP[0],1511,1785,1630,2320,1039,1272,1719,1389,1115,1418,1252,1086,1885,1492,1734,1251,1688,2156,1373,1147,1087,1190,1038,1157,1159,1623,1583,1312,1685,1658; end; OnMinute00: killmonster .Map$[ .RandMap ],"All"; set .RandMap,rand( getarraysize( .Map$ ) ); set .RandMVP,rand( getarraysize( .MVP ) ); monster .Map$[ .RandMap ],0,0,"MVP Event",.MVP[ .RandMVP ],1,strnpcinfo(0)+"::OnKilled"; announce "Invasion MvP : "+getmonsterinfo( .MVP[ .RandMVP ],0 )+" han invadido "+.Map$[ .RandMap ]+" .",0; end; OnKilled: announce "Evento MvP : Todos los MvP han sido cazados",0; set mvp_point, mvp_point + 1;// +1 mvp point end; } then where to ass this? also this makes the event run every 8 hours? kinda confused i do not know this one if( .event_timer%8 ) end; .event_timer++; thanks in advice Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 9, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted October 9, 2013 OnMinute00: .event_timer++; if( .event_timer % 8 == 0 ) end; 1 Quote Link to comment Share on other sites More sharing options...
Kenpachi Posted October 9, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 764 Reputation: 220 Joined: 11/14/11 Last Seen: November 19, 2020 Share Posted October 9, 2013 Or another way is this: OnClock0000: OnClock0800: OnClock1600: <your code> Or this: OnHour00: OnHour08: OnHour16: <your code> 2 Quote Link to comment Share on other sites More sharing options...
Kido Posted October 9, 2013 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Author Share Posted October 9, 2013 (edited) OnMinute00: .event_timer++; if( .event_timer % 8 == 0 ) end; Or another way is this: OnClock0000: OnClock0800: OnClock1600: <your code> Or this: OnHour00: OnHour08: OnHour16: <your code> thanks to both o:! this weill help me to set any future automatic events :3! i find the emistry one pretty easir to use, thanks again to both! Edit: The invasion starsts every hour x_x now using kenpachi script thanks to both :3 Edited October 16, 2013 by Kido Quote Link to comment Share on other sites More sharing options...
Question
Kido
It is a MvP invasion,i know that i have only to change onminute00; but im not sure if i puted correctly this script
first script
then where to ass this? also this makes the event run every 8 hours? kinda confused i do not know this one
thanks in advice
Link to comment
Share on other sites
3 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.