You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New arg for the function that applies a pathing map: showBlocked
if showBlocked is true:
Displays images for any cells that were blocked by the operation (or were already blocked).
Images for blocks that were unblocked by the operation are always hidden (if they were visible).
Cases for validation:
apply(true, true) called for a cell that was already blocked -> image shown
apply(true, false) called for a cell that was blocked and had image shown -> image still shown
apply(false, -) called for blocked cell with image shown that becomes unblocked -> image hidden.
apply(false, -) called for a blocked cell with image hidden -> image still hidden
apply(false, -) called for a blocked cell, but does not change state -> image visibility kept
apply(false, -) called for a blocked cell from the only source for that cell which had visibility enabled -> image remains visible, when it should have been hidden.
Commands:
path show/hide -> toggle path display for the specified unit
path on/off -> toggle path map for the specified unit
path reset -> reset value for both visibility and state to default for the specified unit
path reset visibility -> reset visibility only
path reset state -> reset on/off state only
path default show/hide -> toggle whether pathing maps should be shown for the player's units by default
path default on/off -> toggle whether pathing maps should on or off for the player's units by default.
path default all (arg) -> toggle default value for all players (Titan Only)
The text was updated successfully, but these errors were encountered:
New arg for the function that applies a pathing map: showBlocked
if showBlocked is true:
Cases for validation:
apply(false, -) called for a blocked cell from the only source for that cell which had visibility enabled -> image remains visible, when it should have been hidden.Commands:
The text was updated successfully, but these errors were encountered: