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

UE2:U2CTFFlag (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Decoration >> U2CTFFlag
Package: 
U2CTF
Direct subclasses:
BlueFlag, RedFlag

$Workfile: U2CTFFlag.uc $ Created By: Steve Polge Created On: 7/18/2000 $Author: Mfox $ $Date: 11/07/02 4:23a $ $Revision: 7 $ base class for dropped/carried flags (RedFlag and BlueFlag)

Properties[edit]

Property group 'U2CTFFlag'[edit]

SendHomeDelay[edit]

Type: float


Default value: 60.0

Internal variables[edit]

bHeld[edit]

Type: bool

used by the HUD to display flag state on the client

bHome[edit]

Type: bool

used by the HUD to display flag state on the client

Default value: True

bKnownLocation[edit]

Type: bool

used for Bots AI (set once any bot can see a dropped flag)

Holder[edit]

Type: Pawn


HomeBase[edit]

Type: U2FlagBase


Team[edit]

Type: TeamInfo


TeamNum[edit]

Type: int

default property set within the concrete subclass

Default value: 1

Default values[edit]

Property Value
bAlwaysRelevant True
bCollideActors True
bCollideWorld True
bFixedRotationDir True
bHidden True
bNoStaticMeshCollide True
bStasis False
bStatic False
bUnlit True
Buoyancy 20.0
CollisionHeight 30.0
CollisionRadius 48.0
DrawScale 0.6
DrawType DT_StaticMesh
LightBrightness 255
LightEffect LE_NonIncidence
LightHue 170
LightRadius 6
LightType LT_Steady
Mass 30.0
NetPriority 3.0
PrePivot
Member Value
X 2.0
Z 0.5
RotationRate
Member Value
Pitch 30000
Roll 30000
StaticMesh StaticMesh'VertexM.Decorations.Xmesh'
Style STY_Masked

Enums[edit]

EFlagStatus[edit]

FS_None 
FS_Dropped 
FS_Held 
FS_Home 

Functions[edit]

Events[edit]

FellOutOfWorld[edit]

event FellOutOfWorld ()

Overrides: Actor.FellOutOfWorld


Landed[edit]

event Landed (Object.Vector HitNormall)

Overrides: Decoration.Landed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Replication[edit]

event Replication ()

Overrides: Actor.Replication


Other instance functions[edit]

Drop[edit]

function Drop (Object.Vector newVel)

Overrides: Decoration.Drop


GetStatus[edit]

function EFlagStatus GetStatus ()


Position[edit]

function Actor Position ()


SendHome[edit]

function SendHome ()


SetHolderLighting[edit]

function SetHolderLighting ()


States[edit]

Dropped[edit]

Dropped.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


Dropped.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


Dropped.PhysicsVolumeChange[edit]

singular event PhysicsVolumeChange (PhysicsVolume NewVolume)

Overrides: Decoration.PhysicsVolumeChange (global)


Dropped.Timer[edit]

event Timer ()

Overrides: Decoration.Timer (global)


Dropped.Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch (global)


Dropped.GetStatus[edit]

function EFlagStatus GetStatus ()

Overrides: GetStatus (global)


Dropped.TakeDamage[edit]

function TakeDamage (int Damage, Pawn InstigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: Decoration.TakeDamage (global)


Held[edit]

Held.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


Held.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


Held.FellOutOfWorld[edit]

event FellOutOfWorld ()

Overrides: FellOutOfWorld (global)


Held.Timer[edit]

event Timer ()

Overrides: Decoration.Timer (global)


Held.GetStatus[edit]

function EFlagStatus GetStatus ()

Overrides: GetStatus (global)


Home[edit]

Modifiers: auto

Home.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


Home.EndState[edit]

event EndState ()

Overrides: Object.EndState (global)


Home.Timer[edit]

event Timer ()

Overrides: Decoration.Timer (global)


Home.Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch (global)


Home.GetStatus[edit]

function EFlagStatus GetStatus ()

Overrides: GetStatus (global)