PDA

View Full Version : Emote 15?


Cisyouc
07-19-2004, 03:50 PM
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.
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).