Goals and actions created
Below are the goals and actions created for the GOAP system.
Preconditions: weaponLoaded = true
Effects: atDomPointOne = true
Context Preconditions: Must have a loaded weapon, no valid target and no conflicting orders.
Action Activation: Places the first Domination point as the new navigation target on the blackboard.
Action Completes: When navigation is complete or if the Domination point is overtaken.
Action: ActionAttackDomPointTwo – as above except for the second domination point.
Preconditions: inWeaponsRange = true, weaponLoaded = true
Effects: targetIsDead = true
Context Preconditions: Has a valid loaded weapon and a valid target.