gamvas.AStar

gamvas.AStar specific defines, variables and functions

Summary
gamvas.AStargamvas.AStar specific defines, variables and functions
Macros
gamvas.AStar.STRATEGY_AVOID_STEPSAvoid height steps in a <gamvas.AStarArray>
gamvas.AStar.STRATEGY_IGNORE_STEPSIgnore height steps in a <gamvas.AStarArray>

Macros

gamvas.AStar.STRATEGY_AVOID_STEPS

Avoid height steps in a <gamvas.AStarArray>

Description

The AI tries to avoid height differences when finding a path in <gamvas.AStarArray>.  If it is walking through a valley, it avoids mountains until it has no other chance, once it ‘climbed’ a mountain, it will try to stay on that mountain, until it is forced to continue in the valleys... and so on...

gamvas.AStar.STRATEGY_IGNORE_STEPS

Ignore height steps in a <gamvas.AStarArray>

Description

The AI ignores height differences in a <gamvas.AStarArray> pathfinding map and just walks over height differences as if they weren’t there.

Close