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

Go to the source code of this file.

Functions

function __init__ ()
 
function can_see_projected_crosshair (target, target_origin, player_origin, player_forward, distance)
 
function get_a_target (weapon)
 
function get_potential_targets ()
 
function get_target_lock_on_origin (target)
 
function inside_screen_crosshair_radius (testOrigin, weapon)
 
function inside_screen_lockon_radius (targetOrigin)
 
function inside_screen_radius (targetOrigin, radius)
 
function is_valid_target (ent)
 
function pick_a_target_from (targets)
 
function trace (from, to)
 
function watch_for_replay_gun ()
 
function watch_lockon (weapon)
 

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 19 of file replay_gun.gsc.

References on_spawned(), and watch_for_replay_gun().

◆ can_see_projected_crosshair()

function can_see_projected_crosshair ( target  ,
target_origin  ,
player_origin  ,
player_forward  ,
distance   
)

Definition at line 209 of file replay_gun.gsc.

References trace().

Referenced by get_a_target().

◆ get_a_target()

◆ get_potential_targets()

function get_potential_targets ( )

Definition at line 142 of file replay_gun.gsc.

Referenced by get_a_target().

◆ get_target_lock_on_origin()

function get_target_lock_on_origin ( target  )

Definition at line 276 of file replay_gun.gsc.

Referenced by get_a_target().

◆ inside_screen_crosshair_radius()

function inside_screen_crosshair_radius ( testOrigin  ,
weapon   
)

Definition at line 234 of file replay_gun.gsc.

References inside_screen_radius().

Referenced by get_a_target().

◆ inside_screen_lockon_radius()

function inside_screen_lockon_radius ( targetOrigin  )

Definition at line 241 of file replay_gun.gsc.

References inside_screen_radius().

◆ inside_screen_radius()

function inside_screen_radius ( targetOrigin  ,
radius   
)

Definition at line 248 of file replay_gun.gsc.

Referenced by inside_screen_crosshair_radius(), and inside_screen_lockon_radius().

◆ is_valid_target()

function is_valid_target ( ent  )

Definition at line 229 of file replay_gun.gsc.

Referenced by get_a_target(), pick_a_target_from(), and watch_lockon().

◆ pick_a_target_from()

function pick_a_target_from ( targets  )

Definition at line 167 of file replay_gun.gsc.

References is_valid_target().

Referenced by get_a_target().

◆ trace()

function trace ( from  ,
to   
)

Definition at line 202 of file replay_gun.gsc.

Referenced by can_see_projected_crosshair().

◆ watch_for_replay_gun()

function watch_for_replay_gun ( )

Definition at line 24 of file replay_gun.gsc.

References IS_TRUE, and watch_lockon().

Referenced by __init__().

◆ watch_lockon()

function watch_lockon ( weapon  )

Definition at line 43 of file replay_gun.gsc.

References get_a_target(), is_valid_target(), and WAIT_SERVER_FRAME.

Referenced by watch_for_replay_gun().