[DiscordArchive] <@456226577798135808> Found a solution ? I tried and :SetPosition() doesn't remove my weapons, are y
[DiscordArchive] <@456226577798135808> Found a solution ? I tried and :SetPosition() doesn't remove my weapons, are y
Archived author: Thiaz • Posted: 2021-09-29T16:09:47.121000+00:00
Original source
<@456226577798135808> Found a solution ? I tried and :SetPosition() doesn't remove my weapons, are you doing another TryOn at the same time ?
Archived author: Deleted User • Posted: 2021-09-29T16:10:55.460000+00:00
Original source
No. I think the `:RefreshUnit()` is what causing it?
Im using a for loop with `TryOn()` to apply 2 weapons, so it's being called twice, one for left hand, one for right hand
Archived author: Thiaz • Posted: 2021-09-29T16:12:02.335000+00:00
Original source
Why do you do a RefreshUnit on a SetPosition() ?
Archived author: Thiaz • Posted: 2021-09-29T16:15:57.433000+00:00
Original source
But for you problem it's basically the flaw of the TryOn function on WOTLK
Archived author: Thiaz • Posted: 2021-09-29T16:18:04.500000+00:00
Original source
For weapon when you try once > It TryOn mainhand, then the second time it applies on the offhand. Basically goes 1 (Main) > 2 (Off) > 1 (Main)
But if you use a "Only Mainhand" or "Only Offhand" it will skip the order.
Basically Only MainHand Will try > 1 MainHand (for your first item) > 2 MainHand (for the 2nd item) > 3 OffHand (for the 3rd item).
Archived author: Thiaz • Posted: 2021-09-29T16:18:11.203000+00:00
Original source
I had the same issue with my transmog UI
Archived author: Thiaz • Posted: 2021-09-29T16:31:57.924000+00:00
Original source
<@456226577798135808> You tell me if that makes sense to you x)
Archived author: Deleted User • Posted: 2021-09-29T16:54:33.219000+00:00
Original source
Well yes, I got data loaded like that, 1st main hand, 2nd off-hand. And it works, but I soon as I refresh it gets fucked up.
Archived author: Deleted User • Posted: 2021-09-29T16:54:49.766000+00:00
Original source
I took off them RefreshUnit() and still does not work
Archived author: Deleted User • Posted: 2021-09-29T16:54:53.779000+00:00
Original source
To recap