diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-31 21:33:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-31 21:33:39 +0000 |
commit | 2b9a541cf6fadfb16e934268c8e1c8b2069a1fc2 (patch) | |
tree | bd58b4d5a4f697ca476df137e9332fde4ad5d53b | |
parent | 5d9c4bd51e62d6708b81ab6bce1ae1b3784f23fa (diff) | |
parent | ccfe7e2306e98a6b0a7a8bc89cb19ebc3e8a25dd (diff) | |
download | NorthstarMods-2b9a541cf6fadfb16e934268c8e1c8b2069a1fc2.tar.gz NorthstarMods-2b9a541cf6fadfb16e934268c8e1c8b2069a1fc2.zip |
Merge pull request #45 from abarichello/fix/wargames-intro-offhand-weapon
Disable offhand weapons during wargames intro
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut | 2 |
1 files changed, 2 insertions, 0 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 4659dcb0..11587947 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut @@ -188,6 +188,7 @@ void function PlayerWatchesWargamesIntro( entity player ) player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_EVERYONE ClearPlayerAnimViewEntity( player ) player.EnableWeaponViewModel() + DeployAndEnableWeapons(player) player.ClearParent() player.UnforceStand() player.MovementEnable() @@ -224,6 +225,7 @@ void function PlayerWatchesWargamesIntro( entity player ) player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_OWNER TrainingPod_ViewConeLock_PodClosed( player ) player.DisableWeaponViewModel() + HolsterAndDisableWeapons(player) player.MovementDisable() player.SetInvulnerable() |