The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:LocalMessage (U2XMP)
Contents
- Package:
- Engine
- Direct subclass:
- GameMessage
- This class in other games:
- UT, U2, UE2Runtime, UT2003, 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 event 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]
bBeep[edit]
Type: bool
If true, beep!
bCenter[edit]
Type: bool
Whether or not to center the message.
bComplexString[edit]
Type: bool
Indicates a multicolor string message class.
bFadeMessage[edit]
Type: bool
If true, use fade out effect on message.
bFromBottom[edit]
Type: bool
Subtract YPos.
bIsConsoleMessage[edit]
Type: bool
If true, put a GetString on the console.
bIsSpecial[edit]
Type: bool
If true, don't add to normal queue.
bIsUnique[edit]
Type: bool
If true and special, only one can be in the HUD queue at a time.
bOffsetYPos[edit]
Type: bool
If the YPos indicated isn't where the message appears.
ChildMessage[edit]
Type: class<LocalMessage>
DrawColor[edit]
Type: Object.Color
Color to display message with.
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 255 |
R | 255 |
Lifetime[edit]
Type: int
- of seconds to stay in HUD message queue.
Default value: 3
XPos[edit]
Type: float
YPos[edit]
Type: float
Coordinates to print message at.