 |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the documentation of this file. 1 #using scripts\codescripts\struct;
3 #using scripts\shared\callbacks_shared;
4 #using scripts\shared\clientfield_shared;
5 #using scripts\shared\flag_shared;
6 #using scripts\shared\flagsys_shared;
7 #using scripts\shared\system_shared;
8 #using scripts\shared\util_shared;
9 #using scripts\shared\visionset_mgr_shared;
11 #using scripts\shared\abilities\_ability_player;
12 #using scripts\shared\abilities\_ability_power;
13 #using scripts\shared\abilities\_ability_util;
15 #insert scripts\shared\shared.gsh;
16 #insert scripts\shared\version.gsh;
17 #insert scripts\shared\abilities\_ability_util.gsh;
18 #insert scripts\shared\abilities\gadgets\_gadget_speed_burst.gsh;
20 #define FLAG_NAME "speed_burst_on"
22 #namespace speedburst;
36 if ( !IsDefined( level.vsmgr_prio_visionset_speedburst ) )
55 return self GadgetFlickering( slot );
88 self GadgetSetActivateTime( slot, GetTime() );
91 self.speedburstLastOnTime = getTime();
92 self.speedburstOn =
true;
93 self.speedburstKill =
false;
98 self notify(
"gadget_speed_burst_off" );
103 self.speedburstLastOnTime = getTime();
105 self.speedburstOn =
false;
107 if ( IsAlive(
self ) &&
IS_TRUE(
self.speedburstKill ) && isdefined( level.playGadgetSuccess ) )
109 self [[ level.playGadgetSuccess ]]( weapon );
112 self.speedburstKill =
false;
117 self endon(
"disconnect" );
124 eventTime =
self._gadgets_player[slot].gadget_flickertime;
130 if ( !
self GadgetFlickering( slot ) )
144 if ( IsDefined( time ) )
146 timeStr =
"^3" +
", time: " + time;
149 if ( GetDvarInt(
"scr_cpower_debug_prints" ) > 0 )
150 self IPrintlnBold(
"Vision Speed burst: " + status + timeStr );
function register_gadget_is_flickering_callbacks(type, flickering_func)
function register_gadget_possession_callbacks(type, on_give, on_take)
#define SPEED_BURST_VISIONSET_RAMP_OUT
function set_to_player(str_field_name, n_value)
function gadget_speed_burst_on_connect()
function clear(str_flag)
function ramp_in_out_thread_per_player_death_shutdown(player, ramp_in, full_period, ramp_out)
function register_gadget_is_inuse_callbacks(type, inuse_func)
#define SPEED_BURST_VISIONSET_STEPS
#define GADGET_TYPE_SPEED_BURST
#define SPEED_BURST_VISIONSET_RAMP_HOLD
function gadget_speed_burst_is_flickering(slot)
function get(kvp_value, kvp_key="targetname")
function register_gadget_flicker_callbacks(type, on_flicker)
function gadget_speed_burst_on_take(slot, weapon)
function set_gadget_status(status, time)
function gadget_speed_burst_off(slot, weapon)
#define SPEED_BURST_VISIONSET_RAMP_IN
function gadget_speed_burst_on_flicker(slot, weapon)
function register_gadget_activation_callbacks(type, turn_on, turn_off)
function gadget_speed_burst_on(slot, weapon)
#define REGISTER_SYSTEM(__sys, __func_init_preload, __reqs)
function register_info(type, name, version, lerp_step_count)
function set(str_field_name, n_value)
#define SPEED_BURST_VISIONSET_PRIORITY
#define SPEED_BURST_VISIONSET_ALIAS
function gadget_speed_burst_flicker(slot, weapon)
function gadget_speed_burst_is_inuse(slot)
function gadget_speed_burst_on_give(slot, weapon)