‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_planemortar.csc
Go to the documentation of this file.
1 #using scripts\codescripts\struct;
2 
3 #using scripts\shared\clientfield_shared;
4 #using scripts\shared\system_shared;
5 
6 #insert scripts\shared\shared.gsh;
7 #insert scripts\shared\version.gsh;
8 
9 #precache( "client_fx", "killstreaks/fx_ls_exhaust_afterburner" );
10 
11 #namespace planemortar;
12 
13 ‪REGISTER_SYSTEM( "planemortar", &‪__init__, undefined )
14 
15 function ‪__init__()
16 {
17  level.planeMortarExhaustFX = "killstreaks/fx_ls_exhaust_afterburner";
18 
20 }
21 
22 function ‪planemortar_contrail( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
23 {
24  self endon( "death" );
25  self endon( "entityshutdown" );
26 
27  if ( newVal )
28  {
29  self.fx = PlayFXOnTag( localClientNum, level.planeMortarExhaustFX, self, "tag_fx" );
30  }
31 }
‪planemortar_contrail
‪function planemortar_contrail(localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
Definition: _planemortar.csc:22
‪CF_CALLBACK_ZERO_ON_NEW_ENT
‪#define CF_CALLBACK_ZERO_ON_NEW_ENT
Definition: version.gsh:103
‪VERSION_SHIP
‪#define VERSION_SHIP
Definition: version.gsh:36
‪CF_HOST_ONLY
‪#define CF_HOST_ONLY
Definition: version.gsh:102
‪REGISTER_SYSTEM
‪#define REGISTER_SYSTEM(__sys, __func_init_preload, __reqs)
Definition: shared.gsh:204
‪register
‪function register()
Definition: _ai_tank.gsc:126
‪__init__
‪function __init__()
Definition: _planemortar.csc:15