EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Change Color of quest::shout2? (https://www.eqemulator.org/forums/showthread.php?t=39256)

Missneye 01-21-2015 01:58 AM

Change Color of quest::shout2?
 
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:

Code:

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:
Code:

quest::we(315, "I have been killed!");
For reference:
Code:

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.


All times are GMT -4. The time now is 03:35 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.