Cogito, ergo sum

UE3:UTObjectiveAnnouncement (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> LocalMessage >> UTLocalMessage >> UTObjectiveSpecificMessage >> UTObjectiveAnnouncement
Package: 
UTGame
This class in other games:
UT3

this is used to handle auto objective announcements (what the game thinks the player should do next)

Default values

Property Value
bIsUnique True
FontSize 1
MessageArea 3

Static functions

GetObjectiveAnnouncement

static function UTPlayerController.ObjectiveAnnouncementInfo GetObjectiveAnnouncement (byte MessageIndex, Object Objective, PlayerController PC)

Overrides: UTObjectiveSpecificMessage.GetObjectiveAnnouncement

should be implemented to return the announcement to use based on the given objective and index

SetHUDDisplay

static simulated function SetHUDDisplay (PlayerController P, int Switch, string Text, PlayerReplicationInfo RelatedPRI_1, PlayerReplicationInfo RelatedPRI_2, Object OptionalObject)

Overrides: UTObjectiveSpecificMessage.SetHUDDisplay

sets up whatever this message displays on the HUD

ShouldBeRemoved

static function bool ShouldBeRemoved (UTQueuedAnnouncement MyAnnouncement, class<UTLocalMessageNewAnnouncementClass, int NewMessageIndex)

Overrides: UTLocalMessage.ShouldBeRemoved

Allow messages to remove themselves if they are superfluous because of newly added message