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

Go to the source code of this file.

Macros

#define COMBAT_EFFICIENCY_POWER_LOSS_SCALAR   GetDvarFloat( "scr_combat_efficiency_power_loss_scalar", .275 )
 

Functions

function gadget_combat_efficiency_enabled ()
 
function gadget_combat_efficiency_power_drain (score)
 
function gadget_has_type (gadgetType)
 
function gadget_is_active (gadgetType)
 
function gadget_is_camo_suit_flickering ()
 
function gadget_is_camo_suit_on ()
 
function gadget_is_escort_drone_on ()
 
function gadget_is_type (slot, type)
 
function gadget_power_armor_on ()
 
function gadget_power_reset (gadgetWeapon)
 
function gadget_reset (gadgetWeapon, changedClass, roundBased, firstRound)
 
function gadget_slot_for_type (type)
 
function is_weapon_gadget (weapon)
 

Macro Definition Documentation

◆ COMBAT_EFFICIENCY_POWER_LOSS_SCALAR

#define COMBAT_EFFICIENCY_POWER_LOSS_SCALAR   GetDvarFloat( "scr_combat_efficiency_power_loss_scalar", .275 )

Definition at line 10 of file _ability_util.gsc.

Function Documentation

◆ gadget_combat_efficiency_enabled()

function gadget_combat_efficiency_enabled ( )

Definition at line 45 of file _ability_util.gsc.

Referenced by givePlayerMomentum().

◆ gadget_combat_efficiency_power_drain()

function gadget_combat_efficiency_power_drain ( score  )

◆ gadget_has_type()

function gadget_has_type ( gadgetType  )

Definition at line 167 of file _ability_util.gsc.

References GADGET_HELD_0, GADGET_HELD_COUNT, and gadget_slot_for_type().

◆ gadget_is_active()

◆ gadget_is_camo_suit_flickering()

function gadget_is_camo_suit_flickering ( )

◆ gadget_is_camo_suit_on()

function gadget_is_camo_suit_on ( )

Definition at line 40 of file _ability_util.gsc.

References gadget_is_active(), and GADGET_TYPE_OPTIC_CAMO.

Referenced by power_gain_event_killed_actor().

◆ gadget_is_escort_drone_on()

function gadget_is_escort_drone_on ( )

Definition at line 80 of file _ability_util.gsc.

References gadget_is_active(), and GADGET_TYPE_DRONE.

◆ gadget_is_type()

function gadget_is_type ( slot  ,
type   
)

Definition at line 12 of file _ability_util.gsc.

Referenced by gadget_slot_for_type().

◆ gadget_power_armor_on()

function gadget_power_armor_on ( )

Definition at line 145 of file _ability_util.gsc.

References gadget_is_active(), and GADGET_TYPE_ARMOR.

Referenced by make_sure_damage_is_not_zero().

◆ gadget_power_reset()

function gadget_power_reset ( gadgetWeapon  )

Definition at line 97 of file _ability_util.gsc.

References GADGET_HELD_0, and GADGET_HELD_COUNT.

◆ gadget_reset()

function gadget_reset ( gadgetWeapon  ,
changedClass  ,
roundBased  ,
firstRound   
)

◆ gadget_slot_for_type()

◆ is_weapon_gadget()

function is_weapon_gadget ( weapon  )

Definition at line 86 of file _ability_util.gsc.