FaerinTelDanor
08-15-2005, 07:04 PM
I've looked through the code and the functionality seems to be in place, but the event isn't triggering. Here's some sample PERL code that should (I think) work:
sub EVENT_SPAWN
{
quest::SetNextHPEvent(50);
}
sub EVENT_HP
{
if ($eventhp<=50)
{
quest::say("EVENT_HP fired");
}
}
I've tried with and without checking $eventhp, I've tried calling external functions instead of embedding the quest calls directly in it ... nothing seems to work.
quest::me is also not working (it acts as quest::say instead of a narrative emote).
Are these known issues with dr3, or am I going to have to start pulling apart the code peice by peice to track it down?
Thanks in advance.
sub EVENT_SPAWN
{
quest::SetNextHPEvent(50);
}
sub EVENT_HP
{
if ($eventhp<=50)
{
quest::say("EVENT_HP fired");
}
}
I've tried with and without checking $eventhp, I've tried calling external functions instead of embedding the quest calls directly in it ... nothing seems to work.
quest::me is also not working (it acts as quest::say instead of a narrative emote).
Are these known issues with dr3, or am I going to have to start pulling apart the code peice by peice to track it down?
Thanks in advance.