View Single Post
  #4  
Unread 12-20-2010, 02:40 PM
Marll's Avatar
Marll Marll is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Jan 2010
Posts: 51
So, another question. If I set a quickslot to allow drops, I drop a skill in there, what saves it?

The method used currently is very manual as shown in the code below:

Code:
steeddata = { };


steeddata[0] = "0x7001BFFE"; -- Bree-Starter Horse
steeddata[1] = "0x7001B4B7"; -- Bay Horse
steeddata[2] = "0x7001B4C9"; -- Blonde Sorrel Horse
steeddata[3] = "0x7001B4B0"; -- Bloodbay Horse
steeddata[4] = "0x7001B4C5"; -- Chestnut Horse
steeddata[5] = "0x7001B4A8"; -- Springfest Horse
steeddata[6] = "0x70020550"; -- Blue Roan Horse
steeddata[7] = "0x7001B4C7"; -- Lithe Festival Horse
steeddata[8] = "0x700216F9"; -- Pale Golden Summer Horse
steeddata[9] = "0x7001B4C0"; -- Harvestmath Horse
steeddata[10] = "0x7001B4CD"; -- Yule Festival Horse
steeddata[11] = "0x7001E8EE"; -- Yule Festival Snow Horse
steeddata[12] = "0x7001CF5D"; -- Liver Chestnut Horse
steeddata[13] = "0x7001B4AC"; -- Dark Chestnut Horse
steeddata[14] = "0x7001B4D3"; -- Tundra-Horse
steeddata[15] = "0x7001B4C4"; -- Ashen Horse
steeddata[16] = "0x7001B4D9"; -- Grey Horse
steeddata[17] = "0x7001B4D0"; -- Galadhrim Horse
steeddata[18] = "0x7002054D"; -- Smoky Black Horse
steeddata[19] = "0x70022C61"; -- Horse of the Grey Company
steeddata[20] = "0x7001E97D"; -- Dunedain War-Horse
steeddata[21] = "0x7001B4B1"; -- Mahogany Bay Horse
steeddata[22] = "0x7001E980"; -- Galadhrim War-Horse
steeddata[23] = "0x7001E8ED"; -- Sable Harvestmath Horse
steeddata[24] = "0x7001B4C1"; -- Bree Horse

steedqs = { };

for i = 0, 24 do

	steedqs[i] = Turbine.UI.Lotro.Quickslot();
	steedqs[i]:SetShortcut( Turbine.UI.Lotro.Shortcut( 6.0, steeddata[i] ) );

end

goatdata = { };

goatdata[0] = "0x7001CEAA"; -- Dusky Nimblefoot Goat
goatdata[1] = "0x7001B4B4"; -- Tame Redhorn Goat 
goatdata[2] = "0x7001B4B8"; -- Nimble Redhorn-Goat
goatdata[3] = "0x7001E981"; -- Nimble Black Goat
goatdata[4] = "0x7001E97A"; -- Wild Mountain Goat

goatqs = { };

for i = 0, 4 do

	goatqs[i] = Turbine.UI.Lotro.Quickslot();
	goatqs[i]:SetShortcut( Turbine.UI.Lotro.Shortcut( 6.0, goatdata[i] ) );
I understand that the { } signify data in a table, but again, not sure the best way to allow someone to drop a quickslot into the center quickslot of the carousel, add that to the table and save, and then allow other items to be dropped into the carousel and keep increasing the number of slots on the carousel each time.
Reply With Quote