Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
_counteruav.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
#using scripts\shared\util_shared;
6
7
#insert scripts\shared\shared.gsh;
8
9
#insert scripts\shared\version.gsh;
10
11
#namespace counteruav;
12
13
REGISTER_SYSTEM
(
"counteruav"
, &
__init__
, undefined )
14
15
function
__init__
()
16
{
17
clientfield::register
(
"toplayer"
,
"counteruav"
,
VERSION_SHIP
, 1,
"int"
, &
CounterUAVChanged
, !
CF_HOST_ONLY
,
CF_CALLBACK_ZERO_ON_NEW_ENT
);
18
}
19
20
function
CounterUAVChanged
( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
21
{
22
player = GetLocalPlayer( localClientNum );
23
assert( isdefined( player ) );
24
25
player SetEnemyGlobalScrambler( newVal );
26
}
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:
_counteruav.csc:15
CounterUAVChanged
function CounterUAVChanged(localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
Definition:
_counteruav.csc:20
scripts
mp
killstreaks
_counteruav.csc
Generated by
1.8.17