Always snap to grid

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

Property group 'Trigger'

bInitiallyActive

Type: bool


Default value: True

bNoProximityReticle

Type: bool


bTriggerOnceOnly

Type: bool


ClassProximityType

Type: class<Actor>


ClassProximityTypes

Type: array<class<Actor> >

NEW (mdf) use if more than 1

DamageThreshold

Type: float

minimum damage to trigger if TT_Shoot

Description

Type: string

Modifiers: localized


InstigatorTag

Type: name


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

TriggerDamageType

Type: class<DamageType>


Default value: Class'Engine.DamageType'

TriggerType

Type: ETriggerType


UseDistance

Type: float

max distance at which TT_Use triggers can be used

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 Texture'Engine.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 
TT_Use 

Functions

Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SpecialHandling

event Actor SpecialHandling (Pawn Other)

Overrides: Actor.SpecialHandling


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


GetDescription

function string GetDescription ()

Overrides: Actor.GetDescription


GetInitiallyActive

function bool GetInitiallyActive ()


IsRelevant

function bool IsRelevant (Actor Other)


IsUsable

function bool IsUsable (optional Actor Other)

Overrides: Actor.IsUsable


OnUnuse

function OnUnuse (Actor Other)

Overrides: Actor.OnUnuse


OnUse

function OnUse (Actor Other)

Overrides: Actor.OnUse


Reset

function Reset ()

Overrides: Actor.Reset


ReTriggerDelayTimer

function ReTriggerDelayTimer ()


SetInitiallyActive

function SetInitiallyActive (bool bActive)


TakeDamage

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

Overrides: Actor.TakeDamage


States

NormalTrigger

OtherTriggerToggles

OtherTriggerToggles.Trigger

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

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOff

OtherTriggerTurnsOff.Trigger

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

Overrides: Actor.Trigger (global)


OtherTriggerTurnsOn

OtherTriggerTurnsOn.Trigger

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

Overrides: Actor.Trigger (global)