INHERIT  			"GOL\BASEAI.GOL"

NewGoal
Name		GOAL_WAIT_FOR_DRIVER
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
SMASK		0
NumJobs		3
JOB_SET_STATE		AI_STATE_IDLE
JOB_HALT			0
JOB_WAIT			5
End  #NewGoal

# Override the Follow Path goal, removing the bit_COND_NEW_ENEMY and bit_COND_SEE_ENEMY
# flags, which were causing a problem when the player fired
NewGoal
Name		GOAL_FOLLOW_PATH
IMASK		bit_COND_LIGHT_DAMAGE
IMASK		bit_COND_HEAVY_DAMAGE
IMASK		bit_COND_FALLING
IMASK		bit_COND_PROCESS_ORDER
IMASK		bit_COND_PATH_OBSTRUCTED
IMASK		bit_COND_HEARD_TEAMMATE
IMASK		bit_COND_HEAR_SOUND
SMASK		bit_SOUND_PLAYER
SMASK		bit_SOUND_COMBAT
NumJobs		10
JOB_SET_FAIL_GOAL					GOAL_IDLE_STAND
JOB_CREATE_WP_PATH					0
JOB_FOLLOW_PATH						0
JOB_SKIP_JOBS						2
JOB_TURN							0
JOB_PATROL_PATH_ANIMATION			0
JOB_MOVE_TO_CLOSEST_WP				0
JOB_SKIP_JOBS						1
JOB_TURN							0
JOB_SET_GOAL						GOAL_FOLLOW_PATH
End  #NewGoal
