‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
cRailTurret Class Reference

Private Member Functions

function check_for_target ()
 
 constructor ()
 
function deactivate ()
 
function deactivation_effects ()
 
 destructor ()
 
function face_player ()
 
function fire_at_target ()
 
function follow_mover ()
 
function get_yaw_to_combat_target ()
 
function laser_sight_loop ()
 
function move_along_path ()
 
function play_cooldown_fx ()
 
function set_combat_target (target)
 
function set_combat_target_as_player ()
 
function spawn_at_struct (str_struct, secsystem)
 
function stop_moving ()
 
function thread_watch_for_damage ()
 
function thread_watch_for_death ()
 
function turret_awareness ()
 
function turret_behavior ()
 
function turret_movement_behavior ()
 
function warp_to_struct (str_struct)
 

Private Attributes

var b_track_while_attacking
 
var b_turret_active
 
var b_turret_alive
 
var e_attachpoint
 
var e_gimbal
 
var e_railturret
 
var e_railturret_snd1
 
var e_railturret_snd2
 
var e_target
 
var fx_ent
 
var m_o_secsystem
 
var n_dist
 
var n_duration
 
var n_health
 
var n_pause_before_attack
 
var n_pause_between_shots
 
var n_shoot_cooldown
 
var n_shoot_duration
 
var n_shoot_revtime
 
var n_speed
 
var n_stop_on_track_dist
 
var n_turn_speed
 
var s_nextdest
 
var v_dest
 
var w_weapon
 

Detailed Description

Definition at line 1545 of file traps_shared.gsc.

Member Function Documentation

◆ check_for_target()

function cRailTurret::check_for_target ( )
private

Definition at line 1814 of file traps_shared.gsc.

References clear(), e_railturret, e_target, and set().

Referenced by turret_awareness().

◆ constructor()

◆ deactivate()

function cRailTurret::deactivate ( )
private

Definition at line 1676 of file traps_shared.gsc.

References deactivation_effects().

◆ deactivation_effects()

function cRailTurret::deactivation_effects ( )
private

Definition at line 1681 of file traps_shared.gsc.

References b_turret_active, b_turret_alive, e_railturret, and m_o_secsystem.

Referenced by deactivate(), and thread_watch_for_death().

◆ destructor()

cRailTurret::destructor ( )
private

Definition at line 1591 of file traps_shared.gsc.

◆ face_player()

function cRailTurret::face_player ( )
private

◆ fire_at_target()

function cRailTurret::fire_at_target ( )
private

◆ follow_mover()

function cRailTurret::follow_mover ( )
private

◆ get_yaw_to_combat_target()

function cRailTurret::get_yaw_to_combat_target ( )
private

Definition at line 1900 of file traps_shared.gsc.

References e_railturret, and e_target.

Referenced by face_player().

◆ laser_sight_loop()

function cRailTurret::laser_sight_loop ( )
private

Definition at line 1922 of file traps_shared.gsc.

References b_turret_active, b_turret_alive, e_railturret, and e_target.

Referenced by spawn_at_struct().

◆ move_along_path()

function cRailTurret::move_along_path ( )
private

◆ play_cooldown_fx()

function cRailTurret::play_cooldown_fx ( )
private

Definition at line 1976 of file traps_shared.gsc.

References e_railturret, fx_ent, and spawn_model().

Referenced by fire_at_target().

◆ set_combat_target()

function cRailTurret::set_combat_target ( target  )
private

Definition at line 1894 of file traps_shared.gsc.

References e_target.

Referenced by face_player(), set_combat_target_as_player(), spawn_at_struct(), and spawn_at_struct().

◆ set_combat_target_as_player()

function cRailTurret::set_combat_target_as_player ( )
private

Definition at line 1888 of file traps_shared.gsc.

References set_combat_target().

◆ spawn_at_struct()

◆ stop_moving()

function cRailTurret::stop_moving ( )
private

Definition at line 1787 of file traps_shared.gsc.

References clear(), e_railturret, and e_railturret_snd1.

Referenced by turret_movement_behavior(), and turret_movement_behavior().

◆ thread_watch_for_damage()

function cRailTurret::thread_watch_for_damage ( )
private

Definition at line 1650 of file traps_shared.gsc.

References e_railturret, and WAIT_SERVER_FRAME.

Referenced by spawn_at_struct(), and spawn_at_struct().

◆ thread_watch_for_death()

function cRailTurret::thread_watch_for_death ( )
private

◆ turret_awareness()

function cRailTurret::turret_awareness ( )
private

Definition at line 1803 of file traps_shared.gsc.

References b_turret_active, b_turret_alive, and check_for_target().

Referenced by spawn_at_struct(), and spawn_at_struct().

◆ turret_behavior()

function cRailTurret::turret_behavior ( )
private

Definition at line 1878 of file traps_shared.gsc.

References b_turret_active, b_turret_alive, fire_at_target(), and wait_till().

Referenced by spawn_at_struct(), and spawn_at_struct().

◆ turret_movement_behavior()

function cRailTurret::turret_movement_behavior ( )
private

◆ warp_to_struct()

function cRailTurret::warp_to_struct ( str_struct  )
private

Definition at line 1694 of file traps_shared.gsc.

References e_railturret.

Field Documentation

◆ b_track_while_attacking

var cRailTurret::b_track_while_attacking
private

Definition at line 1561 of file traps_shared.gsc.

Referenced by constructor().

◆ b_turret_active

◆ b_turret_alive

◆ e_attachpoint

var cRailTurret::e_attachpoint
private

Definition at line 1572 of file traps_shared.gsc.

Referenced by follow_mover(), spawn_at_struct(), and turret_movement_behavior().

◆ e_gimbal

var cRailTurret::e_gimbal
private

Definition at line 1571 of file traps_shared.gsc.

Referenced by follow_mover().

◆ e_railturret

◆ e_railturret_snd1

var cRailTurret::e_railturret_snd1
private

◆ e_railturret_snd2

var cRailTurret::e_railturret_snd2
private

Definition at line 1575 of file traps_shared.gsc.

Referenced by face_player(), spawn_at_struct(), and thread_watch_for_death().

◆ e_target

◆ fx_ent

var cRailTurret::fx_ent
private

Definition at line 1550 of file traps_shared.gsc.

Referenced by play_cooldown_fx().

◆ m_o_secsystem

var cRailTurret::m_o_secsystem
private

Definition at line 1548 of file traps_shared.gsc.

Referenced by deactivation_effects(), and spawn_at_struct().

◆ n_dist

var cRailTurret::n_dist
private

Definition at line 1565 of file traps_shared.gsc.

Referenced by move_along_path().

◆ n_duration

var cRailTurret::n_duration
private

Definition at line 1568 of file traps_shared.gsc.

Referenced by move_along_path().

◆ n_health

var cRailTurret::n_health
private

Definition at line 1549 of file traps_shared.gsc.

Referenced by constructor(), spawn_at_struct(), and spawn_at_struct().

◆ n_pause_before_attack

var cRailTurret::n_pause_before_attack
private

Definition at line 1556 of file traps_shared.gsc.

Referenced by constructor().

◆ n_pause_between_shots

var cRailTurret::n_pause_between_shots
private

Definition at line 1557 of file traps_shared.gsc.

Referenced by constructor(), and fire_at_target().

◆ n_shoot_cooldown

var cRailTurret::n_shoot_cooldown
private

Definition at line 1559 of file traps_shared.gsc.

Referenced by constructor(), and fire_at_target().

◆ n_shoot_duration

var cRailTurret::n_shoot_duration
private

Definition at line 1558 of file traps_shared.gsc.

Referenced by constructor(), and fire_at_target().

◆ n_shoot_revtime

var cRailTurret::n_shoot_revtime
private

Definition at line 1560 of file traps_shared.gsc.

Referenced by constructor(), and fire_at_target().

◆ n_speed

var cRailTurret::n_speed
private

Definition at line 1567 of file traps_shared.gsc.

Referenced by move_along_path(), and spawn_at_struct().

◆ n_stop_on_track_dist

var cRailTurret::n_stop_on_track_dist
private

Definition at line 1563 of file traps_shared.gsc.

Referenced by constructor(), and turret_movement_behavior().

◆ n_turn_speed

var cRailTurret::n_turn_speed
private

Definition at line 1562 of file traps_shared.gsc.

Referenced by constructor(), and face_player().

◆ s_nextdest

var cRailTurret::s_nextdest
private

Definition at line 1570 of file traps_shared.gsc.

Referenced by move_along_path(), spawn_at_struct(), and turret_movement_behavior().

◆ v_dest

var cRailTurret::v_dest
private

Definition at line 1566 of file traps_shared.gsc.

◆ w_weapon

var cRailTurret::w_weapon
private

Definition at line 1555 of file traps_shared.gsc.

Referenced by constructor(), and fire_at_target().


The documentation for this class was generated from the following file: