View Single Post
  #1  
Old 08-15-2005, 07:04 PM
FaerinTelDanor
Sarnak
 
Join Date: Jul 2005
Location: Ottawa, Ontario. Canada
Posts: 30
Default Does EVENT_HP work in 0.6.0-dr3?

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:

Code:
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.
Reply With Quote