UE2:Decoration (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Decoration
Package:
Engine
Direct subclasses:
AnimTest, ScaledSprite, U2CTFFlag, U2Decoration, U2m1, Watertube
This class in other games:

Decoration.

Properties

Property group 'Decoration'

bCanStickIntoWalls

Type: bool

NEW (mib) let some decorations slide down walls

bDamageable

Type: bool


bPushable

Type: bool


contents

Type: class<Inventory>

spawned when destroyed

ContentTag

Type: name

NEW: Tag to use for contents spawned by this decoration.

EffectWhenDestroyed

Type: class<Actor>


EndPushSound

Type: Sound


FragSkin

Type: Texture

skin to use for fragments

FragType

Type: class<Fragment>

type of fragment to use

Health

Type: int


NumFrags

Type: int

number of fragments to spawn when destroyed

PushSound

Type: Sound


SplashTime

Type: float


Internal variables

bPushSoundPlaying

Type: bool


bSplash

Type: bool


FragMomentum

Type: Object.Vector

momentum to be imparted to frags when destroyed

numLandings

Type: int

Modifiers: const

Used by engine physics.

Default values

Property Value
bOrientOnSlope True
bStasis True
bStatic True
DrawType DT_Mesh
NetUpdateFrequency 10.0

Functions

Events

BaseChange

singular event BaseChange ()

Overrides: Actor.BaseChange


Bump

event Bump (Actor Other)

Overrides: Actor.Bump


Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


HitWall

event HitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Actor.HitWall


Landed

event Landed (Object.Vector HitNormal)

Overrides: Actor.Landed


PhysicsVolumeChange

singular event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Actor.PhysicsVolumeChange


Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

CanSplash

function bool CanSplash ()

Overrides: Actor.CanSplash


Drop

function Drop (Object.Vector newVel)


TakeDamage

function TakeDamage (int NDamage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, class<DamageTypedamageType)

Overrides: Actor.TakeDamage


Trigger

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger