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