Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2004, 03:50 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default Emote 15?

I asked this in IRC but kinda got nowhere so Im going to ask here =).

Is there any way, using a perl quest command, to emote #15 (Yellow Text) to a specific person? So when someone hails an NPC the NPC would essentially be doing the equivalent of "#emote $name 15 Hello!". Im developing a server right now and Ive been using quest::me() but it really isnt enough.

so,
1) Is there any way to make an npc #emote $name 15 using perl?

2) Does quest::me() make an emote for the person who triggered it only or is it for anyone in the area/zone/world?
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #2  
Old 07-25-2004, 10:20 PM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

I guess quest::me just for the person who triggered it.
for emote try this simple function.
Code:
			else if (!strcmp(strlwr(command),"yourfunction")) {
				if(mob)mob->Message(15,arglist[0]);
			}
dont forget to add the proper function including in embparser.cpp.(near the end of file).
Reply With Quote
Reply


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 04:36 AM.


 

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