ai_movement

This datum is an abstract class that can be overriden for different types of movement
Vars | |
max_pathing_attempts | How many times a given controller can fail on their route before they just give up |
---|---|
moving_controllers | Assoc list ist of controllers that are currently moving as key, and what they are moving to as value |
Procs | |
allowed_to_move | Should the movement be allowed to happen? return TRUE if it can, FALSE otherwise |
pre_move | Anything to do before moving; any checks if the pawn should be able to move should be placed in allowed_to_move() and called by this proc |
Var Details
max_pathing_attempts

How many times a given controller can fail on their route before they just give up
moving_controllers

Assoc list ist of controllers that are currently moving as key, and what they are moving to as value
Proc Details
allowed_to_move
Should the movement be allowed to happen? return TRUE if it can, FALSE otherwise
pre_move
Anything to do before moving; any checks if the pawn should be able to move should be placed in allowed_to_move() and called by this proc