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

Go to the source code of this file.

Macros

#define DOG_COUNT   10
 
#define DOG_COUNT_MAX_AT_ONCE   5
 
#define DOG_HEALTH   100
 
#define DOG_HEALTH_REGEN_TIME   5
 
#define DOG_MAX_DOG_ATTACKERS   2
 
#define DOG_MODEL_ENEMY   "german_shepherd_vest_black"
 
#define DOG_MODEL_FRIENDLY   "german_shepherd_vest"
 
#define DOG_SPAWN_TIME_DELAY_MAX   5
 
#define DOG_SPAWN_TIME_DELAY_MIN   2
 
#define DOG_TIME   45
 

Functions

function dog_abort ()
 
function dog_create_spawn_influencer (team)
 
function dog_get_exit_node ()
 
function dog_health_regen ()
 
function dog_health_regen_think (delay, interval, regen_interval)
 
function dog_killstreak_init ()
 
function dog_leave ()
 
function dog_manager_abort ()
 
function dog_manager_game_ended ()
 
function dog_manager_get_dogs ()
 
function dog_manager_spawn_dog (owner, team, spawn_node, requiredDeathCount)
 
function dog_manager_spawn_dogs (owner, deathCount, killstreak_id)
 
function dog_notify_level_on_death ()
 
function dog_owner_kills ()
 
function dog_patrol ()
 
function dog_patrol_near_enemy ()
 
function dog_patrol_near_objective ()
 
function dog_set_model ()
 
function dog_set_owner (owner, team, requiredDeathCount)
 
function flash_dogs (area)
 
function get_score_for_spawn (origin, team)
 
function get_spawn_node (owner, team)
 
function init ()
 
function init_dog ()
 
function init_spawns ()
 
function initKillstreak ()
 
function monitor_dog_special_grenades ()
 
function ownerHadActiveDogs ()
 
function resetAttackerDamage ()
 
function selfDefenseChallenge ()
 
function trackAttackerDamage (attacker)
 
function useKillstreakDogs (hardpointType)
 

Macro Definition Documentation

◆ DOG_COUNT

#define DOG_COUNT   10

Definition at line 32 of file _dogs.gsc.

◆ DOG_COUNT_MAX_AT_ONCE

#define DOG_COUNT_MAX_AT_ONCE   5

Definition at line 33 of file _dogs.gsc.

◆ DOG_HEALTH

#define DOG_HEALTH   100

Definition at line 31 of file _dogs.gsc.

◆ DOG_HEALTH_REGEN_TIME

#define DOG_HEALTH_REGEN_TIME   5

Definition at line 28 of file _dogs.gsc.

◆ DOG_MAX_DOG_ATTACKERS

#define DOG_MAX_DOG_ATTACKERS   2

Definition at line 27 of file _dogs.gsc.

◆ DOG_MODEL_ENEMY

#define DOG_MODEL_ENEMY   "german_shepherd_vest_black"

Definition at line 24 of file _dogs.gsc.

◆ DOG_MODEL_FRIENDLY

#define DOG_MODEL_FRIENDLY   "german_shepherd_vest"

Definition at line 23 of file _dogs.gsc.

◆ DOG_SPAWN_TIME_DELAY_MAX

#define DOG_SPAWN_TIME_DELAY_MAX   5

Definition at line 26 of file _dogs.gsc.

◆ DOG_SPAWN_TIME_DELAY_MIN

#define DOG_SPAWN_TIME_DELAY_MIN   2

Definition at line 25 of file _dogs.gsc.

◆ DOG_TIME

#define DOG_TIME   45

Definition at line 30 of file _dogs.gsc.

Function Documentation

◆ dog_abort()

function dog_abort ( )

Definition at line 361 of file _dogs.gsc.

References dog_manager_get_dogs().

Referenced by dog_manager_abort(), and dog_manager_game_ended().

◆ dog_create_spawn_influencer()

function dog_create_spawn_influencer ( team  )

Definition at line 265 of file _dogs.gsc.

References create_entity_enemy_influencer().

Referenced by dog_manager_spawn_dog().

◆ dog_get_exit_node()

function dog_get_exit_node ( )

Definition at line 742 of file _dogs.gsc.

Referenced by dog_leave().

◆ dog_health_regen()

function dog_health_regen ( )

Definition at line 647 of file _dogs.gsc.

References damage(), dog_health_regen_think(), DOG_HEALTH_REGEN_TIME, and trackAttackerDamage().

Referenced by init_dog().

◆ dog_health_regen_think()

function dog_health_regen_think ( delay  ,
interval  ,
regen_interval   
)

Definition at line 694 of file _dogs.gsc.

References delay(), DOG_HEALTH, DOG_HEALTH_REGEN_TIME, and resetAttackerDamage().

Referenced by dog_health_regen().

◆ dog_killstreak_init()

function dog_killstreak_init ( )

Definition at line 150 of file _dogs.gsc.

Referenced by useKillstreakDogs().

◆ dog_leave()

function dog_leave ( )

Definition at line 396 of file _dogs.gsc.

References dog_get_exit_node(), and wait_endon().

Referenced by dog_patrol().

◆ dog_manager_abort()

function dog_manager_abort ( )

Definition at line 375 of file _dogs.gsc.

References dog_abort(), DOG_TIME, and wait_endon().

Referenced by dog_manager_spawn_dogs().

◆ dog_manager_game_ended()

function dog_manager_game_ended ( )

Definition at line 382 of file _dogs.gsc.

References dog_abort().

Referenced by dog_manager_spawn_dogs().

◆ dog_manager_get_dogs()

function dog_manager_get_dogs ( )

◆ dog_manager_spawn_dog()

function dog_manager_spawn_dog ( owner  ,
team  ,
spawn_node  ,
requiredDeathCount   
)

◆ dog_manager_spawn_dogs()

function dog_manager_spawn_dogs ( owner  ,
deathCount  ,
killstreak_id   
)

◆ dog_notify_level_on_death()

function dog_notify_level_on_death ( )

Definition at line 390 of file _dogs.gsc.

Referenced by dog_manager_spawn_dog().

◆ dog_owner_kills()

function dog_owner_kills ( )

Definition at line 631 of file _dogs.gsc.

Referenced by dog_manager_spawn_dog().

◆ dog_patrol()

function dog_patrol ( )

◆ dog_patrol_near_enemy()

function dog_patrol_near_enemy ( )

Definition at line 564 of file _dogs.gsc.

Referenced by dog_patrol().

◆ dog_patrol_near_objective()

function dog_patrol_near_objective ( )

Definition at line 501 of file _dogs.gsc.

Referenced by dog_patrol().

◆ dog_set_model()

function dog_set_model ( )

Definition at line 179 of file _dogs.gsc.

References DOG_MODEL_ENEMY, and DOG_MODEL_FRIENDLY.

Referenced by dog_manager_spawn_dog().

◆ dog_set_owner()

function dog_set_owner ( owner  ,
team  ,
requiredDeathCount   
)

Definition at line 257 of file _dogs.gsc.

Referenced by dog_manager_spawn_dog().

◆ flash_dogs()

function flash_dogs ( area  )

Definition at line 748 of file _dogs.gsc.

References dog_manager_get_dogs().

Referenced by init(), and monitor_dog_special_grenades().

◆ get_score_for_spawn()

function get_score_for_spawn ( origin  ,
team   
)

Definition at line 217 of file _dogs.gsc.

◆ get_spawn_node()

function get_spawn_node ( owner  ,
team   
)

Definition at line 211 of file _dogs.gsc.

Referenced by dog_manager_spawn_dogs().

◆ init()

function init ( )

Definition at line 44 of file _dogs.gsc.

References flash_dogs().

◆ init_dog()

function init_dog ( )

Definition at line 185 of file _dogs.gsc.

References DOG_HEALTH, dog_health_regen(), and selfDefenseChallenge().

Referenced by dog_manager_spawn_dog().

◆ init_spawns()

function init_spawns ( )

Definition at line 56 of file _dogs.gsc.

References get_spawnpoint_array(), and spawn().

◆ initKillstreak()

function initKillstreak ( )

Definition at line 101 of file _dogs.gsc.

◆ monitor_dog_special_grenades()

function monitor_dog_special_grenades ( )

Definition at line 291 of file _dogs.gsc.

References damage(), flash_dogs(), isFlashOrStunWeapon(), spawn(), and WAIT_SERVER_FRAME.

Referenced by dog_manager_spawn_dog().

◆ ownerHadActiveDogs()

function ownerHadActiveDogs ( )

Definition at line 139 of file _dogs.gsc.

References waittill_any().

Referenced by useKillstreakDogs().

◆ resetAttackerDamage()

function resetAttackerDamage ( )

Definition at line 688 of file _dogs.gsc.

Referenced by dog_health_regen_think().

◆ selfDefenseChallenge()

function selfDefenseChallenge ( )

Definition at line 716 of file _dogs.gsc.

References processScoreEvent().

Referenced by init_dog().

◆ trackAttackerDamage()

function trackAttackerDamage ( attacker  )

Definition at line 664 of file _dogs.gsc.

Referenced by dog_health_regen().

◆ useKillstreakDogs()

function useKillstreakDogs ( hardpointType  )