Jump to content
  • 0

Timed NPC's


insarius

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

Hey all,

We would like to script timed events, and maybe a timer on our healer aswell.

Our events would be simply a NPC popping up every 2 weeks with a treasure hunt, giving EXP in the end.

I can script the latter but I don't know how to properly execute the timer.

And I'd like a 1 hour timer for my healer. :)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

On<weekday><hour><minute>:
OnDay<month><day>:

You can use OnSun1500: for Sunday 3PM but for 2 weeks once is a bit tricky.

Example:

prontera,150,150,1   script   Valentine   53,{
mes "Happy valentine!";
close;

OnDay0214:
hideoffnpc;
end;

OnDay0215:
hideonnpc;
end;

OnInit:
hideonnpc;
end;
}

NPC above will only appears when 0214 (February 14th as server time) and hide after 2015 (Feb 15th).

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  106
  • Reputation:   3
  • Joined:  09/21/12
  • Last Seen:  

On<weekday><hour><minute>:
OnDay<month><day>:

You can use OnSun1500: for Sunday 3PM but for 2 weeks once is a bit tricky.

Example:

prontera,150,150,1   script   Valentine   53,{
mes "Happy valentine!";
close;

OnDay0214:
hideoffnpc;
end;

OnDay0215:
hideonnpc;
end;

OnInit:
hideonnpc;
end;
}

NPC above will only appears when 0214 (February 14th as server time) and hide after 2015 (Feb 15th).

Thanks Darristan.

I guess we'll just reduce the exp reward and make it weekly. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...