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

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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