Maani
05-07-2006, 12:45 AM
Hi there
After reading the CHAT_MSG_MONSTER_YELL event specifics on wowwiki it seems like it's not the same as CHAT_MSG_YELL whereby arg2 is the name of the person that yelled. Wowwiki says:
CHAT_MSG_MONSTER_YELL
arg1: Text of message. (http://www.wowwiki.com/Events_C_(Cancel,_Character,_Chat,_Cinematic,_Clear,_Close,_Confirm,_Corpse,_Craft,_Current,_Cursor, _CVar)#CHAT_MSG_MONSTER_YELL)
I'm trying to get the name of the monster that yelled, such as:
"Ragnaros yells: BY FIRE BE PURGED!"
I'm trying to have something react when the name of the monster is, continuing the example, "Ragnaros". You can do it with CHAT_MSG_YELL for players and "arg2" will be the players name but there doesn't seem to be an "arg2" for CHAT_MSG_MONSTER_YELL according to wowwiki.
I did have a search and I found something that kinda was on the line of helping me from this screenshot (http://img74.imageshack.us/img74/5916/bug9dr.jpg), but they said in the thread which mod it could be that does that but I could spend weeks trying to read .lua files and trying to find it.
Does anyone know how I could extract the monsters name? Thanks in advance for any help.
After reading the CHAT_MSG_MONSTER_YELL event specifics on wowwiki it seems like it's not the same as CHAT_MSG_YELL whereby arg2 is the name of the person that yelled. Wowwiki says:
CHAT_MSG_MONSTER_YELL
arg1: Text of message. (http://www.wowwiki.com/Events_C_(Cancel,_Character,_Chat,_Cinematic,_Clear,_Close,_Confirm,_Corpse,_Craft,_Current,_Cursor, _CVar)#CHAT_MSG_MONSTER_YELL)
I'm trying to get the name of the monster that yelled, such as:
"Ragnaros yells: BY FIRE BE PURGED!"
I'm trying to have something react when the name of the monster is, continuing the example, "Ragnaros". You can do it with CHAT_MSG_YELL for players and "arg2" will be the players name but there doesn't seem to be an "arg2" for CHAT_MSG_MONSTER_YELL according to wowwiki.
I did have a search and I found something that kinda was on the line of helping me from this screenshot (http://img74.imageshack.us/img74/5916/bug9dr.jpg), but they said in the thread which mod it could be that does that but I could spend weeks trying to read .lua files and trying to find it.
Does anyone know how I could extract the monsters name? Thanks in advance for any help.