You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: code/ai/ai_flags.h
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,12 +44,15 @@ namespace AI {
44
44
Goal_on_hold, // when set, this goal cannot currently be satisfied, although it could be in the future
45
45
Subsys_needs_fixup, // when set, the subsystem index (for a destroy subsystem goal) is invalid and must be gotten from the subsys name stored in docker.name field!!
46
46
Goal_override, // paired with ai_goal_type::DYNAMIC to mean this goal overrides any other goal
47
+
Want_override, // a goal should set this flag if Goal_override should be assigned when the goal is achievable
47
48
Purge, // purge this goal next time we process
48
-
Goals_purged, // this goal has already caused other goals to get purged
49
+
Purge_when_new_goal_added, // this goal is perpetual until any other goal is added, at which time it sets its own Purge flag
50
+
Goals_purged, // this goal has already caused other goals to get purged (because it is something like ai-disarm that renders other goals invalid)
49
51
Depart_sound_played,// Goober5000 - replacement for AL's hack ;)
50
52
Target_own_team, // this attack goal is allowed to target friendlies
51
53
Afterburn_hard, // afterburn as hard as possible to the goal
52
54
Waypoints_in_reverse, // decrement instead of increment
55
+
Clear_all_goals_first, // this goal wipes all goals (including itself) before it runs (handled separately, and in a different place, from purging invalid goals)
0 commit comments