Releases: ItsDeltin/Overwatch-Script-To-Workshop
v2.5
v2.4
v2.3
v2.2
Feature: Added GetLines()
& GetPoints()
Feature: Added DistanceTo
in the player type
Change: Optimized pathmap creation
Fixed: First created class having a reference of 0 (_classIndexes[0] is now -1)
Fixed: Ref not working properly in constructors
Fixed: Exception when marking a macro as ref
Fixed: Exception when method groups are used in incorrect places
Fixed: Vector.Zero returning 0 instead of a Zero vector
Fixed: Structs now work in foreach
Fixed: Updated jump pad example for v2.0+ syntax
Fixed: Added error when creating an empty struct type
Fixed: Local variables can no longer be marked with in or ref
v2.1
Change: McCree's name to Cassidy (@CactusPuppy )
Feature: Added Mode Name to lobby settings (@CactusPuppy )
Feature: Array mapping now supports generics
Feature: Support for struct mapping
Lobby Settings: Added Malevento (@scorttt )
Lobby Settings: Added more data centers (@CactusPuppy )
Lobby Settings: Adjusted Mei freeze rate scalar minimum (@CactusPuppy )
Fixed: Some issues regarding struct arrays
Fixed: Some issues regarding nesting lambda expressions
v2.0
-
New feature: Structs (wiki)
A new type that can be used to encapsulate data. Unlike classes, it does not need to be allocated and manually deallocated.
See also: wiki/data-types
Known bugs: #351 -
New feature: Type args
-
New feature/Breaking change:
ref
's functionality updated to be closer to c#.in
replaces oldref
behavior.
Note: see #344 -
Breaking change: Constructor syntax updated.
Now declared using theconstructor
keyword. Ex:public constructor(in Number value) {}
-
Breaking change:
BlockLambda
,ValueBlockLambda
, andMacroLambda
types have been replaced with dedicated syntax.
Inline lambdas are now created by preceding a function type with the 'const' keyword like so:const () => void
-
Breaking change:
EvaluateOnce
andUpdateEveryFrame
now returns the type of the provided argument. -
Breaking change: Type aliasing temporarily disabled, see #350.
-
Breaking change:
ProgressBarEvaluation
is nowProgressBarHudEvaluation
andProgressBarWorldEvaluation
-
Change: The
Any
type can now be used to deallocate class instances. -
Change: Lobby range errors are now nonfatal warnings.
-
Change: 'Weapon Freeze Rate Scalar' minimum reduced from 25 to 0.
-
Change: Extended collections & array builder is no longer assigned if not needed.
Notice: There have been a lot of internal changes. If your script behaves unexpectedly unrelated to the listed breaking changes, contact me.
v2.0-beta.13
- Updated element counter.
- Decompiler: Support for decompiling extensions.
- Fixed: Exception when opening completion for defined enumerators.
- Fixed: Importing maps with parentheses.
- Fixed: Decompiling Capture the Flag settings.
- Fixed: Ternary conditionals use If-Then-Else rather than C syntax.
- Fixed: 'McCree Flashbang Explosion Sound' typo.
v2.0-beta.14
- New Feature: Added type aliasing. (@Protowalker)
Example:
type Players = Player | Player[];
globalvar Players zombies;
v2.0-beta.12
Support for the workshop's new update.
https://us.forums.blizzard.com/en/overwatch/t/overwatch-ptr-patch-notes-%E2%80%93-february-9-2021/586626
v2.0-beta.11
- New Feature: Gamemode support for Bounty Hunter.
- New Feature: Map support for Workshop Green Screen, Kanezaka, and Practice Range.
- Lobby:
Projectile Speed
max value 300 -> 500. - Lobby/Decompiler: Support for shared mode settings.
- Decompiler: Fixed decompiling workshop functions with explicit rework.
- Fixed: Player variable ambiguity when doing
Player | Player[]
. - Fixed: Ternary conditionals and unknown binary operators returning null types.
- Fixed: Updated some workshop function return types and parameter types.
- Fixed: Formatting localized strings.