I'm completely new to this and I can't find any resource for editing user events. Basically I want to change the player controls.
I want equipping from the hotkeyed items on the quick (favorites) menu to change priority from the right hand to the left. Basically this will be a left-hander mod.
For example:
I have empty hands and three hotkeys mapped in my quick menu.
1) shield, 2) fireball, 3) fast healing.
Normally when I hit 2 it will equip to the right hand. What I'm proposing would equip it to the left.
1) shield, 2) fireball, 3) fast healing.
Normally when I hit 2 it will equip to the right hand. What I'm proposing would equip it to the left.
But the reason I'm doing this is for something else: shield mage controls. Under the proposed method, I can keep my shield equipped and switch my right-hand spells easilly.
I have empty hands and the above hotkeys mapped. I hit 1 and my shield gets equipped to my left hand. Now I hit 2 and my right hand is equipped with fireball. I get wounded in a fight and need to heal. I hit 3 and fast healing replaces fireball in my right hand
I already know the logic of what I want to do. However, I don't know the functions that I need to call in order to make it happen. I also don't know how to tell the game to activate my script on a user event (player presses hotkey).
Here's my psudocode:
Function ReverseEquip(Form akItem)
If lefthand == full
If righthand == full
Unequip(rightHand)
EndIf
Equip(akItem, rightHand)
EndIf
Else Equip(akItem, leftHand)
EndFunction
Note: none of the above functions actually exist. I made them up to show the logic
If lefthand == full
If righthand == full
Unequip(rightHand)
EndIf
Equip(akItem, rightHand)
EndIf
Else Equip(akItem, leftHand)
EndFunction
Note: none of the above functions actually exist. I made them up to show the logic
I've tried doing searches in several scripting wikis and mod forums for "controls" "user event" "left hand" "equip" etc. and I can't find the functions I need to call in order to make this thing. The easiest fix would be to alter the native functions. It'd be basically no work at all if i could do that with the Creation Kit. But something tells me that's impossible and I'll have to make a workaround. Probably use SKSE, for which I also don't know where to start looking.
Please, any help would make a huge difference. I just need a starting place to start looking. A guide on player input, source code of a similar mod, anything. I've spent a week trying to figure this out with nothing to show for it.
