Thread Tools Display Modes
01-11-23, 10:18 AM   #1
hasnogaems
A Flamescale Wyrmkin
 
hasnogaems's Avatar
Join Date: Apr 2016
Posts: 109
Hide arena frames addon

My addon body is:
Code:
/run ArenaEnemyFrame1:Hide()
/run ArenaEnemyFrame2:Hide()
/run ArenaEnemyFrame3:Hide()
/run ArenaEnemyFrame4:Hide()
/run ArenaEnemyFrame5:Hide()
and it do the job but it gives error:
Code:
372x Interface\AddOns\hide arena\core.lua:1: unexpected symbol near '/'


Locals:
How can I fix it?
Where is this unexpected symbol?
  Reply With Quote
01-11-23, 10:43 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
/run is only for macros. Addons don't use it.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Hide arena frames addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off