Thread Tools Display Modes
04-23-09, 12:27 AM   #1
bytora
A Fallenroot Satyr
Join Date: Apr 2009
Posts: 22
Script configuration of objects

Well I have been busy at work creating a nice configuration panel and now it's time to save.

I really don't know what I am doing but thus far I have been able to create an object of type script and modify its contents. Woot!

I have been able to copy an object say a unit frame or a window.

Now I am trying to modify the copies and am pretty lost.

here is my code.

Code:
local f = RDX.GetFeatureData("Test:Exorcism_window", "UnitFrame", nil, nil);
if(f) then
  DEFAULT_CHAT_FRAME:AddMessage("found" );
end

f.design = "Test:Exorcism_unitFrame"

RDX.SetFeatureData("Test:Exorcism_window", "UnitFrame", nil, nil, f)
this did not work at all! hehe. in fact it deleted my feature from my window.

My biggest problem is understanding the key and value.

Any help is greatly appreciated.

-Thanks.

-Byt
  Reply With Quote
04-23-09, 06:33 AM   #2
Dgrimes
A Black Drake
 
Dgrimes's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 89
Ill be in the IRC channel around 3pm PST if you want to talk about it.
__________________
What was is, what will be was.
  Reply With Quote
04-24-09, 11:29 PM   #3
Morax
A Cyclonian
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 40
Wish more people would hang out on irc =)
Perhaps they dont know to goto: irc://irc.freenode.net/#openrdx
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » Script configuration of objects


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