aareyn Posted March 10, 2018 Share Posted March 10, 2018 Can someone explain as if you were talking to an idiot why its not detecting key presses with this script ;-; Scriptname Mynewscript extends Quest Actor Property PlayerRef Auto Event OnInit() Debug.Notification("Looking for keys...") RegisterForKey(58) ;CapsLock EndEvent Event OnKeyDown(Int KeyCode) Debug.notification("A registered key has been pressed") If KeyCode == 58 Debug.notification("Caps lock is registered and has been pressed") EndIf EndEvent Link to comment Share on other sites More sharing options...
aareyn Posted March 10, 2018 Author Share Posted March 10, 2018 . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now