I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE1:Trigger (U1)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U1 Object >> Actor >> Triggers >> Trigger
Package: 
Engine
Direct subclass:
ZoneTrigger
This class in other games:
RTNP, UT, UT2003, UE2Runtime, U2, UT2004, U2XMP, UT3, UDK

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]

Type: class<Actor>


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]

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 that class only
TT_AnyProximity 
Trigger is activated by any actor in proximity.
TT_Shoot 
Trigger is activated by player shooting it.

Functions[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SpecialHandling[edit]

event Actor SpecialHandling (Pawn Other)

Overrides: Actor.SpecialHandling


TakeDamage[edit]

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, name damageType)

Overrides: Actor.TakeDamage


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch


UnTouch[edit]

event UnTouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions[edit]

CheckTouchList[edit]

function CheckTouchList ()


FindTriggerActor[edit]

function FindTriggerActor ()


IsRelevant[edit]

function bool IsRelevant (Actor Other)


States[edit]

NormalTrigger[edit]

OtherTriggerToggles[edit]

OtherTriggerToggles.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOff[edit]

OtherTriggerTurnsOff.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOn[edit]

OtherTriggerTurnsOn.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)