Display a standard warning message and play a sound within the game client. The message will automatically fade away. The definition can be found within the module fdb\interface\worldxml\uiparent.lua.

function SendWarningMsg( text )
	WarningFrame:AddMessage(text, 0.93, 0.11, 0.14);	

Parameters Edit

Arguments Edit

string - The warning message to display.

Returns Edit

void - A method call without return value.

Example Edit

local osdate =;
SendWarningMsg("SendWarningMsg: returns "..osdate);

Notes Edit

The text will be displayed e.g. when like trying to cast a spell while not standing.

Related Functions Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.