Yeah these frames does not exists at the beginning, so I had a lot of crashes. Because working on it crashes if at least one player does not have it.
Why is it dirty to scale it by code?
How can I get the default cooldown object and how can I resize it?
Thanks.
Why is it dirty to scale it by code?
How can I get the default cooldown object and how can I resize it?
Thanks.
One can access the frames that display the cooldowns using the frame child api but it is dirty. you first need to make sure the buttons create it by selecting an unit with active cooldowns at the spots for all players. Then get child 0 of ORIGIN_FRAME_COMMAND_BUTTON and use BlzFrameSetScale.