How do I create a new player control?

Post » Fri Jun 22, 2012 1:39 am

Is there a way to create a new player control, i.e. how can I assign a key stroke to perform my new action?
User avatar
rebecca moody
 
Posts: 3430
Joined: Mon Mar 05, 2007 3:01 pm

Post » Thu Jun 21, 2012 11:52 pm

SCript Extender, if it supports it yet.
User avatar
Spooky Angel
 
Posts: 3500
Joined: Thu Aug 10, 2006 5:41 pm

Post » Thu Jun 21, 2012 9:15 pm

Oh, I was hoping it would be simpler. I wanted to be able to press a button to run some script.

I guess a way round it could be to have an equippable item as one of the hotkeys that, when equipped, remembers the item that may have been unequipped in the process, runs the script, then unequips itself and re-equips the other item.
User avatar
Bethany Short
 
Posts: 3450
Joined: Fri Jul 14, 2006 11:47 am

Post » Fri Jun 22, 2012 1:01 am

You'll want Skyrim Script Extender then.

Bool bIsHotkeyPressedInt iHotkey = [DXScanCode of your choice here]Event OnInit()	RegisterForUpdate(0.2)EndEventEvent OnUpdate()	If bIsHotkeyPressed != Input.IsHeyPressed(iHotkey)		bIsHotkeyPressed = !bIsHotkeyPressed		If bIsHotkeyPressed			; Do Something		EndIf	EndIfEndEvent
User avatar
Laura
 
Posts: 3456
Joined: Sun Sep 10, 2006 7:11 am

Post » Thu Jun 21, 2012 2:47 pm

Thanks for that.

If I make a mod using the script extender, will anyone who tries to use it need to install SKSE as well?
User avatar
Ownie Zuliana
 
Posts: 3375
Joined: Thu Jun 15, 2006 4:31 am

Post » Thu Jun 21, 2012 8:42 pm

Thanks for that.

If I make a mod using the script extender, will anyone who tries to use it need to install SKSE as well?

Yes they do.
It will be much beneficial in the long run, as in Oblivion, best mods were made using OBSE (Oblivion Script Extender). same goes for Fallout3 , Vegas, etc...
User avatar
Steve Bates
 
Posts: 3447
Joined: Sun Aug 26, 2007 2:51 pm

Post » Fri Jun 22, 2012 1:19 am

Yes they do.
It will be much beneficial in the long run, as in Oblivion, best mods were made using OBSE (Oblivion Script Extender). same goes for Fallout3 , Vegas, etc...
Indeed. The Script Extender wasn't a big deal for Oblivion, Fallout or New Vegas, and it won't be a big deal for Skyrim.
User avatar
D IV
 
Posts: 3406
Joined: Fri Nov 24, 2006 1:32 am


Return to V - Skyrim