You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the main menu, scripting is done through the OBScript language. Those who modded The Elder Scrolls IV: Oblivion may be familiar with this language; however, unlike in Oblivion mods, these are considered "partial scripts" and do not need scriptname, begin, or end, commands. If you declare a variable named value in your script, it will automatically be assigned the value of the setting that triggers the action.
Example:
; Value of MyMod_Setting1
float value
if value <= 10
set MyMod_Setting2 to (10 - value)
endif
{ ... "action": { "type": "RunScript", "path": "MyMod/Action.txt" } }