找回密码
 立即注册

QQ登录

只需一步,快速开始

手机短信,快捷登录

搜索

GnosisFixCastBarAnchoring

[复制链接]
 楼主| 发表于 2023-6-19 16:45:00 来自手机 | 显示全部楼层 |阅读模式
WA仓库
WA名称: GnosisFixCastBarAnchoring
WA内容: !WA:2!9MvqVTnYv41XTnamTBBm2nTPTaLqfiRuGICSJTb2G6cijl7OSowQuYoT1iqIICK0atndbhsBPTi7H0dDV0l(qVxFUN8PEE7FabJ(liN3t5xqFZmKuKuKYEtkwbKyY59M38EV59(EpoZshTYOvmxHPTzPnlTXkMF9dDM0OFFgYDPlmrmDxphDxu3lXK(uNr6Uyk5ExcpAGQDkI4Y6EHdAamy7j2Okydk5CDcwY3wvgPJj7wXLtIqjORm5cdO0HpKddbSBYEdsNH4tF6D(g(JTCDqKbUdVTgZv3XD3PktVZ0F80FY0pg(7p9296Jjy2WKd)Utqi7YmBKHRgFn6Eodz1VjftCVSsJ2TB8cT679S2FJbLAzspJuZCaA4fCfUf1dSMF9h5m23U7XqJof5OTwPhx6XxW86PjSq2V8EtvUcETNUXjdCOEeZ3eiTH9gIWdg6U8fUudyUmG)FXs)TFqVZ0hqRVZ5J)dBnyd0PL)cndQf155lV8YlzVIhdv1xaVGAQX9Z2FsGiBJg7UdMP3Zczo8DGzGCi6whjL9FDDpS5LFEdKZrR1(StzT00TShQVK2zyt3Hl74RclVUNJL9VAORRn7PRUkxzkHPRgQnRUwLVKshT0L6eJHuhH3A6NCzFh9r8TbDx9LNE7UxAIz2w6tQdoREBS(MF(MRDbFNdZ3kzk9GN7JhOCvGM36mSnQRJUHG(wvG9l3h0ZWJ5shn(t)76qqqhe50s6MMusnIWcv3wn)EekdZu)QTvjyRcQ6eZGXkvwOFv0DItLhgnhlfu3EB1C99iI1pxbfCF18D274CVSChjV7IhxvN5c8kNeMmi3R4Zsiz3HiIIk87Mmh1)I6RVHmFCUHu6jiZqfDxqffYOVUfdPGiMkH(Mbw0E6w1HKoG(1lBfLh9ivigc3FcO)Gt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SxTwN92TAf4HdBbOpvFwTQFrNY16uTTw992daRsKfEtsZtL3OhsFwFRvWKEFUaIK)(oDHeF3N81Dbf3KpE49(cmwKG)GWyFFWA)aWCZYgYcdoZZf879RjlZW8RjLG)7LWhywg4Nvc6QNiVz483SCXB6PW1tKJZS)2OqIq3)HOGbphd4RO6cX6kQEdG3aMYgrlCbIJkvu96WTeCCDUhnElzmLlLfte1q1e(HGrgInrt36QbicYbBWpBGgK3Ye)j4QLVIx0Kfu9PR9D5VhBcDppK8sVr8yDtMsf(3c0tEnmtvMU10JTVFGmvB6qh4Gym18I6AfElZtUb1e64cpwdCH7VF4GTGIJ4Xx2PA5wG3TDzT2VZCcyAyJGsOYs7Uo6gNaAOU4deBll3(cQj6F9rxP75cbUnSLx6CfteZWEsMikQ5pvC99fuklM3tvZx7WcVaBz9F(NKh1sNmWdtOkkWNFqpJP6Rn(D7YNpTFSlcvv0At49NYYHnTVFMR(7I05bVPGETQQvR2bRC6)9po93mv9)9
WA来源: https://wago.io/xQ6g4evAK
WA封面图:
WA内容图: https://media.wago.io/screenshots/xQ6g4evAK/648ff12fd6631ae31f417cb8.png
WA类型: 可及性 控制 通用 龙飞地下城 第二季地下城 
WA推荐:
WA包含光环: -
WA版本: 1.0.0
WA更新日志:
WA汉化简介:
WA作者: millanzarreta
WA更新时间: 2023-06-19 11:55:22
WA游戏版本: Dragonflight 10.1.0
wa游戏大版本: 巨龙时代
GnosisFixCastBarAnchoring

This WA allows you to keep a cast bar from the addon Gnosis anchored to its correspondent Blizzard party unit frame.

Gnosis is an addon that allows you to create custom cast bars for the unit you want and place them where you want. The problem occurs if you want to create cast bars for party frames with this addon, because although the addon allows you to anchor your cast bars to a certain frame, Blizzard party unit frames are not assigned to fixed units and can vary according to different parameters such as the selected ordering or other factors. The Blizzard unit frames for the party are named CompactPartyFrameMember1, CompactPartyFrameMember2, CompactPartyFrameMember3, CompactPartyFrameMember4, and CompactPartyFrameMember5. As mentioned, each of these frames does not have a specific unit assigned.

This WA allows us to solve this inconvenience, and will be in charge of monitoring the Gnosis casting bars indicated by the user and anchoring them to their corresponding unit frame when its needed.

For this WA to work, certain configuration by the user is necessary:

* The first thing is to create in Gnosis the desired cast bars for the party units, creating one for each unit ("party1", "party2", "party3", "party4", and one for "player" if desired), remember to assign it its corresponding unit in the "unit" configuration section of Gnosis. Each one is given a different name and in the "Anchoring" configuration section select "Anchor to frame" and write any anchor for all of them (the WA will reanchor them to they correct party frame anchors), so you can anchor all of them to "CompactPartyFrameMember1" for example .

* The second configuration step needed is to go to the configuration section of this WA -> Actions -> On Init and modify the values of the table aura_env.listCastBarsName, establishing as key (left part) the name given to the Gnosis cast bar and as value (right part) its associated unit. With this, the WA will be able to reposition the bar.

Finally, after finishing the configuration, you must do a /reload for everything to work correctly.

*********************************************************

A practical example to understand it better:

We want to create five simple castbars for the party frames, four for party1..4 and one for the player, like the next image:



First, we create a new castbar in the Gnosis addon for the "party1" unit, which we can name whatever we want, in this case we will name it "RaidAdvParty1". We configure it visually to our liking, but the important modified options are those shown in the following image:



It is important to select the corresponding unit and anchor it to a frame with the desired offset. We can anchor them all to the same frame CompactPartyFrameMember1 and the WA will take care of reanchoring each one where it corresponds.

We proceed to create the rest of the castbars for the other units in the same way: "party2", "party3", "party4" and "player", establishing for each one its corresponding unit in the options, and a different name for each one. In our case its name will be respectively "RaidAdvParty2", "RaidAdvParty3", "RaidAdvParty4" and "RaidAdvPlayer".

Then it only remains to modify this WA to indicate these created castbars. Let's go to the configuration of this WA -> Actions -> On Init and modify the table aura_env.listCastBarsName to indicate the name of these castbars that we create in Gnosis and their respective unit associated, leaving us with the following code for our example:

aura_env.listCastBarsName = {
     ["RaidAdvParty1"] = "party1",
     ["RaidAdvParty2"] = "party2",
     ["RaidAdvParty3"] = "party3",
     ["RaidAdvParty4"] = "party4",
     ["RaidAdvPlayer"] = "player",
}

After finishing the configuration we do a /reload and everything is ready.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|魔兽世界玩家社区APP官网 ( 鄂ICP备20007009号-6 )

GMT+8, 2024-5-22 04:50 , Processed in 0.165244 second(s), 15 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表