Cogito, ergo sum

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, U2XMP, UE2Runtime, UT2003, UT2004

Decoration.

Properties[edit]

Property group 'Decoration'[edit]

bDamageable[edit]

Type: bool


bPushable[edit]

Type: bool


contents[edit]

Type: class<Inventory>

spawned when destroyed

Description[edit]

Type: string


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
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[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


TakeDamage[edit]

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

Overrides: Actor.TakeDamage


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions[edit]

CanSplash[edit]

function bool CanSplash ()

Overrides: Actor.CanSplash


Drop[edit]

function Drop (Object.Vector newVel)