Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2015, 01:58 AM
Missneye's Avatar
Missneye
Fire Beetle
 
Join Date: Nov 2014
Posts: 21
Post 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!");
}
Reply With Quote
  #2  
Old 01-21-2015, 02:49 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

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.
Reply With Quote
  #3  
Old 01-21-2015, 02:53 AM
Missneye's Avatar
Missneye
Fire Beetle
 
Join Date: Nov 2014
Posts: 21
Default

I just noticed the quest::we in the Perl Reference a couple minutes ago...not sure how I missed that.
Thank you very much!
Reply With Quote
  #4  
Old 01-21-2015, 02:53 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

You're welcome.
Reply With Quote
Reply

Tags
color, death, quest, raid, shout


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:56 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3