Quantcast
rFrameRotator help - WoWInterface
Thread Tools Display Modes
04-08-09, 02:16 PM   #1
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 25
Arrow rFrameRotator help

Hi,

first: sorry for this terrible english ^_^ im from germany.
i need little help with rFrameRotator from zork

i add a new texture to the rFrameRotater.lua

Code:
  frames_to_rotate = {
    [1] = { 
      texture = "mapart23", 
      width = 115, 
      height = 115,
      anchorframe = "PlayerFrame",
      framestrata = "BACKGROUND",
      color_red = 255/255,
      color_green = 255/255,
      color_blue = 255/255,
      alpha = 0.2,
      update_timer = 1/60,
      steps_in_degree = 0.15,
      direction = 1,
      blendmode = 1,
    },
  }
i deleted the minimap texture, because i set the new anchor frame:

Code:
    local f = CreateFrame("Frame",nil,UIParent)
    f:SetWidth(texw)
    f:SetHeight(texh)
    f:SetPoint("CENTER",texanchor,"CENTER",-50,5)
    f:SetFrameStrata(texstrata)
    f:SetScale(myscale)
    f:Show()
now it looks:




but i would like the minimap texture back.
i love this around the minimap.

but i change the anchor x y to -50,5 !

i need the PlayerFrame texture to -50,5 and the minimap to 0,0

how do i fix this?

bye
- imithat
  Reply With Quote
04-09-09, 02:20 AM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
This isn't that hard. Just add the Setpoints and x and y to the table values.

Check the Diff:
http://code.google.com/p/rothui/sour...er.lua&old=327

I uploaded it to GoogleCode.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 04-09-09 at 02:26 AM.
  Reply With Quote
04-09-09, 05:46 AM   #3
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 25
Thumbs up

Ah! You are my hero

thanks
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » rFrameRotator help

Thread Tools
Display Modes

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