Always snap to grid

Difference between revisions of "Legacy:TimedTrigger (UT)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (+hint to Delay start time)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{classbox|[[Legacy:UT|UT]] :: [[Legacy:Actor|Actor]] >> [[Legacy:Triggers (UT)|Triggers (UT)]] >> TimedTrigger}}
+
{{classbox|[[Legacy:UT|UT]] :: [[Legacy:Actor|Actor]] >> [[Legacy:Triggers (UT)|Triggers (UT)]] >> [[Legacy:Trigger|Trigger]] >> TimedTrigger (Package: Botpack)}}
  
This is actually a very useful actor if you want "scripted events" of sorts.  You basically just set the delay (under the TimedTrigger tab of the actor properties), tell it whether or not you want it to repeat (bRepeating in the same tab), and then hook it up with the actors you want to trigger just like you would with any other... trigger.  When you start the map, the trigger will count down for however many seconds you set the delay to and then activate just like any other trigger.  This is useful for having ships take off, triggering explosions, looping movers, SmokeGenerator objects, etc.
+
This is actually a very useful actor if you want "scripted events" of sorts.  You basically just set the delay (under the TimedTrigger tab of the actor properties), tell it whether or not you want it to repeat (bRepeating in the same tab), and then hook it up with the actors you want to trigger just like you would with any other trigger.  When you start the map, the trigger will count down for however many seconds you set the delay to and then activate just like any other trigger.  This is useful for having ships take off, triggering explosions, looping movers, SmokeGenerator objects, etc. Unfortunately [[Legacy:Trigger#States|InitialState]] is ignored, so the time delay is always measured from game start and never from activating the trigger.
  
See [[Legacy:Trigger Systems|Trigger Systems]] for examples of this in action.
+
See [[Legacy:Trigger Systems|Trigger Systems]] for examples.
 +
 
 +
The TimedTrigger class isn't available in UT2003, but see [[Legacy:TimedTrigger|TimedTrigger]] for a custom class.
 +
 
 +
[[Category:Legacy Class (UT)|{{PAGENAME}}]]

Latest revision as of 16:13, 10 March 2015

UT :: Actor >> Triggers (UT) >> Trigger >> TimedTrigger (Package: Botpack)

This is actually a very useful actor if you want "scripted events" of sorts. You basically just set the delay (under the TimedTrigger tab of the actor properties), tell it whether or not you want it to repeat (bRepeating in the same tab), and then hook it up with the actors you want to trigger just like you would with any other trigger. When you start the map, the trigger will count down for however many seconds you set the delay to and then activate just like any other trigger. This is useful for having ships take off, triggering explosions, looping movers, SmokeGenerator objects, etc. Unfortunately InitialState is ignored, so the time delay is always measured from game start and never from activating the trigger.

See Trigger Systems for examples.

The TimedTrigger class isn't available in UT2003, but see TimedTrigger for a custom class.