The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:LocalMessage (UT2003)
Contents
- Package:
- Engine
- Direct subclasses:
- BulldogMessage, CTFHUDMessage, ComboMessage, CriticalEventPlus, FailedConnect, GameMessage, LMSMessage, MultiKillMessage, MutantMessage, MutantNameMessage, PickupMessagePlus, PlayerNameMessage, SpecialKillMessage, StringMessagePlus, XDeathMessage, XDomMessage, XKillerMessagePlus, XVictimMessage
- This class in other games:
- UT, U2XMP, UE2Runtime, U2, UT2004, UDK, UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
LocalMessage
LocalMessages are abstract classes which contain an array of localized text. The PlayerController function ReceiveLocalizedMessage() is used to send messages to a specific player by specifying the LocalMessage class and index. This allows the message to be localized on the client side, and saves network bandwidth since the text is not sent. Actors (such as the GameInfo) use one or more LocalMessage classes to send messages. The BroadcastHandler function BroadcastLocalizedMessage() is used to broadcast localized messages to all the players.
Properties[edit]
Property group 'Message'[edit]
bBeep[edit]
Type: bool
If true, beep!
bComplexString[edit]
Type: bool
Indicates a multicolor string message class.
bFadeMessage[edit]
Type: bool
If true, use fade out effect on message.
bIsConsoleMessage[edit]
Type: bool
If true, put a GetString on the console.
Default value: True
bIsPartiallyUnique[edit]
Type: bool
If true and special, only one can be in the HUD queue with the same switch value
bIsSpecial[edit]
Type: bool
If true, don't add to normal queue.
Default value: True
bIsUnique[edit]
Type: bool
If true and special, only one can be in the HUD queue at a time.
ChildMessage[edit]
Type: class<LocalMessage>
In some cases, we need to refer to a child message.
DrawColor[edit]
Type: Object.Color
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
DrawPivot[edit]
Type: Object.EDrawPivot
Default value: DP_MiddleMiddle
FontSize[edit]
Type: int
0: Huge, 1: Big, 2: Small ...
Lifetime[edit]
Type: int
- of seconds to stay in HUD message queue.
Default value: 3
PosX[edit]
Type: float
Default value: 0.5
PosY[edit]
Type: float
Default value: 0.7
StackMode[edit]
Type: EStackMode
Brutal hack!
Enums[edit]
EStackMode[edit]
- SM_None
- SM_Up
- SM_Down