aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-07-07 00:12:30 +0200
committerGitHub <noreply@github.com>2024-07-07 00:12:30 +0200
commitdc0074d24923ec2e9cc3e4b9129c53730f338dd7 (patch)
treeae8bbcd6becb92bf2b651250aa53fcf12cb30644 /Northstar.CustomServers/mod/scripts/vscripts
parent2849218b47666c5611e3de591fc5f77a77a807eb (diff)
downloadNorthstarMods-dc0074d24923ec2e9cc3e4b9129c53730f338dd7.tar.gz
NorthstarMods-dc0074d24923ec2e9cc3e4b9129c53730f338dd7.zip
Play battle chatter during dropship intro (#810)
Co-authored-by: Zanieon <william-millennium@hotmail.com>
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut5
1 files changed, 5 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
index 8b75a982..22dc1e67 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
@@ -217,6 +217,11 @@ void function SpawnPlayerIntoDropship( entity player, int playerDropshipIndex, e
jumpSequence.setInitialTime = max( 0.0, Time() - ( file.introStartTime + 11.0 ) ) // pretty sure you should do this with GetScriptedAnimEventCycleFrac?
// idk unsure how to use that, all i know is getsequenceduration > the length it actually should be
+ #if BATTLECHATTER_ENABLED
+ if( playerDropshipIndex == 0 )
+ PlayBattleChatterLine( player, "bc_pIntroChat" )
+ #endif
+
waitthread FirstPersonSequence( jumpSequence, player, playerDropship )
thread PlayerJumpsFromDropship( player )