There is no spoon

UE2:Trigger (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 Object >> Actor >> Triggers >> Trigger
Package: 
Engine
Direct subclasses:
TeamTrigger, ZoneTrigger
This class in other games:
RTNP, U1, UT, 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

Property group 'Trigger'

bInitiallyActive

Type: bool


Default value: True

bTriggerOnceOnly

Type: bool


ClassProximityType

Type: class<Actor>


DamageThreshold

Type: float


Message

Type: string

Modifiers: localized


RepeatTriggerTime

Type: float

if > 0, repeat trigger message at this interval is still touching other

ReTriggerDelay

Type: float

minimum time before trigger can be triggered again

TriggerType

Type: ETriggerType


Internal variables

bSavedInitialActive

Type: bool


bSavedInitialCollision

Type: bool


TriggerActor

Type: Actor

actor that triggers this trigger

TriggerActor2

Type: Actor


TriggerTime

Type: float


Default values

Property Value
InitialState NormalTrigger
Texture S_Trigger

Enums

ETriggerType

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

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


SpecialHandling

event Actor SpecialHandling (Pawn Other)

Overrides: Actor.SpecialHandling


TakeDamage

event TakeDamage (int Damage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, class<DamageTypedamageType)

Overrides: Actor.TakeDamage


Timer

event Timer ()

Overrides: Actor.Timer


Touch

event Touch (Actor Other)

Overrides: Actor.Touch


UnTouch

event UnTouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions

CheckTouchList

function CheckTouchList ()


FindTriggerActor

function FindTriggerActor ()


IsRelevant

function bool IsRelevant (Actor Other)


Reset

function Reset ()

Overrides: Actor.Reset


States

NormalTrigger

OtherTriggerToggles

OtherTriggerToggles.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOff

OtherTriggerTurnsOff.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOn

OtherTriggerTurnsOn.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)