Make use of the new DisguiseAsType function in allies05a
and remove the cloak hack
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user