Resolve conflicts between actor and API names (Radar)
This commit is contained in:
committed by
Oliver Brakmann
parent
1927b88a18
commit
0b53c1f139
@@ -415,7 +415,7 @@ Actors:
|
||||
Actor159: mine
|
||||
Location: 77,46
|
||||
Owner: Neutral
|
||||
Radar: dome
|
||||
RadarDome: dome
|
||||
Location: 49,46
|
||||
Owner: Greece
|
||||
CYard: fact
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user