I'm a doctor, not a mechanic

UE3:UTKActor (UT3)

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> DynamicSMActor >> KActor >> UTKActor
Package: 
UTGame
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

Property group 'UTKActor'[edit]

bBreakWhenCausingDamage[edit]

Type: bool

If true, this KActor will break when it causes damage

bDamageOnEncroachment[edit]

Type: bool

If true, this will cause Damage on Encroachment (DOE)

bHasHealth[edit]

Type: bool

If true, this vehicle has health

bResetDOEWhenAsleep[edit]

Type: bool

If true bDamageOnEncroachment will reset when this actor sleeps or falls below a threshold

BrokenTemplate[edit]

Type: ParticleSystem

Emitter template to use when this object breaks

bTakeDamageOnEncroachment[edit]

Type: bool

Should this KActor take damage when it encroaches

DmgTypeClass[edit]

Type: class<DamageType>

When causing damage, use this damage type

Default value: Class'Engine.DmgType_Crushed'

DOEResetThreshold[edit]

Type: int

This is the velocity threshhold at which the DOE will reset. If set to 0, it will only reset on sleep

Default value: 40

EncroachDamage_Other[edit]

Type: int

How much damage this actor does upon contact

EncroachDamage_Self[edit]

Type: int

How much should it take

Health[edit]

Type: int

How much health this actor has before it's destroyed

Internal variables[edit]

bBroken[edit]

Type: bool

Modifiers: repnotify

If true, this actor is broken and no longer functional

InstigatorController[edit]

Type: Controller

Allows things to pass along a damage instigator

Subobjects[edit]

MyLightEnvironment[edit]

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: KActor.MyLightEnvironment

No new values.

StaticMeshComponent0[edit]

Class: Engine.StaticMeshComponent

Inherits from: KActor.StaticMeshComponent0

No new values.

Delegates[edit]

OnBreakApart[edit]

delegate OnBreakApart ()

This delegate is called when this UTKActor breaks

OnEncroach[edit]

delegate bool OnEncroach (Actor Other)


Functions[edit]

Events[edit]

EncroachingOn[edit]

event bool EncroachingOn (Actor Other)

Overrides: Actor.EncroachingOn

(Description copied from Actor.EncroachingOn)
called when this Actor is encroaching on Other and we couldn't find an appropriate place to push Other to

Returns:

true to abort the move, false to allow it

Warning: do not abort moves of PHYS_RigidBody actors as that will cause the Unreal location and physics engine location to mismatch

ReplicatedEvent[edit]

simulated event ReplicatedEvent (name VarName)

Overrides: KActor.ReplicatedEvent


TakeDamage[edit]

event TakeDamage (int Damage, Controller EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType, optional Actor.TraceHitInfo HitInfo, optional Actor DamageCauser)

Overrides: KActor.TakeDamage

Default behaviour when shot is to apply an impulse and kick the KActor.

Other instance functions[edit]

BreakApart[edit]

function BreakApart ()