‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_ability_player.gsc File Reference

Go to the source code of this file.

Functions

function __init__ ()
 
function gadget_CheckHeroAbilityKill (attacker)
 
function gadget_flicker (slot, weapon)
 
function gadget_is_flickering (slot)
 
function gadget_is_in_use (slot)
 
function gadget_primed (slot, weapon)
 
function gadget_ready (slot, weapon)
 
function gadgets_save_power (game_ended)
 
function gadgets_wait_for_death ()
 
function gadgets_wait_for_game_end ()
 
function give_gadget (slot, weapon)
 
function init_abilities ()
 
function is_using_any_gadget ()
 
function on_player_connect ()
 
function on_player_disconnect ()
 
function on_player_spawned ()
 
function register_gadget (type)
 
function register_gadget_activation_callbacks (type, turn_on, turn_off)
 
function register_gadget_failed_activate_callback (type, failed_activate)
 
function register_gadget_flicker_callbacks (type, on_flicker)
 
function register_gadget_is_flickering_callbacks (type, flickering_func)
 
function register_gadget_is_inuse_callbacks (type, inuse_func)
 
function register_gadget_possession_callbacks (type, on_give, on_take)
 
function register_gadget_primed_callbacks (type, primed_func)
 
function register_gadget_ready_callbacks (type, ready_func)
 
function register_gadget_should_notify (type, should_notify)
 
function script_set_cclass (cclass, save=true)
 
function setup_clientfields ()
 
function take_gadget (slot, weapon)
 
function turn_gadget_off (slot, weapon)
 
function turn_gadget_on (slot, weapon)
 
function update_gadget (weapon)
 

Function Documentation

◆ __init__()

◆ gadget_CheckHeroAbilityKill()

function gadget_CheckHeroAbilityKill ( attacker  )

Definition at line 529 of file _ability_player.gsc.

Referenced by playerKilled(), PlayerKilled_WeaponStats(), and updatemultikills().

◆ gadget_flicker()

function gadget_flicker ( slot  ,
weapon   
)

Definition at line 600 of file _ability_player.gsc.

Referenced by gadget_flicker_callback().

◆ gadget_is_flickering()

function gadget_is_flickering ( slot  )

Definition at line 337 of file _ability_player.gsc.

Referenced by gadget_is_camo_suit_flickering().

◆ gadget_is_in_use()

◆ gadget_primed()

function gadget_primed ( slot  ,
weapon   
)

Definition at line 673 of file _ability_player.gsc.

Referenced by gadget_primed_callback().

◆ gadget_ready()

function gadget_ready ( slot  ,
weapon   
)

Definition at line 619 of file _ability_player.gsc.

References STATS_TABLE_COL_NUMBERING, and STATS_TABLE_COL_REFERENCE.

Referenced by gadget_ready_callback().

◆ gadgets_save_power()

function gadgets_save_power ( game_ended  )

◆ gadgets_wait_for_death()

function gadgets_wait_for_death ( )

Definition at line 150 of file _ability_player.gsc.

References gadgets_save_power().

Referenced by on_player_spawned().

◆ gadgets_wait_for_game_end()

function gadgets_wait_for_game_end ( )

Definition at line 166 of file _ability_player.gsc.

References gadgets_save_power().

Referenced by __init__().

◆ give_gadget()

function give_gadget ( slot  ,
weapon   
)

Definition at line 352 of file _ability_player.gsc.

References GADGET_HELD_0, GADGET_HELD_COUNT, and take_gadget().

Referenced by gadget_give_callback().

◆ init_abilities()

function init_abilities ( )

Definition at line 81 of file _ability_player.gsc.

Referenced by __init__().

◆ is_using_any_gadget()

function is_using_any_gadget ( )

◆ on_player_connect()

function on_player_connect ( )

Definition at line 89 of file _ability_player.gsc.

References DEFAULT.

Referenced by __init__().

◆ on_player_disconnect()

function on_player_disconnect ( )

Definition at line 102 of file _ability_player.gsc.

Referenced by __init__().

◆ on_player_spawned()

function on_player_spawned ( )

Definition at line 94 of file _ability_player.gsc.

References gadgets_wait_for_death().

Referenced by __init__().

◆ register_gadget()

◆ register_gadget_activation_callbacks()

function register_gadget_activation_callbacks ( type  ,
turn_on  ,
turn_off   
)

Definition at line 237 of file _ability_player.gsc.

References ARRAY_ADD, DEFAULT, register_gadget(), turn_off(), and turn_on().

Referenced by __init__().

◆ register_gadget_failed_activate_callback()

function register_gadget_failed_activate_callback ( type  ,
failed_activate   
)

Definition at line 309 of file _ability_player.gsc.

References ARRAY_ADD, DEFAULT, and register_gadget().

Referenced by __init__().

◆ register_gadget_flicker_callbacks()

function register_gadget_flicker_callbacks ( type  ,
on_flicker   
)

Definition at line 253 of file _ability_player.gsc.

References ARRAY_ADD, DEFAULT, and register_gadget().

Referenced by __init__().

◆ register_gadget_is_flickering_callbacks()

function register_gadget_is_flickering_callbacks ( type  ,
flickering_func   
)

Definition at line 299 of file _ability_player.gsc.

References register_gadget().

Referenced by __init__().

◆ register_gadget_is_inuse_callbacks()

function register_gadget_is_inuse_callbacks ( type  ,
inuse_func   
)

Definition at line 289 of file _ability_player.gsc.

References register_gadget().

Referenced by __init__().

◆ register_gadget_possession_callbacks()

function register_gadget_possession_callbacks ( type  ,
on_give  ,
on_take   
)

Definition at line 221 of file _ability_player.gsc.

References ARRAY_ADD, DEFAULT, and register_gadget().

Referenced by __init__().

◆ register_gadget_primed_callbacks()

function register_gadget_primed_callbacks ( type  ,
primed_func   
)

Definition at line 277 of file _ability_player.gsc.

References ARRAY_ADD, DEFAULT, and register_gadget().

Referenced by __init__().

◆ register_gadget_ready_callbacks()

function register_gadget_ready_callbacks ( type  ,
ready_func   
)

Definition at line 265 of file _ability_player.gsc.

References ARRAY_ADD, DEFAULT, and register_gadget().

Referenced by __init__().

◆ register_gadget_should_notify()

function register_gadget_should_notify ( type  ,
should_notify   
)

Definition at line 211 of file _ability_player.gsc.

References register_gadget().

Referenced by __init__().

◆ script_set_cclass()

function script_set_cclass ( cclass  ,
save  = true 
)

Definition at line 189 of file _ability_player.gsc.

◆ setup_clientfields()

function setup_clientfields ( )

Definition at line 85 of file _ability_player.gsc.

Referenced by __init__().

◆ take_gadget()

function take_gadget ( slot  ,
weapon   
)

Definition at line 391 of file _ability_player.gsc.

Referenced by gadget_take_callback(), and give_gadget().

◆ turn_gadget_off()

function turn_gadget_off ( slot  ,
weapon   
)

Definition at line 469 of file _ability_player.gsc.

References GADGET_TYPE_HERO_WEAPON, IS_TRUE, and turn_off().

Referenced by gadget_off_callback().

◆ turn_gadget_on()

function turn_gadget_on ( slot  ,
weapon   
)

Definition at line 411 of file _ability_player.gsc.

References GADGET_TYPE_HERO_WEAPON, power_consume_timer_think(), and turn_on().

Referenced by gadget_on_callback().

◆ update_gadget()

function update_gadget ( weapon  )

Definition at line 196 of file _ability_player.gsc.