I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:Decoration (U2)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2 Object >> Actor >> Decoration

Contents

Package: 
Engine
Direct subclasses:
ArtifactHolder, BreakableItem, ScaledSprite, VehicleHusk
This class in other games:
RTNP, U1, U2XMP, UE2Runtime, UT, UT2003, UT2004

Decoration.

[edit] Properties

[edit] Property group 'Decoration'

[edit] bDamageable

Type: bool


[edit] bPushable

Type: bool


[edit] contents

Type: class<Inventory>

spawned when destroyed

[edit] Description

Type: string


[edit] EffectWhenDestroyed

Type: class<Actor>


[edit] EndPushSound

Type: Sound


[edit] FragSkin

Type: Texture

skin to use for fragments

[edit] FragType

Type: class<Fragment>

type of fragment to use

[edit] Health

Type: int


[edit] NumFrags

Type: int

number of fragments to spawn when destroyed

[edit] PushSound

Type: Sound


[edit] SplashTime

Type: float


[edit] Internal variables

[edit] bPushSoundPlaying

Type: bool


[edit] bSplash

Type: bool


[edit] FragMomentum

Type: Object.Vector

momentum to be imparted to frags when destroyed

[edit] numLandings

Type: int

Modifiers: const

Used by engine physics.

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

[edit] Functions

[edit] Events

[edit] BaseChange

singular event BaseChange ()

Overrides: Actor.BaseChange


[edit] Bump

event Bump (Actor Other)

Overrides: Actor.Bump


[edit] Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


[edit] HitWall

event HitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Actor.HitWall


[edit] Landed

event Landed (Object.Vector HitNormal)

Overrides: Actor.Landed


[edit] PhysicsVolumeChange

singular event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Actor.PhysicsVolumeChange


[edit] TakeDamage

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

Overrides: Actor.TakeDamage


[edit] Timer

event Timer ()

Overrides: Actor.Timer


[edit] Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


[edit] Other instance functions

[edit] CanSplash

function bool CanSplash ()

Overrides: Actor.CanSplash


[edit] Drop

function Drop (Object.Vector newVel)