I'm a doctor, not a mechanic

UE2:AttachTrigger (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

(Redirected from UE2:EAttachMode (U2XMP))
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> AttachTrigger

Contents

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:

[edit] Properties

[edit] Property group 'AttachTrigger'

[edit] Attach_Actor

Type: Actor

actor to attach.

[edit] Attach_Class

Type: name

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

[edit] Attach_Mode

Type: EAttachMode

mode for choosing what to attach to.

[edit] Attach_Offset

Type: Object.Vector

attachment offset relative to player.

[edit] Attach_PostOffset

Type: Object.Vector

offset from Attach_Offset.

[edit] Attach_Tag

Type: name

tag of actor to attach to.

[edit] bPostRelativeRotation

Type: bool


[edit] bPostRelativeViewRotation

Type: bool


[edit] bRelativeRotation

Type: bool


[edit] bRelativeViewRotation

Type: bool


[edit] TimerDuration

Type: float


[edit] Internal variables

[edit] Attach_Target

Type: Actor

actor we are currently attached to.

[edit] Default values

Property Value
InitialState 'TriggerControl'

[edit] Enums

[edit] EAttachMode

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

[edit] Functions

[edit] Events

[edit] Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


[edit] Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


[edit] Other instance functions

[edit] AttachActor

function AttachActor (optional Actor Other, optional Pawn Instigator)


[edit] DetachActor

function DetachActor (optional Actor Other, optional Pawn Instigator)


[edit] DoAttachActor

function DoAttachActor (Actor A)


[edit] DoDetachActor

function DoDetachActor (Actor A)


[edit] UpdateActorLocation

function UpdateActorLocation ()


[edit] States

[edit] InitiallyOn

Modifiers: simulated

[edit] InitiallyOn.BeginState

simulated event BeginState ()

Overrides: Object.BeginState (global)


[edit] InitiallyOn.DelayedAttach

simulated function DelayedAttach ()


[edit] TriggerControl

Modifiers: simulated

[edit] TriggerControl.Trigger

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

Overrides: Actor.Trigger (global)


[edit] TriggerControl.UnTrigger

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

Overrides: Actor.UnTrigger (global)