Releases: ItsDeltin/Overwatch-Script-To-Workshop
OSTW v0.3.10
Variables defined in methods can now use a specific workshop variable.
Fixed special symbol output. (#25)
Fixed variables named 'array' not working.
Fixed the {0} + {1}
string.
Improved local variable autocomplete.
Improved recursive methods.
- Variables defined in recursive methods now work properly.
- Removed the
-allowrecursion
argument. Recursive methods are now declared likerecursive method myRecursiveMethod()
.
Methods can now have documentation which will show up in the autocomplete:
# My Method does something.
method myMethod()
New methods:
- Added
RemoveFromArrayAtIndex()
. - Added
InsertValueInArray()
VSCode extension:
- Updated syntax to work with method changes.
- Changed default ports to
9145
and9146
OSTW v0.3.9
ChaseVariable()
now works with vectors and player variables.
Added ternary conditionals.
OSTW v0.3.8
Added ChaseVariable()
, which will work with named variables.
Fixed AngleOfVectors()
parameters.
AngleOfVectorsCom()
will return the angle instead of the res now.
OSTW v0.3.7
Added new workshop strings
Removed underscores from strings.
Added EventDamage()
, EventWasCriticalHit()
, and DestroyAllInworldText()
.
Fixed Left()
return type.
Fixed Dva, Torbjorn, and Lucio enums.
OSTW v0.3.6
Fixed loops running despite the condition.
Added foreach(define var in array) { ... }
(Actual value instead of index now)
Added increment var++
and decrement var--
(You can do for (define i = 0; i < 10; i++)
instead of i+=1
)
Removed for (var in array)
OSTW v0.3.5
Fixed setting/getting player variables.
OSTW v0.3.4
Team variables are now referenced like Team.Team1
instead of Team(TeamSelector.Team1)
Added the new math operations:
ArccosineInDegrees()
ArccosineInRadians()
ArcsineInDegrees()
ArcsineInRadians()
ArctangentInDegrees()
ArctangentInRadians()
CosineFromDegrees()
CosineFromRadians()
TangentFromDegrees()
TangentFromRadians()
Fixed autocomplete and signature help not working in some cases.
Autocomplete and signature help now includes info from the Overwatch Workshop Wiki. This does not require a re-installation of the extension.
OSTW v0.3.3
The vscode extension works with .del, .ostw, and .workshop.
Fixed crash when there are syntax errors when dropping the script directly into the executable.
OSTW v0.3.2
Fixed multi-word enums.
Fixed Chase Variable Over Time/At Rate
.
Updated Xerxes' Map Identifier to v2.0. Renamed the method from GetMapID()
to GetMap()
.
The result from GetMap()
can now be compared with the new Map
enum, for example:
if (GetMap() == Map.Busan)
{
...
}
OSTW v0.3.1
Fixed not (!x)
Fixed having more than one rule condition being seen as an if statement.