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

Go to the source code of this file.

Macros

#define SWORD_MODE_MINPOWER   0.0
 

Functions

function __init__ ()
 
function back_to_near_owner_check ()
 
function back_to_owner_check ()
 
function check_glaive_playable_area_conditions ()
 
function chooseSwordAnim (enemy)
 
function defaultRole ()
 
function private get_glaive_enemy ()
 
function glaive_AllowFriendlyFireDamage (eInflictor, eAttacker, sMeansOfDeath, weapon)
 
function glaive_callback_damage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal)
 
function glaive_ignore_cooldown (duration)
 
function glaive_initialize ()
 
function private glaive_target_selection ()
 
function go_back_on_navvolume ()
 
function go_to_near_owner ()
 
function go_to_owner ()
 
function private is_enemy_valid (target)
 
function should_go_to_near_owner ()
 
function should_go_to_owner ()
 
function state_combat_enter (params)
 
function state_combat_update (params)
 
function state_slash_update (params)
 

Macro Definition Documentation

◆ SWORD_MODE_MINPOWER

#define SWORD_MODE_MINPOWER   0.0

Definition at line 35 of file _glaive.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 37 of file _glaive.gsc.

References GLAIVE_BLOOD_FX, glaive_initialize(), register(), and VERSION_SHIP.

◆ back_to_near_owner_check()

function back_to_near_owner_check ( )

Definition at line 742 of file _glaive.gsc.

References GLAIVE_FOLLOW_DIST, GLAIVE_FOV_ANGLE, SQR, and within_fov().

Referenced by go_to_near_owner().

◆ back_to_owner_check()

function back_to_owner_check ( )

Definition at line 730 of file _glaive.gsc.

References GLAIVE_MELEE_DIST, and SQR.

Referenced by go_to_owner().

◆ check_glaive_playable_area_conditions()

function check_glaive_playable_area_conditions ( )

Definition at line 435 of file _glaive.gsc.

References ARCHETYPE_ZOMBIE, and IS_TRUE.

Referenced by state_combat_update().

◆ chooseSwordAnim()

function chooseSwordAnim ( enemy  )

Definition at line 497 of file _glaive.gsc.

References ARCHETYPE_MARGWA, ARCHETYPE_PARASITE, and ARCHETYPE_RAPS.

Referenced by state_slash_update().

◆ defaultRole()

◆ get_glaive_enemy()

function private get_glaive_enemy ( )

Definition at line 173 of file _glaive.gsc.

References is_enemy_valid().

Referenced by glaive_target_selection(), and state_slash_update().

◆ glaive_AllowFriendlyFireDamage()

function glaive_AllowFriendlyFireDamage ( eInflictor  ,
eAttacker  ,
sMeansOfDeath  ,
weapon   
)

Definition at line 756 of file _glaive.gsc.

Referenced by glaive_initialize().

◆ glaive_callback_damage()

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

Definition at line 761 of file _glaive.gsc.

Referenced by glaive_initialize().

◆ glaive_ignore_cooldown()

function glaive_ignore_cooldown ( duration  )

Definition at line 590 of file _glaive.gsc.

Referenced by state_slash_update().

◆ glaive_initialize()

◆ glaive_target_selection()

function private glaive_target_selection ( )

Definition at line 188 of file _glaive.gsc.

References get_glaive_enemy(), is_enemy_valid(), and IS_TRUE.

Referenced by defaultRole().

◆ go_back_on_navvolume()

function go_back_on_navvolume ( )

◆ go_to_near_owner()

◆ go_to_owner()

◆ is_enemy_valid()

function private is_enemy_valid ( target  )

◆ should_go_to_near_owner()

function should_go_to_near_owner ( )

Definition at line 272 of file _glaive.gsc.

References GLAIVE_FOLLOW_DIST, GLAIVE_FOV_ANGLE, is_enemy_valid(), SQR, and within_fov().

Referenced by state_combat_update().

◆ should_go_to_owner()

function should_go_to_owner ( )

Definition at line 246 of file _glaive.gsc.

References IS_TRUE, and SWORD_MODE_MINPOWER.

Referenced by state_combat_update().

◆ state_combat_enter()

function state_combat_enter ( params  )

Definition at line 295 of file _glaive.gsc.

Referenced by defaultRole().

◆ state_combat_update()

◆ state_slash_update()

function state_slash_update ( params  )