I guess it would be better if the Loop and Loop If actions already had some sort of builtin wait timer that you could set - like through an additional option in the action menu. That way you would have a guarantee that looping would always have a slight delay but still give players the freedom of creating complex nested loop structures.
I might make a separate post on the PTR forums about this later, maybe we can get it changed.
ah, the solution to that is the way I create function calls in the workshop (with the limitations of function call only being able to be made at the end of the rules and not in between.) It will still present other problems for what you want to achieve.
https://us.forums.blizzard.com/en/overwatch/t/tip-creating-a-function/338548?u=agranite-1626
I also think blizzard don’t would enjoy having a Big O’ Notations value in the workshop script, lol.
I am also working on this.
Some notes:
- All whitespace not inside of quotes can be removed from the text representation.
- Case insensitive
- There is no ‘Number’ value, the actual number is used.
Some low-hanging fruit:
- Expression parser/generator - “Attacker.B = Victim.A + (12 * 360.0) - Global.C”
- String generator/helper
- Variable re-assignment - Automatic, or with user interaction/definitions. This allows for easy code sharing. It also allows for much easier code refactoring.
- Ofcourse Variable names
- Other syntactic sugars.
A macro language like ‘M4’ might be a good direction for some of this.
Hey guys, just wanted to let you know that the Elo Hell Workshop discord (google it) has a lot of workshop discussion. I personally started hanging out in #high-level-scripting where people such as myself discuss making transpilers, syntax highlighting tools, code completion, etc. See you there!
Well I ended up googling it and I found like 6 different invites, all with different member counts lol. Maybe you can send me your discord tag so we can figure this out?
Also, fun side note; in my efforts of creating my compiler I found some possible exploits that could be used to set up memory bombs using workshop code. I obviously won’t go into details in a public forum post but just the fact that it is very simple to do makes me worry that other people may run into it on accident, which could lead to them losing all their work.
Maybe someone wants to implement a memory manager as well while we’re at it? 
EDIT: Wait, does discord name and ID count as personal information? Don’t do anything I say if it can get you in trouble of course.
EDIT 2: Nevermind, just went through their official website, I found it now.
This was in response to Vice’s idea for a language extension using the VSC language server framework. I had a look at how it works but ultimately decided that I wanted to try something else. Iirc he got quite far with it though, I encourage you to check out his github.
Yup, still working on it. Going quite well and making regular commits.
When I heard that Overwatch had scripts, I came rushing back to check it out. And it’s cool what it can do, but I still would’ve loved an interop with python, squirrel, or lua, etc. as it’s going to be a pain to create what I want with the workshop rules alone. Looking forward to all your works on the transpilers / vscode extensions. Feel free to link to your github if you want help testing.
1 Like
I tried to do language syntax with ANTLR but without success, it’s too hard to use. And NOW i’m trying to implement a UI like for editing without the game itself, all based on archives, will publish a prototype in github soon.
Wish it is a node editor.
And, support for multiple languages please.
Node editor would be great, like with xNode for Unity. Might build something of the sort if Blizz had documentation somewhere of the methods and params so I could write a quick script to parse it and build out the nodes.
Hey guys, i found something search about “workshop” on github: https://github.com/ItsDeltin/Overwatch-Script-To-Workshop
this is an extension for VSCode that allow you create workshop scripts more simple using a real programming language see an example in repository.
funny you should say that, because I DID just make a visual scripting program that uses directional graphs to build workshop code. However, it’s currently super unusable because I originally only built it as a proof of concept over a couple days but after I get back from vacation I may end up working some more on it. In case I do, I’ll post a link here as well
EDIT: Regarding documentation, I highly encourage you to check out workshop.JSON by arxenix. It’s a collection of all values/actions/enums in the workshop in an easily parsable format. You can check out the repo here:
https://github.com/arxenix/owws-documentation
Oh that’s pog. Thanks, I’ll check those out.
this that i posted have lot of erros, i made an pull request to help to fix, but repo owner are ignoring all issue.
I will check that!