WoW:API CreateMacro: Difference between revisions

no edit summary
m (replaced "Template:WoW API" with "wowapi")
No edit summary
Line 32: Line 32:


* It is possible to create macros with duplicate names. You should enumerate the current macros using [[API GetNumMacros|GetNumMacros()]] and [[API GetMacroIconInfo|GetMacroIconInfo(macroId)]] to ensure that your new macro name doesn't already exist.
* It is possible to create macros with duplicate names. You should enumerate the current macros using [[API GetNumMacros|GetNumMacros()]] and [[API GetMacroIconInfo|GetMacroIconInfo(macroId)]] to ensure that your new macro name doesn't already exist.
This function may not be called in combat anymore, as of 2.0.
Anonymous user