I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTKActor (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> Actor >> DynamicSMActor >> KActor >> UTKActor

Contents

Package: 
UTGame
This class in other games:
UDK

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

[edit] Properties

[edit] Property group 'UTKActor'

[edit] bBreakWhenCausingDamage

Type: bool

If true, this KActor will break when it causes damage

[edit] bDamageOnEncroachment

Type: bool

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

[edit] bHasHealth

Type: bool

If true, this vehicle has health

[edit] bResetDOEWhenAsleep

Type: bool

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

[edit] BrokenTemplate

Type: ParticleSystem

Emitter template to use when this object breaks

[edit] bTakeDamageOnEncroachment

Type: bool

Should this KActor take damage when it encroaches

[edit] DmgTypeClass

Type: class<DamageType>

When causing damage, use this damage type

Default value: Class'Engine.DmgType_Crushed'

[edit] DOEResetThreshold

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

[edit] EncroachDamage_Other

Type: int

How much damage this actor does upon contact

[edit] EncroachDamage_Self

Type: int

How much should it take

[edit] Health

Type: int

How much health this actor has before it's destroyed

[edit] Internal variables

[edit] bBroken

Type: bool

Modifiers: repnotify

If true, this actor is broken and no longer functional

[edit] InstigatorController

Type: Controller

Allows things to pass along a damage instigator

[edit] Subobjects

[edit] MyLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: KActor.MyLightEnvironment

No new values.

[edit] StaticMeshComponent0

Class: Engine.StaticMeshComponent

Inherits from: KActor.StaticMeshComponent0

No new values.

[edit] Delegates

[edit] OnBreakApart

delegate OnBreakApart ()

This delegate is called when this UTKActor breaks

[edit] OnEncroach

delegate bool OnEncroach (Actor Other)


[edit] Functions

[edit] Events

[edit] EncroachingOn

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

[edit] ReplicatedEvent

simulated event ReplicatedEvent (name VarName)

Overrides: KActor.ReplicatedEvent


[edit] TakeDamage

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.

[edit] Other instance functions

[edit] BreakApart

function BreakApart ()