I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTObjectiveAnnouncement (UT3)

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

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