Can someone confirm this actually works?
quest::we(colorid, "Text") - Server wide emote. I have not been able to get this to work on my server. Thanks. |
Try this example:
Code:
quest::we(15, "Testing!"); |
My text is a bit longer, but otherwise identical:
Code:
quest::we(15, "You sense the ring has been found. It is now in the vicinity of $zoneln."); |
it did work. maybe due to language being implemented with some things such as this not being updated.
|
Quote:
You sense the ring has been found. It is now in the vicinity of $zoneln.? at a quick glance, i think you need to have it Code:
quest::we(15, "You sense the ring has been found. It is now in the vicinity of ".$zoneln."."); pls correct if i'm wrong. |
Variables work inside quotes.
|
I stand corrected.
Thanks joligario. |
Quote:
|
I know this is sort of getting away from the topic of this post, but how are you calling the emote?
When I run it with a simple say event it works fine. I get the yellow text immediately. Granted I haven't tried it with anything else, but just curious as to how you are calling it. Code:
sub EVENT_SAY { |
I have tried it with both a simple EVENT_SAY and an EVENT_ENTERZONE. Each one contains other quest functions that are at the same level as the emote. They all work fine, just not the emote.
|
I experimented a bit with this, and it appears that the functions in the event work only up to the quest::we() function. Then functionality stops. E.g., in the following, the "say" function works (the "we" function does not):
sub EVENT_SAY { if($text=~/hail/i) { quest::say("Hi there"); quest::we(15, "Testing!"); } } But in the following example, neither one works (i.e., the "we" function prevents the rest of it from working): sub EVENT_SAY { if($text=~/hail/i) { quest::we(15, "Testing!"); quest::say("Hi there"); } } |
The new World and Zone emote quest commands were added quite a while ago and work fine. Which version of the server code are you running currently?
|
Quote:
|
Does Eqemu23 sound right?
|
LOL no, it would be something like EQEmu 0.7.0.1129 Revision 559 for the current version.
|
All times are GMT -4. The time now is 03:01 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.