Blog:
Where I track my Progress and logged hours.

Archive:
Where you can obtain my completed projects and steal my rules for First Blood.

Project #14 Day #157

8 hours, spawn location according to multiple parameters.

Made a couple more queries: Get a list of tile scores according to single object and get a list of tile scores according to a single class of actor.

This allows for up to get lists of accessible tiles with a min and max distance of a target actor, and of all actors of a class.

Built out the walker spawner function to take multiple parameters. The function can take up to 3 parameters currently. The parameters must be declared none, general prox, class prox or actor prox by an enum, and then min dist, max dist, target class and target actor can be passed in for each search. The function attempts to spawn a walker spawner on a tile that satisfies all the passed in parameters. If no tile meets all parameters the function will drop parameters one at a time, from tertiary to primary, until at least one valid tile can found for a spawn. The function can fail to spawn walker spawner. It is tested, it works. Current plan is to expand the function to allow for "OR" logic, not just "AND".

Project #14 Day #158

Project #14 Day #156