View Single Post
  #5  
Unread 11-13-2011, 06:04 AM
Queekusme's Avatar
Queekusme Queekusme is offline
The Indomitable
Interface Author - Click to view interfaces
 
Join Date: May 2011
Posts: 13
So how do i put that in the context of my code is it something like

Code:
local savedatax ={

        shortcut = quickslot1:GetShortcut()
        local type, data = shortcut:GetType(), shortcut:GetData()
                                    
	quickslot1SavData = type,data,
	          -- And then copy for the other shortcuts...
		}
and to load it (copied from Cearbhall)

Code:
quickslot1:SetShortcut(Turbine.UI.Lotro.Shortcut(type value,data value)) -- type and data values called from the loadup process
__________________
We create that what only we love most, But what truly creates us is what(who) loves us the most. - ME, i'm philosopher nao
Where's Chuck Norris' plugin?

Last edited by Queekusme : 11-13-2011 at 06:09 AM.
Reply With Quote