I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:Decoration (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Decoration
Package: 
Engine
Direct subclasses:
AnimTest, ScaledSprite, U2CTFFlag, U2Decoration, U2m1, Watertube
This class in other games:
RTNP, U1, UT, UE2Runtime, UT2003, UT2004, U2

Decoration.

Properties[edit]

Property group 'Decoration'[edit]

bCanStickIntoWalls[edit]

Type: bool

NEW (mib) let some decorations slide down walls

bDamageable[edit]

Type: bool


bPushable[edit]

Type: bool


contents[edit]

Type: class<Inventory>

spawned when destroyed

ContentTag[edit]

Type: name

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

EffectWhenDestroyed[edit]

Type: class<Actor>


EndPushSound[edit]

Type: Sound


FragSkin[edit]

Type: Texture

skin to use for fragments

FragType[edit]

Type: class<Fragment>

type of fragment to use

Health[edit]

Type: int


NumFrags[edit]

Type: int

number of fragments to spawn when destroyed

PushSound[edit]

Type: Sound


SplashTime[edit]

Type: float


Internal variables[edit]

bPushSoundPlaying[edit]

Type: bool


bSplash[edit]

Type: bool


FragMomentum[edit]

Type: Object.Vector

momentum to be imparted to frags when destroyed

numLandings[edit]

Type: int

Modifiers: const

Used by engine physics.

Default values[edit]

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

Functions[edit]

Events[edit]

BaseChange[edit]

singular event BaseChange ()

Overrides: Actor.BaseChange


Bump[edit]

event Bump (Actor Other)

Overrides: Actor.Bump


Destroyed[edit]

simulated event Destroyed ()

Overrides: Actor.Destroyed


HitWall[edit]

event HitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Actor.HitWall


Landed[edit]

event Landed (Object.Vector HitNormal)

Overrides: Actor.Landed


PhysicsVolumeChange[edit]

singular event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Actor.PhysicsVolumeChange


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

CanSplash[edit]

function bool CanSplash ()

Overrides: Actor.CanSplash


Drop[edit]

function Drop (Object.Vector newVel)


TakeDamage[edit]

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

Overrides: Actor.TakeDamage


Trigger[edit]

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

Overrides: Actor.Trigger