How to wrap my macro addon in PLAYER_ENTERING_WORLD
I used https://addon.bool.no/ to generate an addon for me from a macro. I'd like that addon to run every time I zone. I believe I should wrap it in a function that uses PLAYER_ENTERING_WORLD but I'm not really sure how to do it. Here is what I have so far...
NameplateShrinker.toc Code:
## Interface: 90100 Code:
C_NamePlate.SetNamePlateFriendlySize(60, 30) Thanks! |
Ended up doing this...
Code:
local ShrinkNameplate = CreateFrame("frame", "ShrinkNameplate") Thanks!!! |
Good job. If you would like to simplify it a little, you can do just this:
Lua Code:
|
All times are GMT -6. The time now is 05:09 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI