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