I'm a doctor, not a mechanic

UE3:UTGameObjective (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 08:40, 23 May 2008 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> NavigationPoint >> Objective >> UTGameObjective
Package: 
UTGame
Direct subclasses:
UTOnslaughtTarydiumMine, UTCTFBase, UTOnslaughtNodeEnhancement, UTOnslaughtObjective
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties

Property group 'Announcements'

AttackAnnouncement

Type: UTPlayerController.ObjectiveAnnouncementInfo

announcement to use when directing a player to attack this objective

DefendAnnouncement

Type: UTPlayerController.ObjectiveAnnouncementInfo

announcement to use when directing a player to defend this objective

Property group 'Objective'

DefensePriority

Type: byte


ObjectiveName

Type: string

Modifiers: localized


Default value: "Objective"

Property group 'UTGameObjective'

BaseRadius

Type: float


Default value: 2000.0

MyBaseVolume

Type: Volume


VehicleParkingSpots

Type: array<NavigationPoint>

bots in vehicles should go to one of these and then proceed on foot

Property group 'VoiceMessage'

LocationSpeech

Type: array<SoundNodeWave>


Internal variables

See UTGameObjective internal variables.

Default values

Property Value
bOnlyDirtyReplication True
bReplicateMovement False
NetUpdateFrequency 1.0
SupportedEvents[3] Class'UTGame.UTSeqEvent_FlagEvent'

Subobjects

Arrow

Class: Engine.ArrowComponent

Inherits from: Objective.Arrow

No new values.

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: Objective.CollisionCylinder

No new values.

PathRenderer

Class: Engine.PathRenderingComponent

Inherits from: Objective.PathRenderer

No new values.

Sprite

Class: Engine.SpriteComponent

Inherits from: Objective.Sprite

No new values.

Sprite2

Class: Engine.SpriteComponent

Inherits from: Objective.Sprite2

No new values.

Structs

ScorerRecord

Modifiers: native

UTPlayerReplicationInfo PRI 
float Pct 

Functions

Native functions

DrawIcon

simulated native function DrawIcon (Canvas Canvas, Object.Vector IconLocation, float IconWidth, float IconAlpha, UTPlayerController PlayerOwner, Object.LinearColor DrawColor)


GetTeamNum

simulated native function byte GetTeamNum ()

Overrides: Actor.GetTeamNum


RenderMyLinks

simulated native function RenderMyLinks (UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent)


SetHUDLocation

simulated native function SetHUDLocation (Object.Vector NewHUDLocation)

Overrides: Actor.SetHUDLocation

function used to update where icon for this actor should be rendered on the HUD

Parameters:

  • NewHUDLocation - is a vector whose X and Y components are the X and Y components of this actor's icon's 2D position on the HUD

Events

Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


GetBestViewTarget

event Actor GetBestViewTarget ()

Returns the actual viewtarget for this actor. Should be subclassed

IsActive

simulated event bool IsActive ()


IsCritical

simulated event bool IsCritical ()

Returns:

true if this objective is critical and needs immediate attention

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


RenderMinimap

simulated event RenderMinimap (UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent)

Called if bScriptRenderAdditionalMinimap=true

ReplicatedEvent

simulated event ReplicatedEvent (name VarName)

Overrides: Actor.ReplicatedEvent


Reset

event Reset ()

Overrides: Actor.Reset


Other instance functions

See UTGameObjective instance functions.