Make use of the new DisguiseAsType function in allies05a

and remove the cloak hack
This commit is contained in:
abcdefg30
2015-06-07 09:16:46 +02:00
parent 20ac129433
commit d72fd39d61
2 changed files with 1 additions and 18 deletions

View File

@@ -160,8 +160,6 @@ WarfactoryInfiltrated = function()
end
MissInfiltrated = function()
CloakProvider.Destroy()
for i = 0, 5, 1 do
local sound = Utils.Random(TanyaVoices)
Trigger.AfterDelay(DateTime.Seconds(i), function()
@@ -247,9 +245,8 @@ InitTriggers = function()
if a == Truk then
Trigger.RemoveFootprintTrigger(id)
CloakProvider = Actor.Create("CloakUpgrade", true, { Owner = greece, Location = Prison.Location })
Spy = Actor.Create("spy", true, { Owner = greece, Location = TrukWaypoint5.Location })
Spy.DisguiseAsType("e1", ussr)
Spy.Move(SpyWaypoint.Location)
Spy.Infiltrate(Prison)
Media.PlaySoundNotification(greece, SpyVoice)

View File

@@ -1694,20 +1694,6 @@ Rules:
Types: Mission Objectives
DisguiseToolTip:
ShowOwnerRow: false
Cloak@MISS:
UpgradeTypes: miss
UpgradeMinEnabledLevel: 1
InitialDelay: 0
CloakDelay: 0
Palette:
CloakUpgrade:
AlwaysVisible:
Immobile:
OccupiesSpace: false
BodyOrientation:
UpgradeActorsNear:
Upgrades: miss
Range: 5c512
WEAP:
TargetableBuilding:
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives