Jump to content

Script help!


aareyn

Recommended Posts

Can someone explain as if you were talking to an idiot why its not detecting key presses ;-;



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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...