move_to_cardinal 
Moves to line up with the target along a cardinal direction, so a directional ability can fire down the lane. Reports SUCCESS once lined up and within range, FAILURE when the target is gone, too far, or pathing gives up.
Vars | |
| destination | The cardinal tile of our target we are currently moving toward. |
|---|---|
| maximum_distance | How far away is too far. |
| minimum_distance | How close to our target is too close. |
| movement_failed | Set by on_movement_failed() when the movement system gives up pathing. |
| target_key | Blackboard key holding the atom to line up with. |
Procs | |
| move_towards_nearest_cardinal | Begin moving toward the closest unblocked cardinal tile of our target. |
Var Details
destination 
The cardinal tile of our target we are currently moving toward.
maximum_distance 
How far away is too far.
minimum_distance 
How close to our target is too close.
movement_failed 
Set by on_movement_failed() when the movement system gives up pathing.
target_key 
Blackboard key holding the atom to line up with.
Proc Details
move_towards_nearest_cardinal
Begin moving toward the closest unblocked cardinal tile of our target.