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

Go to the source code of this file.

Functions

function __init__ ()
 
function is_weapon_or_variant_same_as_gadget (weapon, gadget)
 
function IsMovingPowerloss ()
 
function on_player_connect ()
 
function power_consume_timer_think (slot, weapon)
 
function power_drain_completely (slot)
 
function power_gain_event (slot, eAttacker, val, source)
 
function power_gain_event_damage_actor (eAttacker)
 
function power_gain_event_killed_actor (eAttacker, meansOfDeath)
 
function power_gain_event_score (eAttacker, score, weapon, hero_restricted)
 
function power_is_hero_ability (gadget)
 
function power_loss_event (slot, eAttacker, val, source)
 
function power_loss_event_took_damage (eAttacker, eInflictor, weapon, sMeansOfDeath, iDamage)
 

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 17 of file _ability_power.gsc.

References on_connect(), and on_player_connect().

◆ is_weapon_or_variant_same_as_gadget()

function is_weapon_or_variant_same_as_gadget ( weapon  ,
gadget   
)

Definition at line 34 of file _ability_power.gsc.

Referenced by power_gain_event_score().

◆ IsMovingPowerloss()

function IsMovingPowerloss ( )

Definition at line 215 of file _ability_power.gsc.

Referenced by power_consume_timer_think().

◆ on_player_connect()

function on_player_connect ( )

Definition at line 25 of file _ability_power.gsc.

Referenced by __init__().

◆ power_consume_timer_think()

function power_consume_timer_think ( slot  ,
weapon   
)

Definition at line 223 of file _ability_power.gsc.

References IsMovingPowerloss(), power_loss_event(), and SetFlickering().

Referenced by turn_gadget_on().

◆ power_drain_completely()

function power_drain_completely ( slot  )

Definition at line 209 of file _ability_power.gsc.

◆ power_gain_event()

function power_gain_event ( slot  ,
eAttacker  ,
val  ,
source   
)

◆ power_gain_event_damage_actor()

function power_gain_event_damage_actor ( eAttacker  )

Definition at line 105 of file _ability_power.gsc.

References GADGET_HELD_0, GADGET_HELD_COUNT, and power_gain_event().

◆ power_gain_event_killed_actor()

function power_gain_event_killed_actor ( eAttacker  ,
meansOfDeath   
)

◆ power_gain_event_score()

function power_gain_event_score ( eAttacker  ,
score  ,
weapon  ,
hero_restricted   
)

◆ power_is_hero_ability()

function power_is_hero_ability ( gadget  )

Definition at line 29 of file _ability_power.gsc.

References GADGET_TYPE_NONE.

Referenced by power_gain_event_score().

◆ power_loss_event()

◆ power_loss_event_took_damage()

function power_loss_event_took_damage ( eAttacker  ,
eInflictor  ,
weapon  ,
sMeansOfDeath  ,
iDamage   
)