Jump to content
  • 0
Sign in to follow this  
xienne15

10 seconds timer please help me add

Question

How can i make the NPC have a timer for 10 seconds. here is my script

 

	mes "[ArchBishop]";	mes "I will be calling him now from the Church.";	next;	mes "[ArchBishop]";	mes "He will be here in 10 seconds,just wait for him.";	next;	mes "[ArchBishop]";	mes "Goodbye~";	summon "Poring",1002,3000, strnpcinfo(0) +"::On"+ getcharid(0);	close;

So the timer will be added after the bishop say he will be here in 10 seconds. And the player will need to wait 10 seconds after the bishop says the line  Goodbye~.

Edited by xienne15

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Use sleep2 script command instead of sleep, because sleep detaches the player and you may get errors on the NPC.

 

After that, you should enablenpc on an NPC previously disabled right next to the main NPC for the "appearing NPC" effect.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.