Action

From LoTROInterface Wiki

(Difference between revisions)
Jump to: navigation, search
Line 333: Line 333:
The actions in this section do not correspond to items in the "Key Mapping" panel in the game options.
The actions in this section do not correspond to items in the "Key Mapping" panel in the game options.
{| {{API_Header}}
{| {{API_Header}}
-
{{API_Row|CameraInstantMouseLook|Mouse look (usually the left mouse button).}}
+
{{API_Row|'''CameraInstantMouseLook'''|Mouse look (usually the left mouse button).}}
-
{{API_Row|Escape|Escape key.|}}
+
{{API_Row|'''Escape'''|Escape key.|}}
-
{{API_Row|EnterKey|Enter key / chat window focus (only generates a KeyDown event, and only when a text box is not selected).|}}
+
{{API_Row|'''EnterKey'''|Enter key / chat window focus (only generates a KeyDown event, and only when a text box is not selected).|}}
 +
{{API_Row|'''VendorFullStack'''|When the user holds down the SHIFT key when interacting with a vendor.}}
 +
{{API_Row|'''VendorQuantity'''|When the user holds down the ALT key when interacting with a vendor.}}
|}
|}
Line 381: Line 383:
{{API_Row|'''UI_Toggle'''|}}
{{API_Row|'''UI_Toggle'''|}}
{{API_Row|'''Undefined'''|}}
{{API_Row|'''Undefined'''|}}
-
{{API_Row|'''VendorFullStack'''|}}
 
-
{{API_Row|'''VendorQuantity'''|}}
 
|}
|}

Revision as of 23:32, 4 June 2019


List of available "key actions" that can be detected by plugins. They are passed in the "Action" argument to KeyDown and KeyUp events.

The items are shown in the order in which they appear in the "Key Mapping" panel in the game.

Movement

None of the key actions in this section can be detected by plugins, but they are listed here for completeness.

Name Description
(Move forward) Does not generate KeyUp / KeyDown events.
(Move forward (camera)) Does not generate KeyUp / KeyDown events; however the right mouse button can be detected; see undocumented items below.
(Rotate camera left) Does not generate KeyUp / KeyDown events.
(Rotate camera right) Does not generate KeyUp / KeyDown events.
(Pitch camera up) Does not generate KeyUp / KeyDown events.
(Pitch camera down) Does not generate KeyUp / KeyDown events.
(Pan camera in) Does not generate KeyUp / KeyDown events.
(Pan camera out) Does not generate KeyUp / KeyDown events.
(Toggle first/third person) Does not generate KeyUp / KeyDown events.
(Toggle target lock-on person) Does not generate KeyUp / KeyDown events.

Quickslots

Name Description
QuickslotPageDown
QuickslotPageUp
Quickslot_1 Main quickslot bar, slot 1 hotkey pressed (generates KeyDown event only).
Quickslot_2
Quickslot_3
Quickslot_4
Quickslot_5
Quickslot_6
Quickslot_7
Quickslot_8
Quickslot_9
Quickslot_10
Quickslot_11
Quickslot_12 Main quickslot bar, slot 12 hotkey pressed (generates KeyDown event only).

Quickslot Bar 1

Name Description
Quickbar1Visibility Shows quickslot bar 1 (if "Always show bar 1" is not enabled).
Quickslot_13 Quickslot bar 1, slot 1 hotkey pressed (generates KeyDown event only).
Quickslot_14
Quickslot_15
Quickslot_16
Quickslot_17
Quickslot_18
Quickslot_19
Quickslot_20
Quickslot_21
Quickslot_22
Quickslot_23
Quickslot_24 Quickslot bar 1, slot 12 hotkey pressed (generates KeyDown event only).

Quickslot Bar 2

Name Description
Quickbar2Visibility Shows quickslot bar 2 (if "Always show bar 2" is not enabled).
Quickslot_25 Quickslot bar 2, slot 1 hotkey pressed (generates KeyDown event only).
Quickslot_26
Quickslot_27
Quickslot_28
Quickslot_29
Quickslot_30
Quickslot_31
Quickslot_32
Quickslot_33
Quickslot_34
Quickslot_35
Quickslot_36 Quickslot bar 3, slot 12 hotkey pressed (generates KeyDown event only).

Quickslot Bar 3

Name Description
Quickbar3Visibility Shows quickslot bar 3 (if "Always show bar 3" is not enabled).
Quickslot_37 Quickslot bar 3, slot 1 hotkey pressed (generates KeyDown event only).
Quickslot_38
Quickslot_39
Quickslot_40
Quickslot_41
Quickslot_42
Quickslot_43
Quickslot_44
Quickslot_45
Quickslot_46
Quickslot_47
Quickslot_48 Quickslot bar 3, slot 12 hotkey pressed (generates KeyDown event only).

Quickslot Bar 4

Name Description
Quickbar4Visibility Shows quickslot bar 4 (if "Always show bar 4" is not enabled).
Quickslot_49 Quickslot bar 4, slot 1 hotkey pressed (generates KeyDown event only).
Quickslot_50
Quickslot_51
Quickslot_52
Quickslot_53
Quickslot_54
Quickslot_55
Quickslot_56
Quickslot_57
Quickslot_58
Quickslot_59
Quickslot_60 Quickslot bar 4, slot 12 hotkey pressed (generates KeyDown event only).

Quickslot Bar 5

Name Description
Quickbar5Visibility Shows quickslot bar 5 (if "Always show bar 5" is not enabled).
Quickslot_61 Quickslot bar 5, slot 1 hotkey pressed (generates KeyDown event only).
Quickslot_62
Quickslot_63
Quickslot_64
Quickslot_65
Quickslot_66
Quickslot_67
Quickslot_68
Quickslot_69
Quickslot_70
Quickslot_71
Quickslot_72 Quickslot bar 5, slot 12 hotkey pressed (generates KeyDown event only).

Selection

Name Description
SelectionSelf
SelectionNearestFoe
SelectionNextFoe
SelectionPreviousFoe
SelectionNextTracked
SelectionPreviousTracked
SelectFellowOne
SelectFellowTwo
SelectFellowThree
SelectFellowFour
SelectFellowFive
SelectFellowSix
AssistFellowTwo Assist fellowship member 2 (i.e. set your target to their target).
AssistFellowThree Assist fellowship member 3 (i.e. set your target to their target).
AssistFellowFour Assist fellowship member 4 (i.e. set your target to their target).
AssistFellowFive Assist fellowship member 5 (i.e. set your target to their target).
AssistFellowSix Assist fellowship member 6 (i.e. set your target to their target).
SelectionNearestFellow
SelectionNearestPlayer
SelectionNextPlayer
SelectionPreviousPlayer
SelectionNearestCreature Select nearest NPC.
SelectionNextCreature Select next NPC.
SelectionPreviousCreature Select previous NPC.
SelectionNearestItem
SelectionNextItem
SelectionPreviousItem
PreviousSelection
PreviousAttacker
SelectionAssist Assist your current target (i.e. set your target to their target).

Panels

Name Description
ToggleSkillPanel
ToggleTraitPanel
HousingPanel
ToggleCraftingPanel
MapPanel
ToggleJournalPanel
TitlesPanel
ToggleSocialPanel
ToggleBags Toggle the display of all inventory bags.
ToggleBag1 Toggle the display of the first inventory bag.
ToggleBag2 Toggle the display of the second inventory bag.
ToggleBag3 Toggle the display of the third inventory bag.
ToggleBag4 Toggle the display of the fourth inventory bag.
ToggleBag5 Toggle the display of the fifth inventory bag.
ToggleBag6 Toggle the display of the sixth inventory bag.
DressingRoom
ItemLinkToChat
MultiUseItem
ToggleOptionsPanel
ToggleAssistancePanel
ToggleRadar
ToggleQuestPanel
ToggleAccomplishmentPanel Toggle deed log.
ToggleItemAdvancementPanel Toggle legendary items panel.
ToggleMountsPanel
ToggleInstanceFinderPanel
ToggleSkirmishPanel
ToggleMountedCombatUI
ToggleWebStore
ReputationPanel
HobbyPanel
DestinyPointPerksPanel
ToggleSocialFellowingPanel
FriendsPanel
KinshipPanel
RaidPanel
GroupStagePanel
TogglePaperItemPanel Toggle wallet.
ToggleRandomItemRewardUI Toggle Hobbit Presents display.
TogglePendingLoot
TogglePluginManager
ToggleCollectionUI
ToggleFilterUI

Chat

Name Description
ChatModeReply

Miscellaneous

Name Description
QuickSlot_SkillMode Toggle auto-attack.
Use
FollowSelection
FindItems
ToggleBigBattlesUI
ToggleMailUI
Show_Names Toggle floaty names.
ShowDamage Show damage.
CaptureScreenshot
Tooltip_Detach
ToggleHiddenDragBoxes Enter/exit the UI element repositioning mode.
ToggleQuickslotLock
ToggleHUD Show/hide the HUD (main user interface overlay).
Logout
VoiceChat_Talk
ToggleItemSellLock
(Loot all)
DismountRemount
ShowRemoteQuestActions
TrackNearbyQuests
ClearAllFilters

Music

Name Description
ToggleMusicMode
MusicEndSong
Music_C2
Music_Db2
Music_D2
Music_Eb2
Music_E2
Music_F2
Music_Gb2
Music_G2
Music_Ab2
Music_A2
Music_Bb2
Music_B2
Music_C3
Music_Db3
Music_D3
Music_Eb3
Music_E3
Music_F3
Music_Gb3
Music_G3
Music_Ab3
Music_A3
Music_Bb3
Music_B3
Music_C4
Music_Db4
Music_D4
Music_Eb4
Music_E4
Music_F4
Music_Gb4
Music_G4
Music_Ab4
Music_A4
Music_Bb4
Music_B4
Music_C5

Fellowship Manoeuvres

Name Description
FellowshipSkillAssist
TopFellowshipManoeuvre
BottomFellowshipManoeuvre
LeftFellowshipManoeuvre
RightFellowshipManoeuvre

Fellowship Target Marking

Name Description
ShieldMark Fellowship target marking: Shield
SpearMark Fellowship target marking: Spear
ArrowMark Fellowship target marking: Arrow
SunMark Fellowship target marking: Sun
SwordsMark Fellowship target marking: Swords
MoonMark Fellowship target marking: Moon
StarMark Fellowship target marking: Star
ClawMark Fellowship target marking: Claw
SkullMark Fellowship target marking: Skull
LeafMark Fellowship target marking: Leaf

Cosmetic Outfit Selection

Name Description
PresentMainInventory Show actual equipment; do not display any cosmetic outfit.
PresentOutfit1 Wear cosmetic outfit 1.
PresentOutfit2 Wear cosmetic outfit 2.
PresentOutfit3 Wear cosmetic outfit 3.
PresentOutfit4 Wear cosmetic outfit 4.
PresentOutfit5 Wear cosmetic outfit 5.
PresentOutfit6 Wear cosmetic outfit 6.
PresentOutfit7 Wear cosmetic outfit 7.
PresentOutfit8 Wear cosmetic outfit 8.

Camera

None of the key actions in this section can be detected by plugins, but they are listed here for completeness.

Name Description
(Reset camera) Does not generate KeyUp / KeyDown events.
(Rotate camera) Does not generate KeyUp / KeyDown events; however the right mouse button can be detected; see undocumented items below.
(Rotate camera left) Does not generate KeyUp / KeyDown events.
(Rotate camera right) Does not generate KeyUp / KeyDown events.
(Pitch camera up) Does not generate KeyUp / KeyDown events.
(Pitch camera down) Does not generate KeyUp / KeyDown events.
(Pan camera in) Does not generate KeyUp / KeyDown events.
(Pan camera out) Does not generate KeyUp / KeyDown events.
(Toggle first/third person) Does not generate KeyUp / KeyDown events.
(Toggle target lock-on person) Does not generate KeyUp / KeyDown events.

Other actions

The actions in this section do not correspond to items in the "Key Mapping" panel in the game options.

Name Description
CameraInstantMouseLook Mouse look (usually the left mouse button).
Escape Escape key.
EnterKey Enter key / chat window focus (only generates a KeyDown event, and only when a text box is not selected).
VendorFullStack When the user holds down the SHIFT key when interacting with a vendor.
VendorQuantity When the user holds down the ALT key when interacting with a vendor.

Undocumented values

The following actions can be detected with KeyDown / KeyUp events, but do not have a corresponding entry in the Turbine.UI.Lotro.Action enumeration:

Value Description
19 Right mouse button
99 Backspace key (only generates a KeyUp event, and only when a text box is selected).

Inert values

The following entries in the Turbine.UI.Lotro.Action enumeration apparently cannot be triggered. They may be outdated, or used internally by developers.

Name Description
SelectionNextFellow
SelectionOff
SelectionPreviousFellow
AutoLootAll
EnterChatMode
MainMenu
QuickSlot_Chat
Show_Names
Start_Command
SystemMenu
ToggleAlertOverflow
ToggleBioPanel
ToggleComboUI
ToggleCraftingProf1Panel
ToggleCraftingProf2Panel
ToggleCraftingProf3Panel
ToggleGambitPanel
ToggleInputPanel
ToggleMithrilCoinsAuctionUI
ToggleMithrilCoinsMenu
ToggleMountedXpUI
TogglePVPPanel
TogglePluginManagerUI
ToggleQuestJournal
ToggleStackDisplay
ToggleStatusbarPanel
ToggleThreatTrackerPanel
ToggleToolbar
ToggleToolbarPanel
ToggleWorldJoin
UI_Toggle
Undefined

Remarks

Many of the actions only generate KeyUp or KeyDown events, not both.

Personal tools