Space Station 13 - Modules - TypesVar Details - Proc Details

ai_movement

This datum is an abstract class that can be overriden for different types of movement.

Vars

max_pathing_attemptsHow many times a given controller can fail on their route before they just give up.
moving_controllersAssoc list ist of controllers that are currently moving as key, and what they are moving to as value.

Procs

allowed_to_moveReturns TRUE if the movement should be allowed, FALSE otherwise.
post_moveAnything to do post-movement.
pre_moveAnything 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.
start_moving_towardsOverride this to setup the moveloop you want to use.

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

Returns TRUE if the movement should be allowed, FALSE otherwise.

post_move

Anything to do post-movement.

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.

start_moving_towards

Override this to setup the moveloop you want to use.