| Home Page | Recent Changes | Preferences

TriggeredCondition

UT2003 :: Actor >> Triggers >> TriggeredCondition (Package: Gameplay)

This actor saves the "trigger state" of an event for use together with the ACTION_IfCondition? action for AIScripts (ScriptedSequences, UnrealScriptedSequences or ScriptedTriggers).

Properties

Events (Inherited from Actor)

bool Tag
The name of the event that should be watched.

Main

bool bEnabled
Specifies, whether the condition is currently enabled.
bool bToggled
When set to True, the condition's state is toggled each time the event is triggered. Otherwise the condition's state is set to the opposite of its default value when the event is triggered.
bool bTriggerControlled
When set to True, the condition's state is reset to its initial value when the event is untriggered. Otherwise untriggering has no effect.

Hidden

bool bInitialValue
Stores the initial value of bEnabled.

Methods

PostBeginPlay()
Saves the initial value of bEnabled in bInitialValue.
Reset()
Restores the initial value of bEnabled. (UT2004 only)
Trigger( Actor Other, Pawn EventInstigator )
If bToggled is True, the value of bEnabled is toggled, otherwise it is set to the opposite value of bInitialValue, the value set by the mapper.
UnTrigger( Actor Other, Pawn EventInstigator )
If bTriggerControlled is True, the value of bEnabled is reset to the value of bInitialValue.

Related Topics


Category Class (UT2003)

Category Class (UT2004)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In