GUIEVENT_* Constant Group

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.
Graphical user interface events which trigger the event OnPlayerGUIEvent and retrieved by GetLastGuiEventType.


Constants

Constant Value Description
GUIEVENT_AREA_LOADSCREEN_FINISHED 17 When the player finishes loading into an area. Previously, we would've used a timer and GetArea(oPC) check after clicking a transition.
GUIEVENT_CHARACTERSHEET_FEAT_CLICK 4 When the player clicks on a feat in a character sheet panel.
GUIEVENT_CHARACTERSHEET_SKILL_CLICK 3 When the player clicks on a skill in a character sheet panel.
GUIEVENT_CHATBAR_FOCUS 1 When the player clicks on the chatbar (ready to type but not necessarily typing anything)
GUIEVENT_CHATBAR_UNFOCUS 2 When the players focus on the chatbar is lost (from clicking off, finishing a message, or clicking something else)
GUIEVENT_DEATHPANEL_WAITFORHELP_CLICK 6 When the player clicks on the death panel "Wait for Help" button. The other button "Respawn" is handled through OnPlayerRespawn.
GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN 14 When the player tries to open a panel that was disabled with SetGuiPanelDisabled.
GUIEVENT_EFFECTICON_CLICK 5 When the player clicks on an effect icon in the top right of the GUI.
GUIEVENT_EXAMINE_OBJECT 23 When a player examines an object.
GUIEVENT_JOURNAL_CLOSE 11 When the player closes the journal.
GUIEVENT_JOURNAL_OPEN 10 When the player opens the journal.
GUIEVENT_LEVELUP_CANCELED 16 When a player cancels their levelup.
GUIEVENT_MINIMAP_CLOSE 9 When the player closes the minimap.
GUIEVENT_MINIMAP_MAPPIN_CLICK 7 When the player clicks on a map pin on the minimap. It won't detect custom player pins.
GUIEVENT_MINIMAP_OPEN 8 When the player opens the minimap.
GUIEVENT_OPTIONS_CLOSE 25 When a player closes their options menu.
GUIEVENT_OPTIONS_OPEN 24 When a player opens their options menu.
GUIEVENT_PARTYBAR_PORTRAIT_CLICK 13 When the player clicks on a portrait in the party bar (far right). Note this does not fire when clicking the big player portrait, but interestingly they can get it to fire on the player if they possess their familiar.
GUIEVENT_PLAYERLIST_PLAYER_CLICK 12 When the player clicks on a player in the player list.
GUIEVENT_QUICKCHAT_ACTIVATE 18
GUIEVENT_QUICKCHAT_CLOSE 20 When a player closes their quickchat menu.
GUIEVENT_QUICKCHAT_SELECT 19
GUIEVENT_SELECT_CREATURE 22
GUIEVENT_UNSELECT_CREATURE 21


Version

This constants group was added in 1.85.8193.30 of NWN:EE.


See Also

functions: GetLastGuiEventType GetLastGuiEventPlayer GetLastGuiEventInteger GetLastGuiEventObject