| Home Page | Recent Changes | Preferences

# StochasticTrigger

UT :: Actor >> Triggers (UT) >> StochasticTrigger

The StochasticTrigger is a type of dynamic trigger that is typically used to trigger random events at random intervals. However, it contains a few variables to make the triggering process a bit more controllable.

## Properties

Events[6]
  This is the array that the actor will select a value from when it is about to call an event.
minReCheckTime, maxReCheckTime
  These are the minimum number and maximum number of seconds that the actor will wait before it tries to trigger another event.
triggerProbability
  When an event is about to be fired, this value is checked. If the probability check fails, then the act of firing is foregone, and the actor will wait until the next time around to try an event.

## States

Dont forget to set the InitialState of the trigger under "Object" in its properties, else it wont work!

AlwaysActive
  exactly that
TriggeredActive
  the actor is only active while it is triggered – ie, when the player steps out of the Trigger, it goes dormant

## Related Topics

- Dynamics topic page
- Overview of the various Types of Trigger
- A tutorial which uses this actor: Lightning Storm

Category Class (UT)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In