UE2:AttachTrigger (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)
U2XMP Object >> Actor >> Triggers >> AttachTrigger
Package:
Legend

$Author: Mfox $ $Date: 8/20/02 3:42p $ $Revision: 10 $ Name: AttachTrigger.uc Author: Aaron R Leiby Date: 17 Feb 2002 Description: Used to attach actors to actors (like attaching a particle system to a player when he enters/leaves a zone. How to use this class:

Properties

Property group 'AttachTrigger'

Attach_Actor

Type: Actor

actor to attach.

Attach_Class

Type: name

filter class for source/dest/other/instigator attachment.

Attach_Mode

Type: EAttachMode

mode for choosing what to attach to.

Attach_Offset

Type: Object.Vector

attachment offset relative to player.

Attach_PostOffset

Type: Object.Vector

offset from Attach_Offset.

Attach_Tag

Type: name

tag of actor to attach to.

bPostRelativeRotation

Type: bool


bPostRelativeViewRotation

Type: bool


bRelativeRotation

Type: bool


bRelativeViewRotation

Type: bool


TimerDuration

Type: float


Internal variables

Attach_Target

Type: Actor

actor we are currently attached to.

Default values

Property Value
InitialState 'TriggerControl'

Enums

EAttachMode

AM_Player
the player character.
AM_Other
the trigger other.
AM_Instigator
the trigger instigator.
AM_Tag
tag of any actor.

Functions

Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

AttachActor

function AttachActor (optional Actor Other, optional Pawn Instigator)


DetachActor

function DetachActor (optional Actor Other, optional Pawn Instigator)


DoAttachActor

function DoAttachActor (Actor A)


DoDetachActor

function DoDetachActor (Actor A)


UpdateActorLocation

function UpdateActorLocation ()


States

InitiallyOn

Modifiers: simulated

InitiallyOn.BeginState

simulated event BeginState ()

Overrides: Object.BeginState (global)


InitiallyOn.DelayedAttach

simulated function DelayedAttach ()


TriggerControl

Modifiers: simulated

TriggerControl.Trigger

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

Overrides: Actor.Trigger (global)


TriggerControl.UnTrigger

simulated function UnTrigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.UnTrigger (global)