Mostly Harmless
UE2:BreakableItem (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Actor >> Decoration >> U2Decoration >> BreakableItem |
Contents |
- Package:
- U2Decorations
- Direct subclasses:
- BreakableLight, ExplosiveBarrel, ExplosiveCannister, SpiderBaby, ToxicBarrel
- This class in other games:
- U2
| 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. |
BreakableItem.
[edit] Properties
[edit] Property group 'BreakableItem'
[edit] bBecomeMovable
Type: bool
[edit] bDestroyCollision
Type: bool
Turns off collision after light is broken
Default value: True
[edit] BreakParticleEffects
Type: string
Array size: 6
Optional breaking particle effect to spawn
[edit] BreakParticleEffectsRefs
Type: ParticleGenerator
Array size: 6
[edit] BreakSound
Type: Sound
[edit] BrokenMesh
Type: Mesh
[edit] BrokenStaticMesh
Type: StaticMesh
[edit] bShakeView
Type: bool
set this to enable the following.
[edit] DamageAmount
Type: float
[edit] DamageRadius
Type: float
[edit] DamageType
Type: class<DamageType>
[edit] HitPoints
Type: int
Default value: 20
[edit] Momentum
Type: float
[edit] Property group 'ShakeView'
[edit] AmbientSoundStr
Type: string
sound for duration of quake
[edit] BaseTossMagnitude
Type: float
toss Magnitudenitude at epicenter, 0 at radius
Default value: 2500000.0
[edit] bTossNPCs
Type: bool
if true, NPCs in area are tossed around
Default value: True
[edit] bTossPCs
Type: bool
if true, PCs in area are tossed around
Default value: True
[edit] Duration
Type: float
how long quake should last
Default value: 10.0
[edit] MaxTossedMass
Type: float
if bTossPawns true, only pawns <= this mass are tossed
Default value: 500.0
[edit] Radius
Type: float
radius of quake
Default value: 2048.0
[edit] ShakeMagnitude
Type: float
How much to shake the camera.
Default value: 20.0
[edit] ShakeSoundStr
Type: string
sound for each shake
[edit] TimeBetweenShakes
Type: float
time between each shake
Default value: 0.5
[edit] Default values
| Property | Value |
|---|---|
| bStatic | False |
[edit] Instance functions
[edit] BreakApart
[edit] ParticleExplosion
[edit] ParticleExplosionRef
[edit] ShakeView
[edit] TakeDamage
Overrides: U2Decoration.TakeDamage
