Home and FAQ - ItsDeltin/Overwatch-Script-To-Workshop GitHub Wiki
Wiki
Overwatch Script To Workshop (OSTW) is a high-level programming language for the workshop. It included classes, functions, lambda, pathfinding, and more.
- Getting Started
- Rules
- Variables
- 'if' and 'else'
- Loops
- Strings
- Methods and macros
- Chasing and modifying variables
- Classes
Additionally:
- Decompiling
- Workshop Function Names
- Importing Files
- Ternary Conditionals
- Enums
- Lambda
- Lobby Settings
- Optimizing
- Pathfinding
- Switch
- Inspector
FAQ
How do I define subroutines?
How do I add newlines to strings?
- Just type
\n
at the point you want to add a newline.Like\nThis
_extendedPlayerCollection
and _extendedGlobalCollection
?
What are - These are OSTW's tool that allow you to store more than 128 variables (the limit in workshop). They utilize arrays. To read more go here: Variables
_object_variable_1/2/3
?
What are - This is how OSTW lets you pass classes as references. Each class instance is stored as an ID, which is used to index into those arrays depending on what property you access. For more info, read here: [Debugging Class Variables] (Classes#debugging-class-variables)