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)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{framexmlfunc|FrameXML/BasicControls.xml}}
<br>{{framexmlfunc|FrameXML/BasicControls.xml}}


  function _ERRORMESSAGE(message)
  function _ERRORMESSAGE(message)


This has the same effect as the UI [[API message |message]]() function.
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.