Hi I wish to add a delay function which can be used through out my mud, to stage the effects of skills, spells, fight messages etc. in standard c this function is already included 'delay(num of secs);' but this would not work on a mud because it would stop the whole muc for the specified time. has anyone done anything like, or has anyone got any ideas how it could be done, please try to give details or examples. Just so you know what I mean i will give an example of it's use: <player> wiggles his fingers mystically wais for 5 seconds <Player> Starts to chant out loud waits 10 secs <player> dances around his victim Then the outcome message from messages or the spell. Ideally this could be coded like this act(" $n wiggles his fingers mystically",char,0,vict,ch); wait_state(5); act(" $n starts to chant out loud",char,0,vict,ch); wait_state(10); act(" $n starts to dance around his victim",char,0,vict,ch); wait_state(5); send_to_char("You complete the incantation and wait hopefully", ch); etc etc Any help appriciated Cheers Alex Mann www.naryan.co.uk _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/11/01 PDT