Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-23-09, 01:07 PM   #1
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 32
Changing UnitFrame Position When Entering and Exiting Vehicles

Hey guys!

I have a small problem that I'm not sure how to solve. I've written a very simple addon that adjusts the position of the default unitframes based on sliders in a preference pane. It works wonderfully under normal use, but as soon as I use a vehicle, things get screwy - the frame and its background shift to different places on the screen and are generally messy.

I am aware that simply doing setPoint: on the frames again will fix this. The problem that I am trying to solve is figuring out how to do that AFTER the unitframe has finished the vehicle transition animation.

Any ideas? I've considered maybe using a timer, but haven't tried it for fear of its reliance on FPS killing the method's reliability.

Thanks!
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Changing UnitFrame Position When Entering and Exiting Vehicles


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off