[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Delaytime
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by Xinphinity   USA  (26 posts)  [Biography] bio
Date Wed 21 May 2003 05:26 PM (UTC)

I'm working on some skills like foraging and such that will allow the user to perform some pretty complex actions. However, I don't just want them to be able to do them, move on to the next thing as if the action was instant.

I'm trying to implement a skill-wide 'DelayTime' or, Round time, if you will, system.

Here is an example of how it might look.

>forage weed

You dig around in the soil for a bit but don't manage to find anything.

Delaytime: 6 seconds.

>forage weed

You can't do that yet.

Most things would be prevented during this time, but talking, most emotes, etc, would be fine.

Any ideas folks have on how this might work I'd like to hear them, good or bad.

[Go to top] top

Posted by Boborak   USA  (228 posts)  [Biography] bio
Date Reply #1 on Thu 22 May 2003 12:12 AM (UTC)
Sounds like what you want, is a modified version of 'timers'. The stock way it works wouldn't quite work for what you want to do, because you can't do anything while the timer is in affect. Search the forums on timers, you should find a number of posts regarding them.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]