Hm, maybe you could just use Blizz-ABS. It has pixel-movement and caterpillar with default map passability. You just need to turn off the battle stuff.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote from: KK20 on June 26, 2022, 08:39:02 pmQuote from: Blizzard on June 26, 2022, 05:16:47 pmDo I need to fix anything on my end in the original script?I think only the targets.any? fix. If the user is unable to use the skill in make_skill_action_result, the alias still returns an empty list of targets, I think.
Quote from: KK20 on June 02, 2021, 03:29:39 amQuote from: SolarisSpell on June 01, 2021, 04:52:07 pmIf I change these vales, nothing happen. I even tried using script calls as it says in the instructions with no result.-squints-
-CTRL + F's the script-
...Blizzard what the fuck. How did no one ever report this?
console.log(msg.data);
img.onload = this.setupBars.bind(this);
img.onload = (function() { this.setupBars(); }).bind(this);
private void Fill(int x, int y)
{
if (!Map.ValidCoordinates(x, y)) return;
RPG.Tile oldTile = Map.GetTile(SelectedLayer, x, y);
if (AutotileSelected && oldTile == AutotileSelector.Tile) return;
if (!AutotileSelected && oldTile == TilesetSelector.Tiles[0]) return;
SortedSet<Point> tiles = new SortedSet<Point>(PointComparer.Singleton);
List<Point> newTiles = new List<Point>();
List<Point> newTilesCopy = new List<Point>();
Point start = new Point(x, y);
if (tiles.Add(start)) newTiles.Add(start);
int startTileX = x;
int startTileY = y;
if (EyedropperActive)
{
if (!eyedropperIsLeftCorner) startTileX -= eyedropperAreaWidth - 1;
if (!eyedropperIsTopCorner) startTileY -= eyedropperAreaHeight - 1;
}
while (newTiles.Count != 0)
{
newTilesCopy.Clear();
newTilesCopy.AddRange(newTiles);
newTiles.Clear();
foreach (var pos in newTilesCopy)
{
RPG.Tile tile = Map.GetTile(SelectedLayer, pos.X, pos.Y);
if (tile == oldTile)
{
if (EyedropperActive)
{
int dx = (pos.X - startTileX) % eyedropperAreaWidth;
int dy = (pos.Y - startTileY) % eyedropperAreaHeight;
if (dx < 0) dx += eyedropperAreaWidth;
if (dy < 0) dy += eyedropperAreaHeight;
int index = dy * eyedropperAreaWidth + dx;
var newTile = eyedropperTiles[index];
var tileChange = Map.SetTile(SelectedLayer, x, y, newTile);
if (tileChange != null)
MouseDownTileChanges.Add(tileChange);
}
else if (AutotileSelected)
{
var tileChange = map.SetTile(SelectedLayer, pos.X, pos.Y, AutotileSelector.Tile);
if (tileChange != null)
MouseDownTileChanges.Add(tileChange);
}
else
{
int dx = (pos.X - startTileX) % TilesetSelector.SelectionWidth;
int dy = (pos.Y - startTileY) % TilesetSelector.SelectionHeight;
if (dx < 0) dx += TilesetSelector.SelectionWidth;
if (dy < 0) dy += TilesetSelector.SelectionHeight;
int selectorIndex = dy * TilesetSelector.SelectionWidth + dx;
var newTile = TilesetSelector.Tiles[selectorIndex];
var tileChange = Map.SetTile(SelectedLayer, pos.X, pos.Y, newTile);
if (tileChange != null)
MouseDownTileChanges.Add(tileChange);
}
// add surrounding tiles to list
if (Map.ValidCoordinates(pos.X + 1, pos.Y))
{
var newPos = new Point(pos.X + 1, pos.Y);
if (tiles.Add(newPos)) newTiles.Add(newPos);
}
if (Map.ValidCoordinates(pos.X - 1, pos.Y))
{
var newPos = new Point(pos.X - 1, pos.Y);
if (tiles.Add(newPos)) newTiles.Add(newPos);
}
if (Map.ValidCoordinates(pos.X, pos.Y + 1))
{
var newPos = new Point(pos.X, pos.Y + 1);
if (tiles.Add(newPos)) newTiles.Add(newPos);
}
if (Map.ValidCoordinates(pos.X, pos.Y - 1))
{
var newPos = new Point(pos.X, pos.Y - 1);
if (tiles.Add(newPos)) newTiles.Add(newPos);
}
}
}
}
if (MouseDownTileChanges.Count != 0)
{
History.Add(new TileHistoryItem(Map, MouseDownTileChanges, MouseDownTileChangeDescription));
MoxieForm?.UpdateHistory();
MouseDownTileChanges.Clear();
}
}