Skip to content

Commit

Permalink
ep1_c17_00a: Fix scripted_sequence cancellation on player death
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Jul 20, 2024
1 parent 74faaed commit a6e2b9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gamemode/gametypes/hl2ep1/mapscripts/ep1_c17_00a.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ function MAPSCRIPT:PostInit()
ent:Remove()
end)

ents.WaitForEntityByName("ss_alyx_elevator_lean", function(ent)
ent:SetKeyValue("onplayerdeath", "0")
end)

-- Add a new one with a teamwait value
local elevTrigger = ents.Create("trigger_once")
elevTrigger:SetupTrigger(Vector(4644, 3584, 481.5), Angle(0, 0, 0), Vector(-100, -100, -50), Vector(100, 100, 50))
Expand Down

0 comments on commit a6e2b9b

Please sign in to comment.