GetLastGuiEventPlayer()

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.

Gets the player that last triggered the module OnPlayerGuiEvent event.

object GetLastGuiEventPlayer();

Description

Gets the player that last triggered the module OnPlayerGuiEvent event.


Remarks

The player who called the action. Note the object may not be a proper player object if they are possessing something, such as a familiar.


Version

This function was added in 1.85.8193.30 of NWN:EE.


Example

See OnPlayerGuiEvent for context and an example.


See Also

functions:

GetLastGuiEventType GetLastGuiEventInteger GetLastGuiEventObject

events:

OnPlayerGuiEvent