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

UE2:Decoration (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Decoration
Package: 
Engine
Direct subclasses:
XMonitor, DECO_ConvoyFlag, DECO_Convoy_BoxStraps, DECO_ExplodingBarrel, DECO_Smashable, DECO_SpaceFighter, GameObject, XBombBase, ScaledSprite, Shark, XDomLetter, UTeamBanner, XBombDeliveryHole, XCTFBase, XDomRing, XTeamBanner
Known custom subclasses:
Crusha/UltimateMappingTools, Crusha/UltimateMappingTools/UltimateDestructibleEnvironment
This class in other games:
RTNP, U1, UT, UE2Runtime, U2XMP, UT2003, U2

Decoration.

Properties

Property group 'Decoration'

bDamageable

Type: bool


bPushable

Type: bool


contents

Type: class<Inventory>

spawned when destroyed

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

LastAnchor

Type: NavigationPoint

Modifiers: const

recent nearest path

LastValidAnchorTime

Type: float

last time a valid anchor was found

numLandings

Type: int

Modifiers: const

Used by engine physics.

Default values

Property Value
bCanBeDamaged True
bOrientOnSlope True
bShouldBaseAtStartup 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


NotReachableBy

event NotReachableBy (Pawn P)


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)