|
Responding timer with added functions
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Valhart
(14 posts) bio
|
| Date |
Thu 28 Jun 2001 07:54 AM (UTC) [ quote
] |
| Message |
As a non scripting player *cause I have no clue how to do it*, I have incredible difficult with the usage of timers. For the sake of most players like me, could an installation of a certain timer be done that does the follow.
1) A timer that actives when an event triggers it, and then send whatever command it intends to when time's is up.
2) In respond to a trigger command in the game world, you can do a report on how many seconds left on the spell you cast.
Just a thought...
| top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Fri 29 Jun 2001 (UTC) [ quote
] |
| Message |
Quote:
A timer that actives when an event triggers it, and then send whatever command it intends to when time's is up.
This is best done with a simple script. There are examples on this forum, search for "addtimer", you will see some very similar to what you describe.
Quote:
In respond to a trigger command in the game world, you can do a report on how many seconds left on the spell you cast.
I would probably make an alias that assists in casting the spell, and also notes the time (in a script). Then the trigger could query the time and work out how many seconds there were to go (by subtracting one from the other).
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
1,570 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )