Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:Decoration (U2)

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

Decoration.

Properties

Property group 'Decoration'

bDamageable

Type: bool


bPushable

Type: bool


contents

Type: class<Inventory>

spawned when destroyed

Description

Type: string


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
bBlockActors True
bBlockKarma True
bBlockPlayers True
bCollideActors True
bOrientOnSlope True
bShadowCast True
bShouldBaseAtStartup True
bStasis True
bStatic True
bStaticLighting True
bWorldGeometry 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


TakeDamage

event TakeDamage (int NDamage, Pawn InstigatedBy, Object.Vector Hitlocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: Actor.TakeDamage


Timer

event Timer ()

Overrides: Actor.Timer


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions

CanSplash

function bool CanSplash ()

Overrides: Actor.CanSplash


Drop

function Drop (Object.Vector newVel)