OSTW v1.7 - Decompiler, inspector, pathfinding 3.0
Decompiler
Overwatch Script To Workshop can now decompile workshop code into OSTW code. More information on the wiki page.
Inspector
OSTW now has its own inspector! It supports multidimensional arrays and viewing class structures. More information on the wiki page.
Pathfinding
The wiki page has also been updated, I recommend checking it out!
Also check out the jump pads example.
- Optimized the pathfinding functions a bit.
- Multiple attributes can now be assigned to a segment.
CurrentSegmentAttribute()now returns an array of attributes rather than a single attribute.
- Removing a segment no longer deletes the attribute data associated with it, use
Pathmap.DeleteAttribute(). - Removed
Pathmap.SetSegmentAttributeAB() - Removed
Pathmap.SetSegmentAttributeBA() - Renamed
Pathmap.NextNode()toPathmap.NextPosition() - Added
Pathmap.AddAttribute() - Added
Pathmap.DeleteAttribute() - Added
Pathmap.DeleteAllAttributes(). - Added
Pathmap.DeleteAllAttributesConnectedToNodes() - Added
Pathmap.CurrentNode() - Added
Pathmap.IsPathfindingToAttribute()
Bug fixes
- Fixed completion being handled before the dot is.
- This means typing
Color.will now show the colors right away rather than needing to press escape then ctrl+space.
- This means typing
- Fixed
a[b].cthrowning an exception ifadoes not exist.