Jump to content
  • 0

Help With OnTimer


ProtoMan

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  01/06/13
  • Last Seen:  

Hello guys!
I've a problem, I used this script for some days, but now It doesn't works; I need that the NPC goes after that I talk with it and come back after 3 hours; ALL the script works fine, but the NPC, after that was hidded, doesn't come back. Anyone can help me with this?

Thanks so much!

[...]
mes "[Heros Dungeon Master]";
mes "Very well;";
next;
mes "[Heros Dungeon Master]";
mes "Good luck, LET's GO !!";
startnpctimer;
announce "The party of "+strcharinfo(0)+" start the Heros' Dungeon, it will open again in 3 hours!",0;
next;
mapwarp "job3_gen01","1@cata",143,55;
hideonnpc "Heros Dungeon Master";
end;


OnTimer10800000:
announce "The Heros' Dungeon is now open.",0;
hideoffnpc "Heros Dungeon Master";
killmonsterall "1@cata";
killmonsterall "job3_rune02";
end;

[...]
 
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Check the docs for startnpctimer

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  97
  • Reputation:   0
  • Joined:  01/06/13
  • Last Seen:  

Check the docs for startnpctimer

 

Maybe I must use 'initnpctimer' , right?

​I will try

Edited by ProtoMan
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...