Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Delaytime

Delaytime

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


Posted by Xinphinity   USA  (26 posts)  Bio
Date Wed 21 May 2003 05:26 PM (UTC)
Message
Greets;


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.

~Xin
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #1 on Thu 22 May 2003 12:12 AM (UTC)
Message
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.
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.


11,977 views.

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

Go to topic:           Search the forum


[Go to top] top

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