The "+Override:" field for scripting hooks has been integrated into the scripting system. This means that rather than "YES" and "NO", it's necessary to use "true" and "false". This should be backwards compatible.
This also means that you can use the typical brackets to define a script to run within these fields. The only criteria is that the script must return either 'true' or 'false'. EG:
#Global Hooks
;;Typical usage
$GameInit: [[init.lua]]
+Override: true
;;Here we see full script used
$Splash: [[splash.lua]]
+Override: [
if gr.getScreenWidth() > 640 then
return false
else
return true
end
]
;;Using a function to toggle override
$HUD: [[hud.lua]]
+Override: display_scripting_hud_only()
#End
Changes will take effect with 3.6.9, and the next CVS build.