Remove the hacky MissionColt actor from allies05a

This commit is contained in:
abcdefg30
2017-04-15 21:43:50 +02:00
committed by reaperrr
parent 550256373a
commit cc6191554a
3 changed files with 3 additions and 28 deletions

View File

@@ -171,13 +171,12 @@ MissInfiltrated = function()
Media.PlaySoundNotification(greece, sound)
end)
end
TanyasColt = Actor.Create("Colt", true, { Owner = greece, Location = Prison.Location + CVec.New(1, 6) })
Prison.Attack(Prison)
Trigger.AfterDelay(DateTime.Seconds(6), FreeTanya)
end
FreeTanya = function()
TanyasColt.Destroy()
Tanya = Actor.Create(TanyaType, true, { Owner = greece, Location = Prison.Location + CVec.New(1, 1) })
Tanya.Demolish(Prison)
Tanya.Move(Tanya.Location + CVec.New(Utils.RandomInteger(-1, 2), 1))

View File

@@ -96,34 +96,9 @@ MISS:
Name: Prison
Targetable:
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
Colt:
Inherits: ^Defense
AutoTargetIgnore:
Valued:
Cost: 800
Building:
Footprint: _ x
Dimensions: 1,2
Health:
HP: 400
Armor:
Type: Heavy
RevealsShroud:
Range: 0c0
Turreted:
TurnSpeed: 15
InitialFacing: 224
RenderSprites:
Image: AGUN
AttackOmni:
Armament:
Weapon: MissionColt
LocalOffset: 432,150,-30, 432,-150,-30
AttackTurreted:
AutoTarget:
-Selectable:
-SelectionDecorations:
-Huntable:
E1.Autotarget:
Inherits: E1

View File

@@ -15,6 +15,7 @@ MissionColt:
Heavy: 0
Concrete: 0
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
AffectsParent: true
Warhead@2Eff: CreateEffect
Explosions: piffs
InvalidImpactTypes: Water