Garry's Mod Wiki

GOALTYPE

Description

Used by NPC:GetCurGoalType.

These enumerations do not exist in game and are listed here only for reference

Values

GOALTYPE_NONE0No goal type.
GOALTYPE_TARGETENT1The goal type is an entity.
GOALTYPE_ENEMY2The goal type is the enemy entity.
GOALTYPE_PATHCORNER3The goal type is a path corner.
GOALTYPE_LOCATION4The goal type is a position.
GOALTYPE_LOCATION_NEAREST_NODE5The goal type is a node nearest to a certain position.
GOALTYPE_FLANK6Goal type is a flank location.
GOALTYPE_COVER7Goal type is a cover spot.
GOALTYPE_INVALID8Invalid goal type.