Difference between revisions of "Talk:RegisterForKey - Form"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jbezorg
imported>Jbezorg
 
Line 1: Line 1:
==SKSE Version==
==SKSE Version==
[[User:Jbezorg|Jbezorg]] What version of SKSE is this for?
[[User:Jbezorg|Jbezorg]] ([[User talk:Jbezorg|talk]]): What version of SKSE is this for?
I'm currently using release build 1.5.11 (4 August 2012)
I'm currently using release build 1.5.11 (4 August 2012)



Latest revision as of 11:33, 27 October 2012

SKSE Version[edit source]

Jbezorg (talk): What version of SKSE is this for? I'm currently using release build 1.5.11 (4 August 2012)

Scriptname IS_controls

Import Form
Import Game
Import Input

Event OnInit()
	Float weight = GetPlayer().GetEquippedWeapon().GetWeight() ; compiles
	UnegisterForKey(42) ; IS_controls.psc(8,1): UnegisterForKey is not a function or does not exist
	RegisterForKey(42) ; IS_controls.psc(9,1): RegisterForKey is not a function or does not exist
EndEvent
Version 1.06.01 is available as a beta and although it's not shown on their site it is publicly available at this URL - [1]
It would probably be a good idea to include the required version of SKSE for its functions. I'll look into that.
-- Cipscis (talk) 16:11, 3 October 2012 (EDT)
I've created a SKSEFunction template that can be used to display the minimum required version of SKSE. I'm not that experienced with making wiki templates, so it could probably be improved, but for now it seems to work.
-- Cipscis (talk) 16:18, 3 October 2012 (EDT)