Tremulous Forum
Media => Mapping Center => Topic started by: Plague Bringer on April 23, 2007, 10:30:52 pm
-
wtf does this do, exactly?
-
!!!func_timer
A timer. Can be triggered or started on by the spawnflag. It will trigger it’s targets after a set amount of time. This amount can be specified exactly or randomized within bounds.
The randomization is as follows:
Min = (wait-random) Max = (wait+random)
| **Keys** | **Value input** | ** Effect** |
| wait | numerical (default 1) | Amount of time between triggers in seconds |
| random | numerical (default 0) | Value used to calculate timespan, seconds |
| target | alphanumerical | Target to trigger |
| targetname | alphanumerical | used to trigger the timer on and off |
Basicly just a timebomb-like clock. When the specified countdown is complete since it was first triggered (either by a trigger or mapload) it will trigger its own targets and continue to do so every timespan untill shut off by triggering it once again.
Yes, that fucking entity explanation list will ultimately go on the wiki, when i'm done with it
-
imagine a field full of volcanic steam vents. imagine you put target_push and some nifty animation on each of those vents. lets say further you want them to randomly trigger on and off. well, use func_timer.
btw, that's a good idea for a map, if i don't say so myself ...
/me goes off mapping ...
-
the real question, since I am noob to the inner workings of maps... is func_timer calculated server or client side?
-
server iirc
-
I'd say server, since its essentially a script event. But thats only an informed guess :p