Action Bar Scaling
Is there an addon or possibility to keep the default scale size of the action bar but downscale everything else?
|
Quote:
Is it even possible to change the ingame "Custom Scale" to the lowest and revert only the "Action Bar" scale back to default? |
Yes, you can change the scale of any control independently.
Try to type "/script ZO_ActionBar1:SetScale(2)" in chat and it should appear twice as big. Once you found a number that you like, just put it (without "/script" ofc) into an addon file and you are done. |
Quote:
Gonna try it out |
Quote:
|
Choose any addon's main lua file, search for the EVENT_ADD_ON_LOADED line.
At this event the game loads this addon and changing the actionabr or other controls before might bring an error. It will look like this e.g. Code:
EVENT_MANAGER:RegisterForEvent("NameOfAddonHere", EVENT_ADD_ON_LOADED, functionName) Code:
function(eventId, addOnName) Inside that functionName function the code of the addon will be executed as the addon loads. It normally starts with something like a comparison of the addon name to the parameter "addOnName" of that function. e.g. Lua Code:
This is done as the event triggers for EACH active addon once! And only the current addon's call should be processed here in this addon file. So at the end of that function functionName you can try to add that script, without the /script though as we are in a lua script already. So your function functionName would look like this e.g. in the end: Lua Code:
or like this: Lua Code:
or like this if it's an anonymous function directly in the EVENT_MANAGER:RegisterForEvent line: Lua Code:
|
If i using script (/script ZO_ActionBar1:SetScale(2)) in chat and jump to another location after, my action bar like it:
https://imgur.com/a/3LgXGbu No any addons. How i can fix it? |
/script ZO_ActionBar1:SetScale(1)
:confused: |
Quote:
|
Sorry, you asked how to fix that after jumping to a new zone.
So I assumed you wanted to know how to resize it to normal. What if you just repeat /script ZO_ActionBar1:SetScale(2) after zoning? Or first /script ZO_ActionBar1:SetScale(1) and afterwards /script ZO_ActionBar1:SetScale(2) ? If chaning to scale 1 and then scale 2 fixes it you can add it directly to any addOn's EVENT_PLAYER_ACTIVATED event call back via This event will be loaded after login and after each zoning, or reloadui Lua Code:
|
All times are GMT -6. The time now is 03:15 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI