FANDOM


SendSystemMsg(text)

Display a standard system 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 SendSystemMsg( text )
	PlaySoundByPath("sound\\interface\\ui_sysmsg_normal.mp3");
	SystemMsgFrame:AddMessage(text, 1, 0.95, 0.40 );
end

Parameters Edit

Arguments Edit

text
string - The system message to display.

Returns Edit

nil
void - A method call without return value.

Example Edit

local osdate = os.date();
SendSystemMsg("SendSystemMsg: os.date() returns "..osdate);

Notes Edit

File:SendSystemMsg.png

The text will be displayed e.g. like when taking a screenshot.

Related Functions Edit

Updated --Georhan, Bushido Guild - Isiltir 16:27, 3 May 2010 (UTC)
Original --Choppa 06:53, 5 August 2009 (UTC)
Sends a system message, the same type of chat is displayed when you accept a quest.

/sript SendSystemMsg("Hello world!");

Will display Hello world! in yellow on your screen, orange in Chat Box, and play a sound.

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.