Mostly Harmless

UE2:Trigger (U2XMP)

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
U2XMP Object >> Actor >> Triggers >> Trigger
Package: 
Engine
Direct subclasses:
AlarmTrigger, CommandTrigger, PhysicsTrigger, CountdownTrigger, SoundDispatcher, DestroyTrigger, DialogTrigger, DoorTrigger, EarthquakeTrigger, ElevatorTrigger, EndLevelTrigger, GameOverTrigger, ZoneTrigger, LightTrigger, ProjectileTrigger, ScriptTrigger, ShakeTrigger, SpeakerTrigger, StageTrigger, SwapTrigger, TimedTrigger
This class in other games:
RTNP, U1, UT, UT2003, UE2Runtime, U2, UT2004, 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

bNoProximityReticle[edit]

Type: bool


bTriggerOnceOnly[edit]

Type: bool


ClassProximityType[edit]

Type: class<Actor>


ClassProximityTypes[edit]

Type: array<class<Actor> >

NEW (mdf) use if more than 1

DamageThreshold[edit]

Type: float

minimum damage to trigger if TT_Shoot

Description[edit]

Type: string

Modifiers: localized


InstigatorTag[edit]

Type: name


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

TriggerDamageType[edit]

Type: class<DamageType>


Default value: Class'Engine.DamageType'

TriggerType[edit]

Type: ETriggerType


UseDistance[edit]

Type: float

max distance at which TT_Use triggers can be used

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 
TT_Use 

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SpecialHandling[edit]

event Actor SpecialHandling (Pawn Other)

Overrides: Actor.SpecialHandling


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 ()


GetDescription[edit]

function string GetDescription ()

Overrides: Actor.GetDescription


GetInitiallyActive[edit]

function bool GetInitiallyActive ()


IsRelevant[edit]

function bool IsRelevant (Actor Other)


IsUsable[edit]

function bool IsUsable (optional Actor Other)

Overrides: Actor.IsUsable


OnUnuse[edit]

function OnUnuse (Actor Other)

Overrides: Actor.OnUnuse


OnUse[edit]

function OnUse (Actor Other)

Overrides: Actor.OnUse


Reset[edit]

function Reset ()

Overrides: Actor.Reset


ReTriggerDelayTimer[edit]

function ReTriggerDelayTimer ()


SetInitiallyActive[edit]

function SetInitiallyActive (bool bActive)


TakeDamage[edit]

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

Overrides: Actor.TakeDamage


States[edit]

NormalTrigger[edit]

OtherTriggerToggles[edit]

OtherTriggerToggles.Trigger[edit]

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOff[edit]

OtherTriggerTurnsOff.Trigger[edit]

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOn[edit]

OtherTriggerTurnsOn.Trigger[edit]

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger (global)