10 seconds timer please help me add

xienne15

New member
Messages
120
Points
0
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~.

 
Last edited by a moderator:
try

sleep 10000;


default_ani_meow.gif


 
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.

 
Back
Top