Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTGameObjective

Extends
Objective
Modifiers
abstract hidecategories ( VehicleUsage ) native nativereplication

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

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.NavigationPoint
      |   
      +-- Engine.Objective
         |   
         +-- UTGame.UTGameObjective

Direct Known Subclasses:

UTCTFBase, UTOnslaughtNodeEnhancement, UTOnslaughtObjective, UTOnslaughtTarydiumMine

Constants Summary
Inherited Contants from Engine.NavigationPoint
INFINITE_PATH_COST

Variables Summary
TextureCoordinatesAttackCoords
LinearColorAttackLinearColor
boolbAllowOnlyShootable
boolbAllowRemoteUse
boolbAlreadyRendered
UTWeaponLockerBestLocker
boolbFirstObjective
boolbHasLocationSpeech
boolbHasSensor
boolbIsActive
boolbIsConstructing
boolbIsDisabled
boolbNoLockerFound
boolbPostRenderTraceSucceeded
boolbScriptRenderAdditionalMinimap
boolbUnderAttack
floatCameraViewDistance
LinearColorControlColor[3]
byteDefenderTeamIndex
UTDefensePointDefensePoints
UTSquadAIDefenseSquad
array<UTDeployableNodeLocker>DeployableLockers
floatHighlightScale
floatHighlightSpeed
vectorHUDLocation
MaterialHudMaterial
TextureCoordinatesIconCoords
floatIconExtentX
floatIconExtentY
Texture2DIconHudTexture
floatIconPosX
floatIconPosY
floatLastHighlightUpdate
floatLastPostRenderTraceTime
StringLocationPostfix
StringLocationPrefix
floatMaxBeaconDistance
floatMaxHighlightScale
floatMaxSensorRange
floatMinimapIconScale
UTGameObjectiveNextObjective
array<PlayerStart>PlayerStarts
intScore
array<ScorerRecord>Scorers
array<NavigationPoint>ShootSpots
byteStartTeam
array<UTTeamStaticMesh>TeamStaticMeshes
array<UTVehicleFactory>VehicleFactories
Announcements
ObjectiveAnnouncementInfoAttackAnnouncement
ObjectiveAnnouncementInfoDefendAnnouncement
Objective
byteDefensePriority
StringObjectiveName
UTGameObjective
floatBaseRadius
VolumeMyBaseVolume
array<NavigationPoint>VehicleParkingSpots
VoiceMessage
Array<SoundNodeWave>LocationSpeech
Inherited Variables from Engine.NavigationPoint
AnchoredPawn, BadSprite, bAlreadyVisited, bAlwaysUseStrafing, bAutoBuilt, bBlockable, bBlocked, bBlockedForVehicles, bBuildLongPaths, bCanReach, bCanWalkOnToReach, bDestinationOnly, bEndPoint, bestPathWeight, bFlyingPreferred, bForceNoStrafing, bHasCrossLevelPaths, bHideEditorPaths, bMakeSourceOnly, bMayCausePain, bMustBeReachable, bMustTouchToReach, bNeverUseStrafing, bNoAutoConnect, bNotBased, bOneWayPath, bPathsChanged, bPreferredVehiclePath, bSourceOnly, bSpecialForced, bSpecialMove, bTransientEndPoint, bVehicleDestination, Cost, CylinderComponent, EditorForcedPaths, EditorProscribedPaths, ExtraCost, FearCost, GoodSprite, InventoryCache, InventoryDist, LastAnchoredPawnTime, LastDetourWeight, MaxPathSize, NavGuid, NavOctreeObject, NearestObjective, NetworkID, nextNavigationPoint, nextOrdered, ObjectiveDistance, PathCost, PathList, previousPath, prevOrdered, TransientCost, visitedWeight, VolumeList

Structures Summary
ScorerRecord
PRI, Pct
Inherited Structures from Engine.NavigationPoint
NavigationOctreeObject

Functions Summary
function AddScorer (UTPlayerReplicationInfo PRI, float Pct ))
function AddTeamStaticMesh (UTTeamStaticMesh SMesh))
functionbool BetterObjectiveThan (UTGameObjective Best, byte DesiredTeamNum, byte RequesterTeamNum))
functionbool BotNearObjective (UTBot B))
functionbool CalcCamera (float fDeltaTime, out vector out_CamLoc, out rotator out_CamRot, out float out_FOV ))
functionbool CanDoubleJump (Pawn Other))
function ClientReset ()
function Destroyed ()))
function DrawIcon (Canvas Canvas, vector IconLocation, float IconWidth, float IconAlpha, UTPlayerController PlayerOwner, LinearColor DrawColor)
function DrawMapSelection (UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner ))
function FindGoodEndView (PlayerController PC, out Rotator GoodRotation))
functionUTGameObjective FindNearestFriendlyNode (int TeamIndex))
functionActor GetAutoObjectiveActor (UTPlayerController PC))
functionfloat GetBestAvailableVehicleRating ()))
functionUTWeaponLocker GetBestLocker ()))
eventactor GetBestViewTarget ()))
functionUTCarriedObject GetFlag ()
functionvector GetHUDOffset (PlayerController PC, Canvas Canvas))
functionstring GetHumanReadableName ()))
functionint GetLocationMessageIndex (UTBot B, Pawn StatusPawn))
functionSoundNodeWave GetLocationSpeechFor (PlayerController PC, int LocationSpeechOffset, int MessageIndex))
functionstring GetLocationStringFor (PlayerReplicationInfo PRI))
functionint GetNumDefenders ()))
functionbyte GetTeamNum ()
function HighlightOnMinimap (int Switch))
eventbool IsActive ()))
eventbool IsCritical ()))
functionbool IsNeutral ()))
functionbool IsStandalone ()))
function MarkShootSpotsFor (Pawn P))
functionbool NearObjective (Pawn P))
functionbool NeedsHealing ()))
function ObjectiveChanged ()
function PostBeginPlay ()))
functionbool ReachedParkingSpot (Pawn P))
function RenderExtraDetails (UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent, bool bSelected ))
event RenderMinimap (UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent)
function RenderMyLinks (UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent)
event ReplicatedEvent (name VarName))
function Reset ()))
function SetAlarm (bool bNowOn)
function SetHUDLocation (vector NewHUDLocation)
function SetTeam (byte TeamIndex))
function ShareScore (int TotalScore, string EventDesc ))
functionbool Shootable ()))
functionbool TeamLink (int TeamNum))
functionbool TeleportTo (UTPawn Traveler))
functionbool TellBotHowToDisable (UTBot B))
functionbool TellBotHowToHeal (UTBot B))
function TriggerFlagEvent (name EventType, Controller EventInstigator))
function UpdateTeamStaticMeshes ()))
functionbool UsedBy (Pawn P))
functionbool ValidSpawnPointFor (byte TeamIndex))
Inherited Functions from Engine.NavigationPoint
Accept, CanTeleport, DetourWeight, GetAllNavInRadius, GetBoundingCylinder, GetNearestNavToActor, GetNearestNavToPoint, GetReachSpecTo, IsAvailableTo, OnMatchingNetworks, OnToggle, ProceedWithMove, SpecialCost, SuggestMovePreparation


Variables Detail

AttackCoords Source code

var TextureCoordinates AttackCoords;

AttackLinearColor Source code

var LinearColor AttackLinearColor;

bAllowOnlyShootable Source code

var bool bAllowOnlyShootable;
if true, allow this objective to be unreachable as long as we could find some ShootSpots for it

bAllowRemoteUse Source code

var bool bAllowRemoteUse;
Allow use if player is within Pawn's VehicleCheckRadius

bAlreadyRendered Source code

var bool bAlreadyRendered;

BestLocker Source code

var UTWeaponLocker BestLocker;
Locker to get weapons from for spawning player

bFirstObjective Source code

var bool bFirstObjective;

bHasLocationSpeech Source code

var bool bHasLocationSpeech;

bHasSensor Source code

var bool bHasSensor;

bIsActive Source code

var bool bIsActive;
true when in the active state

bIsConstructing Source code

var bool bIsConstructing;
true when in the constructing state

bIsDisabled Source code

var bool bIsDisabled;
true when in the disabled state

bNoLockerFound Source code

var bool bNoLockerFound;
True if tried and failed to find a best locker

bPostRenderTraceSucceeded Source code

var bool bPostRenderTraceSucceeded;
true is last trace test check for drawing postrender beacon succeeded

bScriptRenderAdditionalMinimap Source code

var bool bScriptRenderAdditionalMinimap;

bUnderAttack Source code

var repnotify bool bUnderAttack;

CameraViewDistance Source code

var float CameraViewDistance;

ControlColor[3] Source code

var LinearColor ControlColor[3];

DefenderTeamIndex Source code

var repnotify byte DefenderTeamIndex;

DefensePoints Source code

var UTDefensePoint DefensePoints;

DefenseSquad Source code

var UTSquadAI DefenseSquad;

DeployableLockers Source code

var array<UTDeployableNodeLocker> DeployableLockers;
list of deployable lockers at this objective

HighlightScale Source code

var float HighlightScale;
Used for highlighting on minimap

HighlightSpeed Source code

var float HighlightSpeed;

HUDLocation Source code

var vector HUDLocation;

HudMaterial Source code

var Material HudMaterial;

IconCoords Source code

var TextureCoordinates IconCoords;

IconExtentX Source code

var float IconExtentX;

IconExtentY Source code

var float IconExtentY;

IconHudTexture Source code

var const Texture2D IconHudTexture;

IconPosX Source code

var float IconPosX;

IconPosY Source code

var float IconPosY;

LastHighlightUpdate Source code

var float LastHighlightUpdate;

LastPostRenderTraceTime Source code

var float LastPostRenderTraceTime;
Last time trace test check for drawing postrender beacon was performed

LocationPostfix Source code

var localized String LocationPostfix;

LocationPrefix Source code

var localized String LocationPrefix;

MaxBeaconDistance Source code

var float MaxBeaconDistance;
Max distance for drawing beacon for non-critical objective

MaxHighlightScale Source code

var float MaxHighlightScale;

MaxSensorRange Source code

var float MaxSensorRange;

MinimapIconScale Source code

var float MinimapIconScale;

NextObjective Source code

var UTGameObjective NextObjective;

PlayerStarts Source code

var array<PlayerStart> PlayerStarts;

Score Source code

var int Score;

Scorers Source code

var array<ScorerRecord> Scorers;

ShootSpots Source code

var array<NavigationPoint> ShootSpots;
precalculated list of nearby NavigationPoints this objective is shootable from

StartTeam Source code

var byte StartTeam;

TeamStaticMeshes Source code

var array<UTTeamStaticMesh> TeamStaticMeshes;
list of teamskinned static meshes that we should notify when our team changes

VehicleFactories Source code

var array<UTVehicleFactory> VehicleFactories;
distance away for camera when viewtarget

Announcements

AttackAnnouncement Source code

var(Announcements) ObjectiveAnnouncementInfo AttackAnnouncement;
announcement to use when directing a player to attack this objective

DefendAnnouncement Source code

var(Announcements) ObjectiveAnnouncementInfo DefendAnnouncement;
announcement to use when directing a player to defend this objective

Objective

DefensePriority Source code

var(Objective) byte DefensePriority;

ObjectiveName Source code

var(Objective) localized String ObjectiveName;

UTGameObjective

BaseRadius Source code

var(UTGameObjective) float BaseRadius;

MyBaseVolume Source code

var(UTGameObjective) Volume MyBaseVolume;

VehicleParkingSpots Source code

var(UTGameObjective) array<NavigationPoint> VehicleParkingSpots;
bots in vehicles should go to one of these and then proceed on foot

VoiceMessage

LocationSpeech Source code

var(VoiceMessage) Array<SoundNodeWave> LocationSpeech;


Structures Detail

ScorerRecord Source code

struct ScorerRecord
{
var float Pct;
var UTPlayerReplicationInfo PRI;
};



Functions Detail

AddScorer Source code

function AddScorer ( UTPlayerReplicationInfo PRI, float Pct ) )

AddTeamStaticMesh Source code

simulated function AddTeamStaticMesh ( UTTeamStaticMesh SMesh) )
adds the given team static mesh to our list and initializes its team

BetterObjectiveThan Source code

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

BotNearObjective Source code

function bool BotNearObjective ( UTBot B) )

CalcCamera Source code

simulated function bool CalcCamera ( float fDeltaTime, out vector out_CamLoc, out rotator out_CamRot, out float out_FOV ) )
Calculate camera view point, when viewing this actor.
@param fDeltaTime delta time seconds since last update
@param out_CamLoc Camera Location
@param out_CamRot Camera Rotation
@param out_FOV Field of View
@return true if Actor should provide the camera point of view.

CanDoubleJump Source code

function bool CanDoubleJump ( Pawn Other) )

ClientReset Source code

simulated function ClientReset ( )
called by UTPlayerController::ClientReset() when restarting level without reloading performs any clientside only actions

Destroyed Source code

simulated function Destroyed ( ) )

DrawIcon Source code

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

DrawMapSelection Source code

simulated function DrawMapSelection ( UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner ) )

FindGoodEndView Source code

simulated function FindGoodEndView ( PlayerController PC, out Rotator GoodRotation) )
Used by PlayerController.FindGoodView() in RoundEnded State

FindNearestFriendlyNode Source code

function UTGameObjective FindNearestFriendlyNode ( int TeamIndex) )
FindNearestFriendlyNode() returns nearest node at which team can spawn

GetAutoObjectiveActor Source code

function Actor GetAutoObjectiveActor ( UTPlayerController PC) )

@return the actor that the given player should use to complete this objective

GetBestAvailableVehicleRating Source code

function float GetBestAvailableVehicleRating ( ) )
returns the rating of the highest rated locked vehicle available at this node

GetBestLocker Source code

function UTWeaponLocker GetBestLocker ( ) )

GetBestViewTarget Source code

event actor GetBestViewTarget ( ) )
Returns the actual viewtarget for this actor. Should be subclassed

GetFlag Source code

function UTCarriedObject GetFlag ( )
returns the UTCarriedObject (if any) associated with this objective

GetHUDOffset Source code

simulated function vector GetHUDOffset ( PlayerController PC, Canvas Canvas) )

GetHumanReadableName Source code

simulated function string GetHumanReadableName ( ) )

GetLocationMessageIndex Source code

simulated function int GetLocationMessageIndex ( UTBot B, Pawn StatusPawn) )

GetLocationSpeechFor Source code

simulated function SoundNodeWave GetLocationSpeechFor ( PlayerController PC, int LocationSpeechOffset, int MessageIndex) )

GetLocationStringFor Source code

simulated function string GetLocationStringFor ( PlayerReplicationInfo PRI) )

GetNumDefenders Source code

function int GetNumDefenders ( ) )

GetTeamNum Source code

simulated native function byte GetTeamNum ( )

HighlightOnMinimap Source code

simulated function HighlightOnMinimap ( int Switch) )

IsActive Source code

simulated event bool IsActive ( ) )

IsCritical Source code

simulated event bool IsCritical ( ) )
@Returns true if this objective is critical and needs immediate attention

IsNeutral Source code

simulated function bool IsNeutral ( ) )

IsStandalone Source code

simulated function bool IsStandalone ( ) )

MarkShootSpotsFor Source code

simulated function MarkShootSpotsFor ( Pawn P) )
mark NavigationPoints the given Pawn can shoot this objective from as endpoints for pathfinding this is so that the AI can figure out how to get in range of objectives that are shootable but not reachable

NearObjective Source code

function bool NearObjective ( Pawn P) )

NeedsHealing Source code

simulated function bool NeedsHealing ( ) )

ObjectiveChanged Source code

function ObjectiveChanged ( )
Used for a notification chain when an objective changes

PostBeginPlay Source code

simulated function PostBeginPlay ( ) )

ReachedParkingSpot Source code

function bool ReachedParkingSpot ( Pawn P) )
returns whether the given Pawn has reached one of our VehicleParkingSpots

RenderExtraDetails Source code

simulated function RenderExtraDetails ( UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent, bool bSelected ) )
Called if rendering full size map

RenderMinimap Source code

simulated event RenderMinimap ( UTMapInfo MP, Canvas Canvas, UTPlayerController PlayerOwner, float ColorPercent )
Called if bScriptRenderAdditionalMinimap=true

RenderMyLinks Source code

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

ReplicatedEvent Source code

simulated event ReplicatedEvent ( name VarName) )

Reset Source code

function Reset ( ) )

SetAlarm Source code

function SetAlarm ( bool bNowOn )
turns on or off the alarm sound played when under attack

SetHUDLocation Source code

simulated native function SetHUDLocation ( vector NewHUDLocation )
function used to update where icon for this actor should be rendered on the HUD
@param 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

SetTeam Source code

function SetTeam ( byte TeamIndex) )

ShareScore Source code

function ShareScore ( int TotalScore, string EventDesc ) )

Shootable Source code

function bool Shootable ( ) )

TeamLink Source code

simulated function bool TeamLink ( int TeamNum) )

TeleportTo Source code

function bool TeleportTo ( UTPawn Traveler) )
Will attempt to teleport a pawn to this objective

TellBotHowToDisable Source code

function bool TellBotHowToDisable ( UTBot B) )

TellBotHowToHeal Source code

function bool TellBotHowToHeal ( UTBot B) )

TriggerFlagEvent Source code

function TriggerFlagEvent ( name EventType, Controller EventInstigator) )
triggers all UTSeqEvent_FlagEvent attached to this objective with the given flag event type

UpdateTeamStaticMeshes Source code

simulated function UpdateTeamStaticMeshes ( ) )
updates TeamStaticMeshes array for a change in our team

UsedBy Source code

function bool UsedBy ( Pawn P) )

ValidSpawnPointFor Source code

function bool ValidSpawnPointFor ( byte TeamIndex) )


Defaultproperties

defaultproperties
{
   bFirstObjective=True
   DefenderTeamIndex=2
   LocationPrefix="Near "
   ObjectiveName="Objective"
   BaseRadius=2000.000000
   Score=5
   ControlColor(0)=(R=1.000000,G=0.000000,B=0.000000,A=1.000000)
   ControlColor(1)=(R=0.000000,G=0.000000,B=1.000000,A=1.000000)
   ControlColor(2)=(R=1.000000,G=1.000000,B=1.000000,A=1.000000)
   AttackCoords=(U=583.000000,V=266.000000,UL=52.000000,VL=57.000000)
   IconCoords=(U=537.000000,V=296.000000,UL=46.000000,VL=31.000000)
   HudMaterial=Material'UI_HUD.Icons.M_UI_HUD_Icons01'
   MaxSensorRange=2800.000000
   CameraViewDistance=400.000000
   MaxHighlightScale=8.000000
   HighlightSpeed=10.000000
   MinimapIconScale=20.000000
   IconHudTexture=Texture2D'UI_HUD.HUD.UI_HUD_BaseB'
   AttackLinearColor=(R=1.000000,G=1.000000,B=1.000000,A=1.000000)
   Begin Object Class=CylinderComponent Name=CollisionCylinder ObjName=CollisionCylinder Archetype=CylinderComponent'Engine.Default__Objective:CollisionCylinder'
      ObjectArchetype=CylinderComponent'Engine.Default__Objective:CollisionCylinder'
   End Object
   CylinderComponent=CollisionCylinder
   Begin Object Class=SpriteComponent Name=Sprite ObjName=Sprite Archetype=SpriteComponent'Engine.Default__Objective:Sprite'
      ObjectArchetype=SpriteComponent'Engine.Default__Objective:Sprite'
   End Object
   GoodSprite=Sprite
   Begin Object Class=SpriteComponent Name=Sprite2 ObjName=Sprite2 Archetype=SpriteComponent'Engine.Default__Objective:Sprite2'
      ObjectArchetype=SpriteComponent'Engine.Default__Objective:Sprite2'
   End Object
   BadSprite=Sprite2
   Components(0)=Sprite
   Components(1)=Sprite2
   Begin Object Class=ArrowComponent Name=Arrow ObjName=Arrow Archetype=ArrowComponent'Engine.Default__Objective:Arrow'
      ObjectArchetype=ArrowComponent'Engine.Default__Objective:Arrow'
   End Object
   Components(2)=Arrow
   Components(3)=CollisionCylinder
   Begin Object Class=PathRenderingComponent Name=PathRenderer ObjName=PathRenderer Archetype=PathRenderingComponent'Engine.Default__Objective:PathRenderer'
      ObjectArchetype=PathRenderingComponent'Engine.Default__Objective:PathRenderer'
   End Object
   Components(4)=PathRenderer
   bReplicateMovement=False
   bOnlyDirtyReplication=True
   NetUpdateFrequency=1.000000
   CollisionComponent=CollisionCylinder
   SupportedEvents(3)=Class'UTGame.UTSeqEvent_FlagEvent'
   Name="Default__UTGameObjective"
   ObjectArchetype=Objective'Engine.Default__Objective'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:52.055 - Created with UnCodeX