Kill pillboxes with barrels in Soviet01

This commit is contained in:
Smittytron
2021-01-23 10:05:14 -06:00
committed by reaperrr
parent 9580d61fb0
commit 4db2fd980a
2 changed files with 17 additions and 7 deletions

View File

@@ -21,23 +21,23 @@ LockPreview: True
Players: Players:
PlayerReference@France: PlayerReference@France:
Name: France Name: France
Bot: campaign
Faction: allies Faction: allies
Color: 5CC1A3 Color: 5CC1A3
Allies: Germany Allies: Germany
Enemies: USSR Enemies: USSR
Bot: campaign
PlayerReference@Germany: PlayerReference@Germany:
Name: Germany Name: Germany
Bot: campaign
NonCombatant: True NonCombatant: True
Faction: allies Faction: allies
Color: 505050 Color: 505050
Allies: France Allies: France
Enemies: USSR Enemies: USSR
Bot: campaign
PlayerReference@USSR: PlayerReference@USSR:
Name: USSR Name: USSR
Playable: True
AllowBots: False AllowBots: False
Playable: True
Required: True Required: True
LockFaction: True LockFaction: True
Faction: soviet Faction: soviet
@@ -389,19 +389,19 @@ Actors:
Actor114: brl3 Actor114: brl3
Location: 49,55 Location: 49,55
Owner: Germany Owner: Germany
Actor115: barl PillboxBarrel2: barl
Location: 48,55 Location: 48,55
Owner: Germany Owner: Germany
Actor116: barl Actor116: barl
Location: 47,56 Location: 47,56
Owner: Germany Owner: Germany
Actor117: brl3 PillboxBarrel1: brl3
Location: 46,56 Location: 46,56
Owner: Germany Owner: Germany
Actor118: pbox Pillbox1: pbox
Location: 46,55 Location: 46,55
Owner: France Owner: France
Actor119: pbox Pillbox2: pbox
Location: 48,54 Location: 48,54
Owner: France Owner: France
Actor120: barl Actor120: barl

View File

@@ -102,6 +102,16 @@ WorldLoaded = function()
Trigger.AfterDelay(DateTime.Seconds(2), InsertYaks) Trigger.AfterDelay(DateTime.Seconds(2), InsertYaks)
Paratroopers() Paratroopers()
Trigger.OnDamaged(HayHouse, PanicAttack) Trigger.OnDamaged(HayHouse, PanicAttack)
Trigger.OnKilled(PillboxBarrel1, function()
if not Pillbox1.IsDead then
Pillbox1.Kill()
end
end)
Trigger.OnKilled(PillboxBarrel2, function()
if not Pillbox2.IsDead then
Pillbox2.Kill()
end
end)
end end
Tick = function() Tick = function()