Mostly Harmless

UE3:UTOnslaughtHUD (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> HUD >> GameHUD >> UTHUD >> UTTeamHUD >> UTOnslaughtHUD
Package: 
UTGame

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

Properties

bPowerNodesInitialized

Type: bool


FlagStates

Type: UTGameReplicationInfo.EFlagState

Array size: 2


Default value, index 0: FLAG_Down

Default value, index 1: FLAG_Down

LastMouseMoveTime

Type: float


PowerCore

Type: UTOnslaughtPowerCore

Array size: 2


PowerNodes

Type: array<UTOnslaughtPowernode>


Default values

Property Value
bHasMap True
bShowDirectional True
bShowFragCount False
ScoreboardSceneTemplate Scoreboard_ONS'UI_Scenes_Scoreboards.sbONS'

Functions

Exec functions

SetMapExtent

exec function SetMapExtent (float value)


Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: UTHUD.PostBeginPlay

Create a list of actors needing post renders for. Also Create the Hud Scene

Timer

simulated event Timer ()

Overrides: UTHUD.Timer


Other instance functions

AddLocalizedMessage

function AddLocalizedMessage (int Index, class<LocalMessageInMessageClass, string CriticalString, int Switch, float Position, float LifeTime, int FontSize, Object.Color DrawColor, optional int MessageCount, optional Object OptionalObject)

Overrides: HUD.AddLocalizedMessage

(Description copied from HUD.AddLocalizedMessage)
Add the actual message to the array. Made easier to tweak in a subclass

Parameters:

  • Index - The index in to the LocalMessages array to place it.
  • InMessageClass - Class of the message
  • CriticialString - String of the message
  • Switch - The message switch
  • Position - Where on the screen is the message
  • LifeTime - How long does this message live
  • FontSize - How big is the message
  • DrawColor - The Color of the message

DisplayTeamLogos

function DisplayTeamLogos (byte TeamIndex, Object.Vector2D POS, optional float DestScale)

Overrides: UTTeamHUD.DisplayTeamLogos


DisplayTeamScore

function DisplayTeamScore ()

Overrides: UTTeamHUD.DisplayTeamScore


FindGround

function bool FindGround (out Object.Vector KnownVect)


GetPowerCores

function GetPowerCores ()


GetTeamScore

function int GetTeamScore (byte TeamIndex)

Overrides: UTTeamHUD.GetTeamScore