Getting Started with oUF
Hello everyone,
after a break from WoW i wanted to start again, but instead of using ElvUI or any other compilation i want to build my UI from scratch this time. Therefore id' like to use oUF for UnitFrames, since it offers much more flexibility regarding specific units and what not. But right from the start im running into problems.. every module has a basic implementation in the comment at the Top, i used the Boilerplate found at GitHub and started creating a basic HealthBar.. but it doesnt show up but isnt throwing erros either.. so im kind of clueless to the Whys, maybe someone here can help me Lua Code:
Thats my current code i am using. I also had a look at oUF_p3lim, there its done in the same way. The default UI Player frame isnt showing up, but neither is mine.. I appreciate any help regarding my problems! Thanks in advance |
You need to give each frame a size, you'd want to do that in the "Shared" function.
One exception to this is for headers, see my layout's header spawning for specifics. I've been wanting to do a fully commented base layout including all elements oUF has to offer, but I just haven't had the time. |
You need to anchor[0] the Health element as well.
[0] https://github.com/oUF-wow/oUF/blob/...health.lua#L53 |
Quote:
|
Quote:
|
Quote:
|
All times are GMT -6. The time now is 09:55 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI