NuiGetEventType()
From NWN Lexicon
Jump to navigationJump to searchReturns the event type of the current event.
Description
Returns the event type of the current event.
Remarks
- See nw_inc_nui.nss for full documentation of all events.
Documentation doesn't seem to be there, apart from a reference to "closed" which is incorrect
By trial and error, events returned seem to include
watch
open
close
click
mouseup
mousedown
mousescroll
range (NuiList, and maybe more types of nui stuff)
focus (NuiTextEdit)
blur (NuiTextEdit)
note mouseup, mousedown, mousescroll, and range use NuiGetEventPayload to get data that the event would deliver (for instance, mouseup/mousedown has cursor locations, and range shows items in the list are visible to the player, as just some examples).
Version
This function was added in 1.85.8193.31 of NWN:EE.
Example
See Also
functions: |