AI NavGoalFlags t

From Valve Developer Community
Jump to: navigation, search

Flags used by the AI_NavGoal_t structure.

"While navigating, try to face the destination point".
Confirm:doesn't work?
If the GoalType is GOALTYPE_TARGETENT, this flag will cause the NPC's destination to be updated every time the NPC thinks (or more precisely, every time conditions are gathered).
Tip.png Tip: Use SetTarget() to choose the target entity.
If using a path_corner, don't build a path; just head straight to the destination. The path_corner must be accessible in a straight line from the NPC's position!