The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:GameObjective (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Property group 'GameObjective'

AreaVolumeTag

Type: name


bAccruePoints

Type: bool

controlling team accrues points

BaseExitTime

Type: float

how long it takes to get entirely away from the base

Default value: 8.0

BaseRadius

Type: float

radius of base

Default value: 2000.0

bTeamControlled

Type: bool

disabling changes the objectives team rather than removing it

DefenderTeamIndex

Type: byte

0 = defended by team 0

DefensePriority

Type: byte

Higher priority defended/attacked first

DefenseScriptTags

Type: name

tags of scripts that are defense scripts

DestructionMessage

Type: string

Modifiers: localized


Default value: "Objective Disabled!"

LocationPostfix

Type: string

Modifiers: localized


LocationPrefix

Type: string

Modifiers: localized


Default value: "Near"

ObjectiveName

Type: string

Modifiers: localized


Score

Type: int

score given to player that completes this objective

Internal variables

AlternatePaths

Type: AssaultPath


bDisabled

Type: bool

true when objective has been destroyed

bFirstObjective

Type: bool

First objective in list of objectives defended by same team

Default value: True

bHasShootSpots

Type: bool


DefenseScripts

Type: UnrealScriptedSequence


DefenseSquad

Type: SquadAI

squad defending this objective;

MyBaseVolume

Type: Volume


NextObjective

Type: GameObjective

list of objectives defended by the same team

ObjectiveStringPrefix

Type: string

Modifiers: localized


ObjectiveStringSuffix

Type: string

Modifiers: localized


Default value: " Team Base"

StartTeam

Type: byte


Default values

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

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: JumpSpot.PostBeginPlay


Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

BetterObjectiveThan

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


BotNearObjective

function bool BotNearObjective (Bot B)


CanDoubleJump

function bool CanDoubleJump (Pawn Other)

Overrides: JumpSpot.CanDoubleJump


DisableObjective

function DisableObjective (Pawn Instigator)


GetDifficulty

function float GetDifficulty ()


GetHumanReadableName

simulated function string GetHumanReadableName ()

Overrides: Actor.GetHumanReadableName


GetNumDefenders

function int GetNumDefenders ()


OwnsDefenseScript

function bool OwnsDefenseScript (UnrealScriptedSequence S)


PlayAlarm

function PlayAlarm ()


Reset

function Reset ()

Overrides: Actor.Reset


TellBotHowToDisable

function bool TellBotHowToDisable (Bot B)