  | | | adding timers to spells | adding timers to spells 2004-11-29 - By moclamoose
Back Question!
How does one go about adding a timer to a spell so that the first part of the spell is cast... ie something like:
cast thunder bob
*** The sky grows dark and winds begin to swirl as Fred points *** *** to upwards towards the heavens! ***
timer...tick tick tick
-!- Bolts of lightning burst from the dark clouds crashing into Bob -!-
I attempted to add in a timer to one of the smaug skills but rather than pasting my code here (since we arent supposed to I think?) I was hoping someone could give advice on the best way to do the above.
Thank you again!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2900.2523" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Question!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>How does one go about adding a timer to a spell so that the first part of the spell is cast... ie something like:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>cast thunder bob</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>*** The sky grows dark and winds begin to swirl as Fred points ***</FONT></DIV> <DIV><FONT face=Arial size=2>*** to upwards towards the heavens! ***</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>timer...tick tick tick</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>-!- Bolts of lightning burst from the dark clouds crashing into Bob -!-</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I attempted to add in a timer to one of the smaug skills but rather than pasting my code here (since we arent supposed to I think?) I was hoping someone could give advice on the best way to do the above.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thank you again!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
|
|
 |