Jump to content
  • 0

10 seconds timer before summoning


xienne15

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2352
  • Joined:  10/28/11
  • Last Seen:  


mes "Goodbye~";

close2;

sleep2 10000;

summon "Poring",1002,3000, strnpcinfo(0) +"::On"+ getcharid(0);

end;

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

mes "Goodbye~";
close2;
sleep2 10000;
summon "Poring",1002,3000, strnpcinfo(0) +"::On"+ getcharid(0);
end;
 

Thank you so much~ im just new to scripting so i dont know about that yet

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