All Downloads are FREE. Search and download functionalities are using the official Maven repository.

APT.all-test.MOUTBot.execute-mission.lead-squad.soar Maven / Gradle / Ivy

##################################### 
# file: elaborations/defensive-position.soar 
# created: REW
## 
# 
# Lead the squad in execution of the overall mission
#
# Change history: 
# 

echo "\nLoading execute-mission/lead-squad.soar"
                
sp {execute-mission*propose*lead-squad
   (state  ^name execute-mission
              ^mission.active-objective )
   ( ^type lead-squad)
   -->
   ( ^operator  + =)
   ( ^name lead-squad
        ^objective 
        ^lead-squad-instance (make-constant-symbol lead-squad-instance) )
}


# ^objective.lead-squad is where tp put information specific to the sentry-watch
# objective
sp {apply*lead-squad*objective*lead-squad
   (state  ^operator 
                       )
   ( ^name lead-squad
         ^objective )
   ( -^lead-squad)
   -->
   ( ^lead-squad )
}