Changelog:
- Fixed
GAMEMODECHANGEhook being triggered in dialog even when the game mode is not changed - Fixed the return value of
charcodescript function for characters in the extended ASCII character set - Fixed the return value of
get_scriptscript function - Fixed and improved the functionality of
substrscript function - Restored and fixed RemoveWindowRounding option that was removed in 4.1.2
- Improved the functionality of
inventory_redrawscript function - Changed the way IniConfigFolder works. Now the game will search for ini files relative to the specified directory
- Changed the debug message about a missing critter art file to also be displayed in the game
- Code refactoring for various script functions
- Added a fix to prevent the player from moving when clicking on a script-created window and prevent the mouse cursor from being toggled when hovering over a 'hidden' window
- Added a fix to prevent crashes when DebugMode is enabled and there is a
%character in the printed message - Added an option to load a global shader file at game startup and added an example global shader file to the modders pack
- Added support for executing the
timed_event_p_procprocedure in global scripts - Added
SPECIALflag to the game mode functions (when switching from dialog mode to barter mode, or a party member joins/leaves in the dialog screen) - Added a new argument to
HOOK_GAMEMODECHANGEhook script - New game hook:
HOOK_STDPROCEDURE_END, as an extension toHOOK_STDPROCEDUREhook script - New script functions:
add_g_timer_event,remove_timer_event,reg_anim_callback,get_sfall_arg_at,hide/show_window,set_window_flag,get_text_width,string_compare,string_format,objects_in_radius,tile_by_position - New hook script:
hs_targetobject