Nero Posted October 27, 2014 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
Winz Posted October 27, 2014 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
Nero Posted October 27, 2014 Author 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
Winz Posted October 27, 2014 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
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 sampang993 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.