New Features/Changes:
- Added ability to modify the "hostility" setting of an NPC via script (e.g. self.behavior["hostility"] = "always", see docs for all values)
- Added ability to set an NPC's behavior to null to clear out their behavior via script (as an alternative to assigning an empty string)
- Added ability to call global functions from the in-game debug console (i.e. those defined in the Game Configuration dialog)
- Added ability to retrieve or modify a specific position of a string by numeric index (e.g. $x = "Text"; $x[2] = "s"; print($x); will print "Test")
- Updated "Move Character" scripting function to add an optional third parameter (boolean) to indicate if it should pause until the movement is complete
- Updated "Behaviors" section in the Game Configuration dialog to no longer redundantly store the name of the behavior preset within its settings
- Removed "Experimental" from the Global Illumination setting label located on the Map Properties panel in the Map Editor
Bug Fixes:
- Fixed issue where colors were being applied to the default texture instead of the current one when painting in the Voxel Editor with "Voxel" or "Face" mode
- Fixed issue where quick slots with items assigned were not being properly restored after loading a saved game (needs a new save to work)
- Fixed issue where scripts assigned to entities via "Set Entity Script" were not being properly restored after loading a saved game (needs a new save to work)
- Fixed issue where widgets that were visible when a game was saved were not being displayed after loading (needs a new save to work)
- Fixed issue where the visibility of elements in a widget was not being properly restored after loading a saved game (needs a new save to work)
- Fixed issue where entities added to groups or removed from groups were not being properly restored after loading a saved game (needs a new save to work)
- Fixed issue where entities could be added to the same group multiple times when using the "Add To Group" scripting function
- Fixed issue where real-time enemies were not attacking the player if given a new behavior with "Attackable in Real-Time" enabled
- Fixed issue where the "Experience Points" value wasn't being saved when editing behaviors from the Game Configuration dialog
- Fixed issue where using the "Move Character" scripting function would cause a script to get stuck and not execute the rest of the script
- Fixed issue where the default scale was not being applied to placed characters or objects in the Map Editor when configured as billboard sprites
- Fixed issue where player choices would not be visible in dialogues if the "Typing Effect" game configuration setting was disabled
- Fixed issue where the text of a widget's text field or text label was no longer being updated when modified via script
- Fixed issue where interactions via space bar were not working for item containers without a script or objects with a character on the same tile
- Fixed issue where the interaction controls would incorrectly display when the player was adjacent to an object with a collision script
Documentation:
- Updated "NPC Behavior" built-in docs to include info about the "hostility" setting and its possible values
- Updated "Move Character" and "Scripting Reference" built-in docs to include info about the optional "pause" parameter