Cogito, ergo sum
UE3:GameBreakableActor (UT3)
Object >> Actor >> DynamicSMActor >> KActor >> GameBreakableActor |
- Package:
- GameFramework
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
GameBreakableActor
Currently does not yet support replication.
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties
Property group 'GameBreakableActor'
bParticlesAcceptDynamicLights
Type: bool
bParticlesAcceptLights
Type: bool
BreakableSteps
Type: array<BreakableStep>
sequence of events of destruction... starts at 0.
DamageTypes
Type: array<class<DamageType> >
Types of damage that are counted
ParticleLightingChannels
Type: LightComponent.LightingChannelContainer
¨Particles lighting
Internal variables
CurrentBreakableStep
Type: int
current breakable step.
Default values
Property | Value |
---|---|
CollisionType | COLLIDE_BlockAll |
Subobjects
MyLightEnvironment
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: KActor.MyLightEnvironment
No new values.
StaticMeshComponent0
Class: Engine.StaticMeshComponent
Inherits from: KActor.StaticMeshComponent0
No new values.
Structs
BreakableParticleSystem
Modifiers: native
- ParticleSystem Emitter
- Particle system to spawn.
- Object.Vector Offset
- Offset relative to the breakable actor to attach the particle system.
BreakableStep
Modifiers: native
- float DamageThreshold
- Total amount of damage to take before activating the event
- array<BreakableParticleSystem> ParticleEmitters
- Emitter system to use when this object breaks
- StaticMesh BreakMesh
- KActor template to use when this object breaks
- Actor.EPhysics Physics
- The physics mode to switch to.
- SoundCue BreakSound
- Sound to play.
Default values:
Property | Value |
---|---|
DamageThreshold | 0.0 |
Physics | PHYS_RigidBody |
Functions
Native functions
GetOffsetToWorld
SetParticlesLighting
Events
Destroyed
Overrides: Actor.Destroyed
TakeDamage
Overrides: KActor.TakeDamage
Default behaviour when shot is to apply an impulse and kick the KActor.
Other instance functions
BreakLastApart
BreakStepApart
HideAndDestroy
IsValidDamageType
Searches DamageTypes[] for the specified damage type.