UE3:UTSimpleDestroyable (UT3)
![]() |
Object >> Actor >> DynamicSMActor >> UTSimpleDestroyable |
- Package:
- UTGame
- Direct subclass:
- UTSD_FireHydrant
- This class in other games:
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. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties
Property group 'UTSimpleDestroyable'
bDestroyOnDamage
Type: bool
Should go boom when shot.
Default value: True
bDestroyOnPlayerTouch
Type: bool
Should go boom when a player walks over it.
Default value: True
bDestroyOnVehicleTouch
Type: bool
Should go boom when a vehicle drives over it.
Default value: True
MeshOnDestroy
Type: StaticMesh
Mesh to switch to when destroyed.
ParticlesOnDestroy
Type: ParticleSystem
Particles to play when destroyed.
RespawnTime
Type: float
Time between being destroyed and respawning.
Default value: 30.0
SoundOnDestroy
Type: SoundCue
Sound to play when destroyed.
SpawnPhysMesh
Type: StaticMesh
Static mesh to spawn as physics object when destroyed.
SpawnPhysMeshAngularVel
Type: Object.Vector
initial angular velocity for spawned physics object.
SpawnPhysMeshLifeSpan
Type: float
How long the spawned physics object should last.
Default value: 5.0
SpawnPhysMeshLinearVel
Type: Object.Vector
Initial linear velocity for spawned physics object.
Internal variables
bDestroyed
Type: bool
Whether we are currently in the destroyed state.
RespawnStaticMesh
Type: StaticMesh
Used to remember what mesh to set us back to when respawned.
TimeToRespawn
Type: float
Time before we are going to respawn.
Default values
Property | Value |
---|---|
bCollideActors | True |
bNoDelete | True |
bPathColliding | False |
bProjTarget | True |
CollisionType | COLLIDE_CustomDefault |
Subobjects
MyLightEnvironment
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: DynamicSMActor.MyLightEnvironment
Property | Value |
---|---|
bDynamic | False |
bEnabled | True |
StaticMeshComponent0
Class: Engine.StaticMeshComponent
Inherits from: DynamicSMActor.StaticMeshComponent0
Property | Value |
---|---|
BlockActors | False |
bUseAsOccluder | False |
CastShadow | False |
LightEnvironment | DynamicLightEnvironmentComponent'UTGame.Default__UTSimpleDestroyable:MyLightEnvironment' |
Functions
Events
CheckRespawn
Used to countdown to respawn.
PostBeginPlay
Overrides: DynamicSMActor.PostBeginPlay
Used to shut down actor on the server to reduce overhead.
TakeDamage
Overrides: Actor.TakeDamage
Called when shot.
Touch
Overrides: Actor.Touch
Called when overlapped by car/player
Other instance functions
GoBoom
Do actual explosion.
RespawnDestructible
Put destructible back into pre-destroyed state.
States
IgnoreItAll
State used to stop anything from happening on dedicated server.