Remove the hacky MissionColt actor from allies05a
This commit is contained in:
@@ -171,13 +171,12 @@ MissInfiltrated = function()
|
|||||||
Media.PlaySoundNotification(greece, sound)
|
Media.PlaySoundNotification(greece, sound)
|
||||||
end)
|
end)
|
||||||
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)
|
Trigger.AfterDelay(DateTime.Seconds(6), FreeTanya)
|
||||||
end
|
end
|
||||||
|
|
||||||
FreeTanya = function()
|
FreeTanya = function()
|
||||||
TanyasColt.Destroy()
|
|
||||||
Tanya = Actor.Create(TanyaType, true, { Owner = greece, Location = Prison.Location + CVec.New(1, 1) })
|
Tanya = Actor.Create(TanyaType, true, { Owner = greece, Location = Prison.Location + CVec.New(1, 1) })
|
||||||
Tanya.Demolish(Prison)
|
Tanya.Demolish(Prison)
|
||||||
Tanya.Move(Tanya.Location + CVec.New(Utils.RandomInteger(-1, 2), 1))
|
Tanya.Move(Tanya.Location + CVec.New(Utils.RandomInteger(-1, 2), 1))
|
||||||
|
|||||||
@@ -96,34 +96,9 @@ MISS:
|
|||||||
Name: Prison
|
Name: Prison
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
|
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
|
||||||
|
AttackOmni:
|
||||||
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
|
|
||||||
Armament:
|
Armament:
|
||||||
Weapon: MissionColt
|
Weapon: MissionColt
|
||||||
LocalOffset: 432,150,-30, 432,-150,-30
|
|
||||||
AttackTurreted:
|
|
||||||
AutoTarget:
|
|
||||||
-Selectable:
|
|
||||||
-SelectionDecorations:
|
|
||||||
-Huntable:
|
|
||||||
|
|
||||||
E1.Autotarget:
|
E1.Autotarget:
|
||||||
Inherits: E1
|
Inherits: E1
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ MissionColt:
|
|||||||
Heavy: 0
|
Heavy: 0
|
||||||
Concrete: 0
|
Concrete: 0
|
||||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||||
|
AffectsParent: true
|
||||||
Warhead@2Eff: CreateEffect
|
Warhead@2Eff: CreateEffect
|
||||||
Explosions: piffs
|
Explosions: piffs
|
||||||
InvalidImpactTypes: Water
|
InvalidImpactTypes: Water
|
||||||
|
|||||||
Reference in New Issue
Block a user