Jump to content


Photo

Resizing Quartz cast bars with /script?


  • Please log in to reply
1 reply to this topic

#1 diospadre

diospadre

    Hero of the Horde

  • Guild Members
  • 7,465 posts

Posted 08 January 2008 - 09:44 PM

I'm writing an addon that let's me switch rearrange UI elements through keybinds, hiding/moving/resizing frames to allow me to run different arrangements for raiding/pvp/soloing/etc. The problem that I've run into is with Quartz. Using the SetWidth command makes the bar freak out and ends up with distortion. I've instead been trying to get my addon to tell Quartz to resize the bar itself, but I haven't had much luck as I'm not a programmer and am basically picking through the mods trying to learn what they do and copy them.

I've been unable to find the syntax to tell Quartz to resize its bars. I've been trying things (ingame) along the lines of "/script Quartz_Player:set(w, 500)" but haven't had any luck. Any advice?

#2 diospadre

diospadre

    Hero of the Horde

  • Guild Members
  • 7,465 posts

Posted 08 January 2008 - 11:14 PM

Antiarc came through on IRC: Quartz.options.args.Player.args.w.set("x", 522)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users