Let the fremen fallback in atreides04 instead of attacking the base

This commit is contained in:
abcdefg30
2017-08-07 13:31:27 +02:00
committed by reaperrr
parent b329bf2642
commit b66605033a
2 changed files with 14 additions and 0 deletions

View File

@@ -203,4 +203,15 @@ WorldLoaded = function()
Utils.Do(units, IdleHunt)
end
end)
Trigger.OnExitedProximityTrigger(Sietch.CenterPosition, WDist.New(10.5 * 1024), function(a, id)
if a.Owner == fremen and not a.IsDead then
a.AttackMove(FremenRally.Location)
Trigger.OnIdle(a, function()
if a.Location.X < 54 or a.Location.Y < 54 then
a.AttackMove(FremenRally.Location)
end
end)
end
end)
end

View File

@@ -409,6 +409,9 @@ Actors:
AtreidesRally: waypoint
Owner: Neutral
Location: 5,23
FremenRally: waypoint
Owner: Neutral
Location: 56,54
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml