Quest timers
I'm looking for a good example of a quest that has an NPC shout something periodically. Can someone suggest one to look at?
Thanks. |
This is a pretty basic example:
Code:
sub EVENT_SPAWN { Code:
quest::settimer("repeat", quest::ChooseRandom(60, 60, 90)); Another cool thing is that you can change quest::shout to quest::shout2, and it will shout across ALL zones. Hope this does what you're looking for. |
You can find examples of this and many other quest examples in GeorgeS' quest tool from his website.
http://66.159.225.58/eqemu/eq.html |
Just a quick note... If you don't stop the timer when it triggers, you don't have to reset it. So the code for that can be even shorter:
Code:
sub EVENT_SPAWN { |
Quote:
|
All times are GMT -4. The time now is 10:06 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.