Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CMIS-IADS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reeves, David E
CMIS-IADS
Commits
62cb0e23
Commit
62cb0e23
authored
3 years ago
by
Reeves, David E
Browse files
Options
Downloads
Patches
Plain Diff
* ha! found an easy way to stop the setup/tear down loop at attack locations
parent
afcca69d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/HTN/Trees/Red/ConvoyUnit.xml
+3
-2
3 additions, 2 deletions
scripts/HTN/Trees/Red/ConvoyUnit.xml
with
3 additions
and
2 deletions
scripts/HTN/Trees/Red/ConvoyUnit.xml
+
3
−
2
View file @
62cb0e23
...
...
@@ -192,7 +192,6 @@ if len(borg.redConvoysWaiting[state.getCurrentUnit().getName()])==0:
# calculate how long on station they should be
borg.redNumSetups[state.getCurrentUnitName()]=borg.params_redNumSetups
printMessage("SETTING TOS "+str(state.getCurrentUnitName()), True)
SendEntityEvent(cmdName, "GoalTracker_ConvoySetup", [])
borg.delay=1.0
...
...
@@ -284,7 +283,9 @@ if borg.redUnitStatus[state.getCurrentUnitName()]==setupNum:
else:
cmdName = state.getCurrentCommander().getAssignedName()
SendEntityEventDelay(cmdName, "GoalTracker_ConvoyPackUp", [], rn)
# only pack up if it's not an attack run or we still have destinations left to move to
if not borg.isAttackRun or len(borg.redConvoyDest[state.getCurrentUnit().getName()])
>
0:
SendEntityEventDelay(cmdName, "GoalTracker_ConvoyPackUp", [], rn)
for member in state.getCurrentUnit().getMembers():
if "RADAR" in member.getProfile().getName():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment