Decompiling - ItsDeltin/Overwatch-Script-To-Workshop GitHub Wiki
Overwatch Script To Workshop supports decompiling workshop code into OSTW code.
You can decompile using the Overwatch Script To Workshop: Decompile clipboard to file
command or the ostw.decompile.insert
hotkey, which is ctrl+k
then ctrl+v
by default.
Decompiling entire gamemodes
Import or load the preset of the gamemode you want to decompile. Then click the Copy Settings
button in the Settings menu.
With the workshop code in your clipboard, run the Overwatch Script To Workshop: Decompile workshop code from clipboard to file
command.
This will reveal a save prompt that will save the create OSTW file.
If the gamemode modified any lobby settings, a settings file will be created along with the script file.
Decompiling just rules, actions, or conditions
Using the ostw.decompile.insert
hotkey, you can decompile just certain parts of a gamemode.
Rules
Conditions
Actions
Current variable set as actions