HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question: Timer or Trigger?

09-11-2006, 06:36 PM#1
zeroXD
What is the faster (GUI): Timer, or "Every # seconds of game time."?
I'd like to know, and i also like to know what uses less processing capacity.
09-11-2006, 06:56 PM#2
Rising_Dusk
Timer Triggers use timers.
We've had this discussion before relatively recently too, so search would have helped a lot here.

I think Timers are clearly better since they don't require cleanup of triggeraction's, but that's me.
Most people ended on the thought that it's a matter of preference, though some of us had more aggressive opinions about it than others.
09-11-2006, 07:21 PM#3
Captain Griffen
Timers - less memory, less cleanup, more flexible, cannot use waits in them.

Triggers - vice versa.
09-11-2006, 07:26 PM#4
blu_da_noob
Timers also cannot run multiple different functions every time they expire, although this should almost never really matter.
09-12-2006, 05:39 AM#5
zeroXD
Well, thanks, i prefer timers, but i was not sure. Just gotten used to them.