EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   Emote 15? (https://www.eqemulator.org/forums/showthread.php?t=14885)

Cisyouc 07-19-2004 03:50 PM

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?

cofruben 07-25-2004 10:20 PM

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).


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

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