HUD BattleLogEvent

From CryWiki

Jump to: navigation, search

HUD.BattleLogEvent(number string [, extra args])

Description

Adds a message to the Battle Log.

Arguments

  1. Message type (number)
  2. Message (string)


Example

Lua (example)
HUD.BattleLogEvent(eBLE_Information, "Hello, battle log");


Notes

Message type can be any of these:

  • eBLE_Information
  • eBLE_Currency
  • eBLE_Warning
  • eBLE_System


Note
BattleLogEvent only works when a BattleLog is shown in the HUD. By default it's only shown in multiplayer.
Personal tools