There is no spoon

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

Property group 'Decoration'[edit]

bDamageable[edit]

Type: bool


bPushable[edit]

Type: bool


contents[edit]

Type: class<Inventory>

spawned when destroyed

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

LastAnchor[edit]

Type: NavigationPoint

Modifiers: const

recent nearest path

LastValidAnchorTime[edit]

Type: float

last time a valid anchor was found

numLandings[edit]

Type: int

Modifiers: const

Used by engine physics.

Default values[edit]

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


NotReachableBy[edit]

event NotReachableBy (Pawn P)


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)