| Patch Version | 1.85.8193.30 |
| Patch release date (PC) | 23rd July 2021 |
| Patch release date (Others) | |
| Patch release notes | https://store.steampowered.com/news/app/704450/view/2966167980978915190 |
Hello, dear friends!
Today, we have a development build for you. We appreciate your assistance in testing it, and reporting any issues you find.
The module compatibility has once again been bumped - to version 1.85 - due to the new script commands that allow tile/area actions in the radial menu, and a bit more GUI modification.
// Gets the ID (1..8) of the last tile action performed in OnPlayerTileAction int GetLastTileActionId(); // Gets the target position in the module OnPlayerTileAction event. vector GetLastTileActionPosition(); // Gets the player object that triggered the OnPlayerTileAction event. object GetLastPlayerToDoTileAction(); |
You can now pop up or restrict GUI panels.
We added a event that triggers clientside interaction with some panels (There is a new module event you can access via SetEventScript).
int GUI_PANEL_PLAYER_DEATH = 0; int GUI_PANEL_MINIMAP = 2; int GUI_PANEL_COMPASS = 3; int GUI_PANEL_INVENTORY = 4; int GUI_PANEL_PLAYERLIST = 5; int GUI_PANEL_JOURNAL = 6; int GUI_PANEL_SPELLBOOK = 7; int GUI_PANEL_CHARACTERSHEET = 8; int GUIEVENT_CHATBAR_FOCUS = 1; int GUIEVENT_CHATBAR_UNFOCUS = 2; int GUIEVENT_CHARACTERSHEET_SKILL_CLICK = 3; int GUIEVENT_CHARACTERSHEET_FEAT_CLICK = 4; int GUIEVENT_EFFECTICON_CLICK = 5; int GUIEVENT_DEATHPANEL_WAITFORHELP_CLICK = 6; int GUIEVENT_MINIMAP_MAPPIN_CLICK = 7; int GUIEVENT_MINIMAP_OPEN = 8; int GUIEVENT_MINIMAP_CLOSE = 9; int GUIEVENT_JOURNAL_OPEN = 10; int GUIEVENT_JOURNAL_CLOSE = 11; int GUIEVENT_PLAYERLIST_PLAYER_CLICK = 12; int GUIEVENT_PARTYBAR_PORTRAIT_CLICK = 13; int GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN = 14; // Gets the player that last triggered the module OnPlayerGuiEvent event. object GetLastGuiEventPlayer(); // Gets the last triggered GUIEVENT_* in the module OnPlayerGuiEvent event. int GetLastGuiEventType(); // Gets an optional integer of specific gui events in the module OnPlayerGuiEvent event. // * GUIEVENT_CHATBAR_*: The selected chat channel. Does not indicate the actual used channel. // 0 = Shout, 1 = Whisper, 2 = Talk, 3 = Party, 4 = DM // * GUIEVENT_CHARACTERSHEET_SKILL_SELECT: The skill ID. // * GUIEVENT_CHARACTERSHEET_FEAT_SELECT: The feat ID. // * GUIEVENT_EFFECTICON_CLICK: The effect icon ID (EFFECT_ICON_*) // * GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN: The GUI_PANEL_* the player attempted to open. int GetLastGuiEventInteger(); // Gets an optional object of specific gui events in the module OnPlayerGuiEvent event. // * GUIEVENT_MINIMAP_MAPPIN_CLICK: The waypoint the map note is attached to. // * GUIEVENT_CHARACTERSHEET_*_SELECT: The owner of the character sheet. // * GUIEVENT_PLAYERLIST_PLAYER_CLICK: The player clicked on. // * GUIEVENT_PARTYBAR_PORTRAIT_CLICK: The creature clicked on. // * GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN: For GUI_PANEL_CHARACTERSHEET, the owner of the character sheet. object GetLastGuiEventObject(); // Disable a gui panel for the client that controls oPlayer. // Notes: Will close the gui panel if currently open. // Does not persist through relogging or in savegames. // Will fire a GUIEVENT_DISABLED_PANEL_ATTEMPT_OPEN OnPlayerGuiEvent for some gui panels if a player attempts to open them. // You can still force show a panel with PopUpGUIPanel(). // * nGuiPanel: A GUI_PANEL_* constant, except GUI_PANEL_PLAYER_DEATH. void SetGuiPanelDisabled(object oPlayer, int nGuiPanel, int bDisabled); |