Log in

View Full Version : Change Color of quest::shout2?


Missneye
01-21-2015, 01:58 AM
I'm editing raid mob scripts so that when they die, it is announced to the world.

Right now I have it working fine, but I want to be able to change the color so it is more noticeable. How can I do this?

If possible, I would like it to be either yellow or tan (colors 15/315 in emote).

Here is the code I have for Severilous in Emerald Jungle:

sub EVENT_DEATH
{
quest::shout2("I have been killed!");
}

Kingly_Krab
01-21-2015, 02:49 AM
shout2 Has a hard-coded color ID, however, you can do this: quest::we(315, "I have been killed!");

For reference: quest::we(color ID, "Text") - Server wide emote.
quest::ze(color ID, "Text") - Zone wide emote.

Missneye
01-21-2015, 02:53 AM
I just noticed the quest::we in the Perl Reference a couple minutes ago...not sure how I missed that.
Thank you very much!

Kingly_Krab
01-21-2015, 02:53 AM
You're welcome.