aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorx3Karma <juliuslimck@gmail.com>2022-01-20 19:07:14 +0800
committerBarichello <artur@barichello.me>2022-01-20 13:48:31 -0300
commit6b0400269e2709fe97533f1e447084854b7f80b4 (patch)
tree2de00a81a616bc8f639c79b42658b98a5277b1ee
parent572f913cfe3e4d37dfa0191b3f374b434c5d438f (diff)
downloadNorthstarMods-6b0400269e2709fe97533f1e447084854b7f80b4.tar.gz
NorthstarMods-6b0400269e2709fe97533f1e447084854b7f80b4.zip
Fixes Marvin from being grappled
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut5
1 files changed, 3 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut
index 3f3a05f2..da8fad36 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut
@@ -78,7 +78,8 @@ void function SpawnMarvinsForRound()
entity marvin = CreateMarvin( TEAM_UNASSIGNED, spawner.GetOrigin(), spawner.GetAngles() )
marvin.kv.health = 1
marvin.kv.max_health = 1
- marvin.kv.spawnflags = 516
+ marvin.kv.spawnflags = 516
+ marvin.kv.contents = (int(marvin.kv.contents) | CONTENTS_NOGRAPPLE)
DispatchSpawn( marvin )
HideName( marvin )
}
@@ -486,4 +487,4 @@ void function PodFXCleanup( entity pod )
pod.s.rightLaserEmitter.s.fxHandle.ClearParent()
pod.s.rightLaserEmitter.s.fxHandle.Destroy()
pod.s.rightLaserEmitter.Destroy()
-} \ No newline at end of file
+}