Legacy:TimedTrigger

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 15:35, 19 November 2007 by Sweavo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UT2003 :: Actor >> Triggers (UT2003) >> TimedTrigger

A TimedTrigger automatically fires an event after a given amount of time has elapsed.

Since this class isn't part of the stock UT2003 code, here is a slightly extended version as an embeddable component.

See TimedTrigger (UT) for the UT version of this class.

Usage

You'll find TimedTrigger in the actor browser then. Its code will automatically be saved with your map when you save it.

See Embedding Code for more information.

Editable Properties

(Events) name Event
Event fired by the TimedTrigger.
bool bEnabled
Specifies whether the TimedTrigger is enabled by default. You can toggle this state in-game by triggering the TimedTrigger actor with another Trigger.
bool bRepeating
If set to True, the TimedTrigger will fire its event over and over again. Otherwise, the event will be fired only once after the specified time has elapsed. If bRepeating is set to False and you disable and enable the TimedTrigger again after it had fired its event once, it will fire its event again.
bool bUseInstigator
If set to True and this TimedTrigger has been enabled by another Trigger, the player who enabled the TimedTrigger will be used as the instigator of all future events fired by the TimedTrigger.
float MinDelaySeconds
float MaxDelaySeconds
The number of seconds that have to elapse before a new event is fired. If you set MinDelaySeconds to a smaller value than MaxDelaySeconds, the TimedTrigger will randomly choose a time between those two values each time an event has been fired. If you set MinDelaySeconds to the same value as MaxDelaySeconds, the event interval is fixed.

Source

<uscript>