Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTKActor

Extends
KActor
Modifiers
native

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

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.DynamicSMActor
      |   
      +-- Engine.KActor
         |   
         +-- UTGame.UTKActor

Variables Summary
boolbBroken
controllerInstigatorController
UTKActor
boolbBreakWhenCausingDamage
boolbDamageOnEncroachment
boolbHasHealth
boolbResetDOEWhenAsleep
ParticleSystemBrokenTemplate
boolbTakeDamageOnEncroachment
class<DamageType>DmgTypeClass
intDOEResetThreshold
intEncroachDamage_Other
intEncroachDamage_Self
intHealth
Inherited Variables from Engine.KActor
AngErrorAccumulator, bCurrentSlide, bDamageAppliesImpulse, bSlideActive, bWakeOnLevelStart, DrawScaleX, DrawScaleY, DrawScaleZ, ImpactEffectComponent, ImpactSoundComponent, ImpactSoundComponent2, InitialLocation, InitialRotation, LastImpactTime, LastSlideTime, RBState, SlideEffectComponent, SlideSoundComponent
Inherited Variables from Engine.DynamicSMActor
bPawnCanBaseOn, bSafeBaseIfAsleep, LightEnvironment, ReplicatedMaterial, ReplicatedMesh, ReplicatedMeshRotation, ReplicatedMeshScale3D, ReplicatedMeshTranslation, StaticMeshComponent

Delegates Summary
delegate OnBreakApart ()
delegatebool OnEncroach (actor Other)

Functions Summary
function BreakApart ()))
functionbool EncroachingOn (Actor Other))
event ReplicatedEvent (name VarName))
event TakeDamage (int Damage, Controller EventInstigator, vector HitLocation, vector Momentum, class<DamageType> DamageType, optional TraceHitInfo HitInfo, optional Actor DamageCauser))
Inherited Functions from Engine.KActor
ApplyImpulse, FellOutOfWorld, GetKActorPhysMaterial, OnTeleport, OnToggle, PostBeginPlay, ReplicatedEvent, Reset, ResolveRBState, SetPhysicalCollisionProperties, TakeDamage, TakeRadiusDamage
Inherited Functions from Engine.DynamicSMActor
Attach, CanBasePawn, Detach, OnSetMaterial, OnSetStaticMesh, PostBeginPlay, ReplicatedEvent, SetStaticMesh


Variables Detail

bBroken Source code

var repnotify bool bBroken;
If true, this actor is broken and no longer functional

InstigatorController Source code

var controller InstigatorController;
Allows things to pass along a damage instigator

UTKActor

bBreakWhenCausingDamage Source code

var(UTKActor) bool bBreakWhenCausingDamage;
If true, this KActor will break when it causes damage

bDamageOnEncroachment Source code

var(UTKActor) bool bDamageOnEncroachment;
If true, this will cause Damage on Encroachment (DOE)

bHasHealth Source code

var(UTKActor) bool bHasHealth;
If true, this vehicle has health

bResetDOEWhenAsleep Source code

var(UTKActor) bool bResetDOEWhenAsleep;
If true bDamageOnEncroachment will reset when this actor sleeps or falls below a threshold

BrokenTemplate Source code

var(UTKActor) ParticleSystem BrokenTemplate;
Emitter template to use when this object breaks

bTakeDamageOnEncroachment Source code

var(UTKActor) bool bTakeDamageOnEncroachment;
Should this KActor take damage when it encroaches

DmgTypeClass Source code

var(UTKActor) class<DamageType> DmgTypeClass;
When causing damage, use this damage type

DOEResetThreshold Source code

var(UTKActor) int DOEResetThreshold;
This is the velocity threshhold at which the DOE will reset. If set to 0, it will only reset on sleep

EncroachDamage_Other Source code

var(UTKActor) int EncroachDamage_Other;
How much damage this actor does upon contact

EncroachDamage_Self Source code

var(UTKActor) int EncroachDamage_Self;
How much should it take

Health Source code

var(UTKActor) int Health;
How much health this actor has before it's destroyed


Delegates Detail

OnBreakApart Source code

delegate OnBreakApart ( )
This delegate is called when this UTKActor breaks

OnEncroach Source code

delegate bool OnEncroach ( actor Other )


Functions Detail

BreakApart Source code

function BreakApart ( ) )

EncroachingOn Source code

function bool EncroachingOn ( Actor Other) )

ReplicatedEvent Source code

simulated event ReplicatedEvent ( name VarName) )

TakeDamage Source code

event TakeDamage ( int Damage, Controller EventInstigator, vector HitLocation, vector Momentum, class<DamageType> DamageType, optional TraceHitInfo HitInfo, optional Actor DamageCauser) )


Defaultproperties

defaultproperties
{
   DmgTypeClass=Class'Engine.DmgType_Crushed'
   DOEResetThreshold=40
   Begin Object Class=StaticMeshComponent Name=StaticMeshComponent0 ObjName=StaticMeshComponent0 Archetype=StaticMeshComponent'Engine.Default__KActor:StaticMeshComponent0'
      ObjectArchetype=StaticMeshComponent'Engine.Default__KActor:StaticMeshComponent0'
   End Object
   StaticMeshComponent=StaticMeshComponent0
   Begin Object Class=DynamicLightEnvironmentComponent Name=MyLightEnvironment ObjName=MyLightEnvironment Archetype=DynamicLightEnvironmentComponent'Engine.Default__KActor:MyLightEnvironment'
      ObjectArchetype=DynamicLightEnvironmentComponent'Engine.Default__KActor:MyLightEnvironment'
   End Object
   LightEnvironment=MyLightEnvironment
   Components(0)=MyLightEnvironment
   Components(1)=StaticMeshComponent0
   CollisionComponent=StaticMeshComponent0
   Name="Default__UTKActor"
   ObjectArchetype=KActor'Engine.Default__KActor'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:53.118 - Created with UnCodeX