Resolve conflicts between actor and API names (Radar)

This commit is contained in:
abcdefg30
2018-08-05 15:33:10 +02:00
committed by Oliver Brakmann
parent 1927b88a18
commit 0b53c1f139
16 changed files with 35 additions and 35 deletions

View File

@@ -415,7 +415,7 @@ Actors:
Actor159: mine
Location: 77,46
Owner: Neutral
Radar: dome
RadarDome: dome
Location: 49,46
Owner: Greece
CYard: fact

View File

@@ -39,7 +39,7 @@ AttackPaths =
}
ReinfInf = function()
if Radar.IsDead or Radar.Owner ~= Greece then
if RadarDome.IsDead or RadarDome.Owner ~= Greece then
return
end
@@ -49,7 +49,7 @@ ReinfInf = function()
end
ReinfArmor = function()
if not Radar.IsDead and Radar.Owner == Greece then
if not RadarDome.IsDead and RadarDome.Owner == Greece then
RCheck = true
Reinforcements.Reinforce(Greece, ArmorReinfGreece, ArmorReinfPath, 0, function(soldier)
soldier.Hunt()
@@ -58,7 +58,7 @@ ReinfArmor = function()
end
BringPatrol1 = function()
if Radar.IsDead or Radar.Owner ~= Greece then
if RadarDome.IsDead or RadarDome.Owner ~= Greece then
return
end
@@ -77,7 +77,7 @@ BringPatrol1 = function()
end
BringPatrol2 = function()
if Radar.IsDead or Radar.Owner ~= Greece then
if RadarDome.IsDead or RadarDome.Owner ~= Greece then
return
end

View File

@@ -154,7 +154,7 @@ WorldLoaded = function()
Media.PlaySpeechNotification(player, "Win")
end)
Trigger.OnKilled(Radar, function()
Trigger.OnKilled(RadarDome, function()
player.MarkCompletedObjective(KillRadar)
Media.PlaySpeechNotification(player, "ObjectiveMet")
end)