Updated module to NWN:EE v37-17 Updated NWNxEE libraries to latest. Associated new PRC8 module script for the GUI event. Deleted old prc_2da_cache creature from top hak as it's now unneeded. Full compile.
21 lines
576 B
Plaintext
21 lines
576 B
Plaintext
#include "inc_examine"
|
|
|
|
void main()
|
|
{
|
|
ExecuteScript("prc_onplayergui");
|
|
object oPlayer = GetLastGuiEventPlayer();
|
|
int nType = GetLastGuiEventType();
|
|
object oTarget = GetLastGuiEventObject();
|
|
int nValue = GetLastGuiEventInteger();
|
|
|
|
if (nType == GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN)
|
|
{
|
|
if (nValue == GUI_PANEL_EXAMINE_CREATURE || nValue == GUI_PANEL_EXAMINE_ITEM ||
|
|
nValue == GUI_PANEL_EXAMINE_PLACEABLE || nValue == GUI_PANEL_EXAMINE_DOOR)
|
|
{
|
|
Examine_HandleGUIEvents(oPlayer, oTarget, nValue);
|
|
}
|
|
}
|
|
}
|
|
|