WoW:API ERRORMESSAGE: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API ERRORMESSAGE to API ERRORMESSAGE without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This is the ''exact'' same function as the UI[[API message | message()]] function
<br>{{framexmlfunc|FrameXML/BasicControls.xml}}


[[Category:API UI Provided Functions|message]]
function _ERRORMESSAGE(message)
 
This has the same effect as the UI [[API message |message]]() function.
 
To use this as of version 2.1 set the cvar "scriptErrors" to 1 via the [[API SetCVar |SetCVar]]() function.

Latest revision as of 04:45, 15 August 2023


WoW API < ERRORMESSAGE

"I" iconThis function is implemented in Lua here FrameXML/BasicControls.xml.
function _ERRORMESSAGE(message)

This has the same effect as the UI message() function.

To use this as of version 2.1 set the cvar "scriptErrors" to 1 via the SetCVar() function.