1 #using scripts\shared\aat_shared;
2 #using scripts\shared\clientfield_shared;
3 #using scripts\shared\system_shared;
5 #insert scripts\shared\aat_zm.gsh;
6 #insert scripts\shared\shared.gsh;
7 #insert scripts\shared\version.gsh;
9 #insert scripts\zm\aats\_zm_aat_fire_works.gsh;
11 #insert scripts\zm\_zm_utility.gsh;
13 #precache( "client_fx", ZM_AAT_FIRE_WORKS_SUMMON_FX );
14 #precache( "client_fx", ZM_AAT_FIRE_WORKS_SUMMON_TRAIL_FX );
15 #precache( "client_fx", ZM_AAT_FIRE_WORKS_SUMMON_BURST_FX );
17 #namespace zm_aat_fire_works;
42 if ( IsDemoPlaying() )
49 if ( isdefined(
self.aat_fire_works_fx ) )
51 self notify(
"kill_fx_on_demo_jump" );
52 StopFX( localClientNum,
self.aat_fire_works_fx );
53 self.aat_fire_works_fx = undefined;
61 self notify(
"kill_fx_on_demo_jump" );
62 self endon(
"kill_fx_on_demo_jump" );
63 level waittill(
"demo_jump");
64 if ( isdefined(
self.aat_fire_works_fx ) )
66 StopFX( localClientNum,
self.aat_fire_works_fx );
67 self.aat_fire_works_fx = undefined;