GetLastGuiEventType()

From NWN Lexicon
Jump to navigationJump to 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.

Gets the last triggered GUIEVENT_* in the module OnPlayerGuiEvent event.

int GetLastGuiEventType();

Description

Gets the last triggered GUIEVENT_* in the module OnPlayerGuiEvent event.


Remarks

Depending on the GUIEVENT_* type there are additional properties available with GetLastGuiEventInteger and GetLastGuiEventObject.


Version

This function was added in 1.85.8193.30 of NWN:EE.


Example

See OnPlayerGuiEvent for context and an example.


See Also

functions:

GetLastGuiEventPlayer GetLastGuiEventInteger GetLastGuiEventObject

events:

OnPlayerGuiEvent