The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:Trigger (UE2Runtime)
- Package:
- Engine
- Direct subclasses:
- TimedTrigger, TeamTrigger, ZoneTrigger
- This class in other games:
- RTNP, U1, UT, UT2003, U2, UT2004, U2XMP, UT3, UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Trigger: senses things happening in its proximity and generates sends Trigger/UnTrigger to actors whose names match 'EventName'.
Properties[edit]
Property group 'Trigger'[edit]
bInitiallyActive[edit]
Type: bool
Default value: True
bTriggerOnceOnly[edit]
Type: bool
ClassProximityType[edit]
DamageThreshold[edit]
Type: float
Message[edit]
Type: string
Modifiers: localized
RepeatTriggerTime[edit]
Type: float
if > 0, repeat trigger message at this interval is still touching other
ReTriggerDelay[edit]
Type: float
minimum time before trigger can be triggered again
TriggerType[edit]
Type: ETriggerType
Internal variables[edit]
bSavedInitialActive[edit]
Type: bool
bSavedInitialCollision[edit]
Type: bool
TriggerActor[edit]
Type: Actor
actor that triggers this trigger
TriggerActor2[edit]
Type: Actor
TriggerTime[edit]
Type: float
Default values[edit]
Property | Value |
---|---|
InitialState | NormalTrigger |
Texture | Texture'Engine.S_Trigger' |
Enums[edit]
ETriggerType[edit]
- TT_PlayerProximity
- Trigger is activated by player proximity.
- TT_PawnProximity
- Trigger is activated by any pawn's proximity
- TT_ClassProximity
- Trigger is activated by actor of ClassProximityType only
- TT_AnyProximity
- Trigger is activated by any actor in proximity.
- TT_Shoot
- Trigger is activated by player shooting it.
- TT_HumanPlayerProximity
- Trigger activated by human player (not bot)
Functions[edit]
Events[edit]
PostBeginPlay[edit]
Overrides: Actor.PostBeginPlay
PreBeginPlay[edit]
Overrides: Actor.PreBeginPlay
SpecialHandling[edit]
Overrides: Actor.SpecialHandling
TakeDamage[edit]
Overrides: Actor.TakeDamage
Timer[edit]
Overrides: Actor.Timer
Touch[edit]
Overrides: Actor.Touch
UnTouch[edit]
Overrides: Actor.UnTouch
Other instance functions[edit]
CheckTouchList[edit]
FindTriggerActor[edit]
IsRelevant[edit]
Reset[edit]
Overrides: Actor.Reset
States[edit]
NormalTrigger[edit]
OtherTriggerToggles[edit]
OtherTriggerToggles.Trigger[edit]
Overrides: Actor.Trigger (global)
OtherTriggerTurnsOff[edit]
OtherTriggerTurnsOff.Trigger[edit]
Overrides: Actor.Trigger (global)
OtherTriggerTurnsOn[edit]
OtherTriggerTurnsOn.Trigger[edit]
Overrides: Actor.Trigger (global)