Skip to content

Commit

Permalink
ep1_c17_05: Add checkpoint after the hallway
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed May 28, 2024
1 parent e706baa commit dcc89b2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion gamemode/gametypes/hl2ep1/mapscripts/ep1_c17_05.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,18 @@ MAPSCRIPT.GlobalStates = {
["super_phys_gun"] = GLOBAL_OFF
}

MAPSCRIPT.Checkpoints = {}
MAPSCRIPT.Checkpoints = {
{
Pos = Vector(9777, 9720, -735),
Ang = Angle(0, 90, 0),
Trigger = {
Pos = Vector(9777, 9720, -735),
Mins = Vector(-106, -111, -64),
Maxs = Vector(106, 111, 64)
}
},
}

function MAPSCRIPT:PostInit()
-- Force the NPCs to follow the player. Squads in Garry's Mod are a bit broken, the replacement
-- lambda_player_follow entity is a bit more reliable but also quite hacky.
Expand Down

0 comments on commit dcc89b2

Please sign in to comment.