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

Go to the source code of this file.

Macros

#define DRAGON_FOLLOW_DIST   80
 
#define DRAGON_FOV_ANGLE   60
 
#define DRAGON_MELEE_DIST   400
 
#define DRAGON_MOVE_DIST_HEIGHT   90
 

Functions

function __init__ ()
 
function attack_thread ()
 
function defaultRole ()
 
function dragon_AllowFriendlyFireDamage (eInflictor, eAttacker, sMeansOfDeath, weapon)
 
function dragon_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal)
 
function dragon_initialize ()
 
function private dragon_target_selection ()
 
function private get_dragon_enemy ()
 
function go_back_on_navvolume ()
 
function private is_enemy_valid (target)
 
function should_go_for_power_up (from_state, to_state, connection)
 
function state_combat_update (params)
 
function state_death_update (params)
 
function state_power_up_update (params)
 

Macro Definition Documentation

◆ DRAGON_FOLLOW_DIST

#define DRAGON_FOLLOW_DIST   80

Definition at line 31 of file _dragon_whelp.gsc.

◆ DRAGON_FOV_ANGLE

#define DRAGON_FOV_ANGLE   60

Definition at line 27 of file _dragon_whelp.gsc.

◆ DRAGON_MELEE_DIST

#define DRAGON_MELEE_DIST   400

Definition at line 33 of file _dragon_whelp.gsc.

◆ DRAGON_MOVE_DIST_HEIGHT

#define DRAGON_MOVE_DIST_HEIGHT   90

Definition at line 29 of file _dragon_whelp.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 41 of file _dragon_whelp.gsc.

References dragon_initialize().

◆ attack_thread()

function attack_thread ( )

Definition at line 477 of file _dragon_whelp.gsc.

References Cooldown(), evaluate_connections(), IsCooldownReady(), and SQR.

Referenced by state_combat_update().

◆ defaultRole()

◆ dragon_AllowFriendlyFireDamage()

function dragon_AllowFriendlyFireDamage ( eInflictor  ,
eAttacker  ,
sMeansOfDeath  ,
weapon   
)

Definition at line 585 of file _dragon_whelp.gsc.

Referenced by dragon_initialize().

◆ dragon_callback_damage()

function dragon_callback_damage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
psOffsetTime  ,
damageFromUnderneath  ,
modelIndex  ,
partName  ,
vSurfaceNormal   
)

Definition at line 590 of file _dragon_whelp.gsc.

Referenced by dragon_initialize().

◆ dragon_initialize()

◆ dragon_target_selection()

function private dragon_target_selection ( )

Definition at line 236 of file _dragon_whelp.gsc.

References get_dragon_enemy(), and IS_TRUE.

Referenced by defaultRole().

◆ get_dragon_enemy()

function private get_dragon_enemy ( )

Definition at line 197 of file _dragon_whelp.gsc.

References ARCHETYPE_RAZ, ARCHETYPE_SENTINEL_DRONE, is_enemy_valid(), and SQR.

Referenced by dragon_target_selection().

◆ go_back_on_navvolume()

function go_back_on_navvolume ( )

Definition at line 537 of file _dragon_whelp.gsc.

References DRAGON_MOVE_DIST_HEIGHT, and waittill_pathing_done().

Referenced by state_combat_update().

◆ is_enemy_valid()

function private is_enemy_valid ( target  )

Definition at line 126 of file _dragon_whelp.gsc.

References intermission(), IS_TRUE, and SQR.

Referenced by get_dragon_enemy().

◆ should_go_for_power_up()

function should_go_for_power_up ( from_state  ,
to_state  ,
connection   
)

Definition at line 329 of file _dragon_whelp.gsc.

Referenced by defaultRole().

◆ state_combat_update()

◆ state_death_update()

function state_death_update ( params  )

Definition at line 603 of file _dragon_whelp.gsc.

References defaultstate_death_update(), and WAIT_SERVER_FRAME.

Referenced by defaultRole().

◆ state_power_up_update()

function state_power_up_update ( params  )