Skip to content

Releases: ItsDeltin/Overwatch-Script-To-Workshop

OSTW v0.3.10

08 Jul 03:34
Compare
Choose a tag to compare
OSTW v0.3.10 Pre-release
Pre-release

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 like recursive 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 and 9146

OSTW v0.3.9

04 Jul 02:49
Compare
Choose a tag to compare
OSTW v0.3.9 Pre-release
Pre-release

ChaseVariable() now works with vectors and player variables.

Added ternary conditionals.

OSTW v0.3.8

30 Jun 21:01
Compare
Choose a tag to compare
OSTW v0.3.8 Pre-release
Pre-release

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

26 Jun 17:07
Compare
Choose a tag to compare
OSTW v0.3.7 Pre-release
Pre-release

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

23 Jun 19:08
Compare
Choose a tag to compare
OSTW v0.3.6 Pre-release
Pre-release

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

23 Jun 16:28
Compare
Choose a tag to compare
OSTW v0.3.5 Pre-release
Pre-release

Fixed setting/getting player variables.

OSTW v0.3.4

23 Jun 03:52
Compare
Choose a tag to compare
OSTW v0.3.4 Pre-release
Pre-release

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

21 Jun 16:52
Compare
Choose a tag to compare
OSTW v0.3.3 Pre-release
Pre-release

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

21 Jun 02:46
Compare
Choose a tag to compare
OSTW v0.3.2 Pre-release
Pre-release

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

20 Jun 22:04
Compare
Choose a tag to compare
OSTW v0.3.1 Pre-release
Pre-release

Fixed not (!x)
Fixed having more than one rule condition being seen as an if statement.