aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2024-09-02 20:26:57 -0300
committerGitHub <noreply@github.com>2024-09-03 01:26:57 +0200
commit628e2b39fb53f2b10fa45f58a19b23c21b0439ba (patch)
tree4f26cc05b73b14c8602d3132e94588c094feaeae /Northstar.CustomServers/mod/scripts/vscripts
parent0aa2d0adb1812ed78a9dc3b4452f4ced01bed8f2 (diff)
downloadNorthstarMods-628e2b39fb53f2b10fa45f58a19b23c21b0439ba.tar.gz
NorthstarMods-628e2b39fb53f2b10fa45f58a19b23c21b0439ba.zip
Play effect on flag match over (#860)v1.27.7-rc1
Actually not even vanilla does this, but this is just a fancied effect for when the match is over, the flags simply vanish together with their bases. So this adds some effects on top of it to not look so bland.
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut2
1 files changed, 2 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
index e52b0de52..c82dcf8fc 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
@@ -171,12 +171,14 @@ void function RemoveFlags()
// destroy all the flag related things
if ( IsValid( file.imcFlagSpawn ) )
{
+ PlayFX( $"P_phase_shift_main", file.imcFlagSpawn.GetOrigin() )
file.imcFlagSpawn.Destroy()
file.imcFlag.Destroy()
file.imcFlagReturnTrigger.Destroy()
}
if ( IsValid( file.militiaFlagSpawn ) )
{
+ PlayFX( $"P_phase_shift_main", file.militiaFlagSpawn.GetOrigin() )
file.militiaFlagSpawn.Destroy()
file.militiaFlag.Destroy()
file.militiaFlagReturnTrigger.Destroy()