RSS

Пятница, 26.04.2024, 15:56
Главная » WoW API » API Виджеты » Фрейм сообщения »

MessageFrame:AddMessage("text" [, red [, green [, blue [, alpha]]]])

[ править ]
Adds a message to those listed in the frame.
[клоны]
Adds a message to those listed in the frame. If the frame was already 'full' with messages, then the oldest message is discarded when the new one is added.

Signature:
Code
MessageFrame:AddMessage("text" [, red [, green [, blue [, alpha]]]])

Arguments:
  • text - Text of the message (string)
  • red - Red component of the text color for the message (0.0 - 1.0) (number)
  • green - Green component of the text color for the message (0.0 - 1.0) (number)
  • blue - Blue component of the text color for the message (0.0 - 1.0) (number)
  • alpha - Alpha (opacity) for the message (0.0 = fully transparent, 1.0 = fully opaque) (number)

Также смотрите: Фрейм сообщения
Ссылки: http://wowprogramming.com/docs/widgets/MessageFrame/AddMessage