Responding timer with added functions

Posted by Valhart on Thu 28 Jun 2001 07:54 AM — 2 posts, 12,806 views.

#0
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...
Australia Forum Administrator #1
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).