NuiGetEventType()

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

Returns the event type of the current event.

string NuiGetEventType(
);


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

open
close
click
mouseup
mousedown

Version

This function was added in 1.85.8193.31 of NWN:EE.


Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.


See Also

functions:

NUI Functions