Nero Posted October 27, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 194 Reputation: 2 Joined: 12/18/11 Last Seen: April 8, 2020 Share Posted October 27, 2014 (edited) Requesting For IF A Specific MOB DIES ON SPECIFIC MONSTER IT WILL ANNOUNCE THAT "SOMEONE HAS KILLED "MOB" AT "MAP" ANY PERSON WHO KILLED HIM Edited October 27, 2014 by sampang99 Quote Link to comment Share on other sites More sharing options...
Winz Posted October 27, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted October 27, 2014 OnNPCKillEvent: if( killedrid == mob_id ) announce strcharinfo(0)+" of "+strcharinfo(2)+" has slain "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end; more OnNPCKillEvent: if((killedrid == 1004 ) || (killedrid == 1005 ) || (killedrid == 1006 )) //those are fake monster ids announce strcharinfo(0)+" of "+strcharinfo(2)+" has slain "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end; a mob dies on specific monster. is it like.. a bomb explodes on a bomb? a worm walks on a worm? (ew) such inception.... Quote Link to comment Share on other sites More sharing options...
Nero Posted October 27, 2014 Group: Members Topic Count: 74 Topics Per Day: 0.02 Content Count: 194 Reputation: 2 Joined: 12/18/11 Last Seen: April 8, 2020 Author Share Posted October 27, 2014 OnNPCKillEvent: if( killedrid == mob_id ) announce strcharinfo(0)+" of "+strcharinfo(2)+" has slain "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end; more OnNPCKillEvent: if((killedrid == 1004 ) || (killedrid == 1005 ) || (killedrid == 1006 )) //those are fake monster ids announce strcharinfo(0)+" of "+strcharinfo(2)+" has slain "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end; a mob dies on specific monster. is it like.. a bomb explodes on a bomb? a worm walks on a worm? (ew) such inception.... Ohmg hahaha i made a typo sorry i mean IF A Specific Poring DIES ON SPECIFIC MAP IT WILL ANNOUNCE THAT "SOMEONE HAS KILLED "MOB" AT "MAP" poring was killed in prontera. it will announce that PORING IS NOW DEAD AT PRONTERA. Quote Link to comment Share on other sites More sharing options...
Winz Posted October 27, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted October 27, 2014 (edited) hmm, still NO. this script is made to work like this: if a Poring is killed at Prontera: - script sdfhrae -1,{ OnNpcKillEvent: if ((strcharinfo(3) == "prontera") && (killedrid == 1002)) { //sbd. in prontera, killed poring announce strcharinfo(0)+" of "+strcharinfo(2)+" has slain "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end; } end; } more, to define multiple monsters killed in multiple maps: - script sdfhrae -1,{ OnNpcKillEvent: if (( (strcharinfo(3) == "prontera") || (strcharinfo(3) == "hugel") ) && ( (killedrid == 1002) || (killedrid == 1003) ) { //sbd. in prontera or hugel, killed poring or poporing? what's 1003? announce strcharinfo(0)+" of "+strcharinfo(2)+" has slain "+getmonsterinfo( killedrid,MOB_NAME )+" at "+strcharinfo(3),bc_all,0xFF0000"; end; } end; } Edited October 27, 2014 by Winz Quote Link to comment Share on other sites More sharing options...
Question
Nero
Requesting For IF A Specific MOB DIES ON SPECIFIC MONSTER IT WILL ANNOUNCE THAT "SOMEONE HAS KILLED "MOB" AT "MAP"
ANY PERSON WHO KILLED HIM
Edited by sampang99Link 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.