SetShortcut

From LoTROInterface Wiki

Jump to: navigation, search


Sets the shortcut on the quickslot.

Syntax

Lua
function Quickslot:SetShortcut(value);

Parameters

value
Type: Shortcut
The new shortcut infor to set the quickslot to use.

Remarks

Sets the shortcut on the quickslot.

Examples

Setting a new shortcut.


Setting a shortcut
quickslot = Turbine.UI.Lotro.Quickslot()
quickslot:SetParent( myWindow );
quickslot:SetPosition( 50, 50 );
quickslot:SetSize( 38, 38 );
quickslot:SetShortcut( Turbine.UI.Shortcut( LuaShortcutType::Undef, "" ) );
Personal tools