I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:GameObjective (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> NavigationPoint >> JumpDest >> JumpSpot >> GameObjective
Package: 
UnrealGame
Direct subclasses:
CTFBase, DestroyableObjective, DominationPoint, XBombDelivery, InvasionPoint, LockedObjective, TriggeredObjective, XBombSpawn
This class in other games:
UT2004

null

Properties[edit]

Property group 'GameObjective'[edit]

AreaVolumeTag[edit]

Type: name


bAccruePoints[edit]

Type: bool

controlling team accrues points

BaseExitTime[edit]

Type: float

how long it takes to get entirely away from the base

Default value: 8.0

BaseRadius[edit]

Type: float

radius of base

Default value: 2000.0

bTeamControlled[edit]

Type: bool

disabling changes the objectives team rather than removing it

DefenderTeamIndex[edit]

Type: byte

0 = defended by team 0

DefensePriority[edit]

Type: byte

Higher priority defended/attacked first

DefenseScriptTags[edit]

Type: name

tags of scripts that are defense scripts

DestructionMessage[edit]

Type: string

Modifiers: localized


Default value: "Objective Disabled!"

LocationPostfix[edit]

Type: string

Modifiers: localized


LocationPrefix[edit]

Type: string

Modifiers: localized


Default value: "Near"

ObjectiveName[edit]

Type: string

Modifiers: localized


Score[edit]

Type: int

score given to player that completes this objective

Internal variables[edit]

AlternatePaths[edit]

Type: AssaultPath


bDisabled[edit]

Type: bool

true when objective has been destroyed

bFirstObjective[edit]

Type: bool

First objective in list of objectives defended by same team

Default value: True

bHasShootSpots[edit]

Type: bool


DefenseScripts[edit]

Type: UnrealScriptedSequence


DefenseSquad[edit]

Type: SquadAI

squad defending this objective;

MyBaseVolume[edit]

Type: Volume


NextObjective[edit]

Type: GameObjective

list of objectives defended by the same team

ObjectiveStringPrefix[edit]

Type: string

Modifiers: localized


ObjectiveStringSuffix[edit]

Type: string

Modifiers: localized


Default value: " Team Base"

StartTeam[edit]

Type: byte


Default values[edit]

Property Value
bForceDoubleJump True
bMustBeReachable True
bOnlyDirtyReplication True
bOptionalJumpDest True
bReplicateMovement False

Functions[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: JumpSpot.PostBeginPlay


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

BetterObjectiveThan[edit]

function bool BetterObjectiveThan (GameObjective Best, byte DesiredTeamNum, byte RequesterTeamNum)


BotNearObjective[edit]

function bool BotNearObjective (Bot B)


CanDoubleJump[edit]

function bool CanDoubleJump (Pawn Other)

Overrides: JumpSpot.CanDoubleJump


DisableObjective[edit]

function DisableObjective (Pawn Instigator)


GetDifficulty[edit]

function float GetDifficulty ()


GetHumanReadableName[edit]

simulated function string GetHumanReadableName ()

Overrides: Actor.GetHumanReadableName


GetNumDefenders[edit]

function int GetNumDefenders ()


OwnsDefenseScript[edit]

function bool OwnsDefenseScript (UnrealScriptedSequence S)


PlayAlarm[edit]

function PlayAlarm ()


Reset[edit]

function Reset ()

Overrides: Actor.Reset


TellBotHowToDisable[edit]

function bool TellBotHowToDisable (Bot B)