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

Go to the source code of this file.

Macros

#define DRONE_HUD_ELEM_CONSTANT_SIZE   true
 
#define DRONE_HUD_MARKED_TARGET   "hud_proto_rts_secure_target"
 

Functions

function __init__ ()
 
function can_enter_main ()
 
function escort_drone_adjust_goal_for_enemy_height (goalpos)
 
function escort_drone_blink_lights ()
 
function escort_drone_check_move (position)
 
function escort_drone_cleanup_fx ()
 
function escort_drone_collision ()
 
function escort_drone_collision_player ()
 
function escort_drone_emped ()
 
function escort_drone_exit_vehicle ()
 
function escort_drone_find_new_position ()
 
function escort_drone_fire_for_time (totalFireTime)
 
function escort_drone_fireupdate ()
 
function escort_drone_get_closest_node ()
 
function escort_drone_level_out_for_landing ()
 
function escort_drone_main ()
 
function escort_drone_movementupdate ()
 
function escort_drone_off ()
 
function escort_drone_on ()
 
function escort_drone_play_single_fx_on_tag (effect, tag)
 
function escort_drone_power_loss_multiplier (sMeansOfDeath)
 
function escort_drone_predicted_collision ()
 
function escort_drone_scripted ()
 
function escort_drone_set_team (team)
 
function escort_drone_start_ai ()
 
function escort_drone_start_scripted ()
 
function escort_drone_teleport_to_nearest_node ()
 
function escort_drone_temp_bullet_shield (invulnerable_time)
 
function escort_drone_think (player)
 
function EscortDroneCallback_VehicleDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, psOffsetTime, damageFromUnderneath, modelIndex, partName)
 
function goal_flag_monitor ()
 
function hud_marker_create ()
 
function is_in_combat ()
 
function make_sure_goal_is_well_above_ground (pos)
 
function waittill_pathing_done ()
 

Macro Definition Documentation

◆ DRONE_HUD_ELEM_CONSTANT_SIZE

#define DRONE_HUD_ELEM_CONSTANT_SIZE   true

Definition at line 19 of file _escort_drone.gsc.

◆ DRONE_HUD_MARKED_TARGET

#define DRONE_HUD_MARKED_TARGET   "hud_proto_rts_secure_target"

Definition at line 18 of file _escort_drone.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 28 of file _escort_drone.gsc.

◆ can_enter_main()

function can_enter_main ( )

Definition at line 123 of file _escort_drone.gsc.

◆ escort_drone_adjust_goal_for_enemy_height()

function escort_drone_adjust_goal_for_enemy_height ( goalpos  )

Definition at line 261 of file _escort_drone.gsc.

Referenced by escort_drone_movementupdate().

◆ escort_drone_blink_lights()

function escort_drone_blink_lights ( )

◆ escort_drone_check_move()

function escort_drone_check_move ( position  )

Definition at line 249 of file _escort_drone.gsc.

Referenced by escort_drone_movementupdate().

◆ escort_drone_cleanup_fx()

function escort_drone_cleanup_fx ( )

Definition at line 575 of file _escort_drone.gsc.

◆ escort_drone_collision()

function escort_drone_collision ( )

Definition at line 649 of file _escort_drone.gsc.

References emped(), and escort_drone_predicted_collision().

Referenced by escort_drone_emped(), and escort_drone_main().

◆ escort_drone_collision_player()

function escort_drone_collision_player ( )

Definition at line 631 of file _escort_drone.gsc.

Referenced by escort_drone_scripted().

◆ escort_drone_emped()

◆ escort_drone_exit_vehicle()

function escort_drone_exit_vehicle ( )

Definition at line 504 of file _escort_drone.gsc.

References escort_drone_teleport_to_nearest_node().

Referenced by escort_drone_scripted().

◆ escort_drone_find_new_position()

function escort_drone_find_new_position ( )

Definition at line 472 of file _escort_drone.gsc.

Referenced by escort_drone_movementupdate().

◆ escort_drone_fire_for_time()

function escort_drone_fire_for_time ( totalFireTime  )

Definition at line 588 of file _escort_drone.gsc.

References emped(), and power_loss_event().

Referenced by escort_drone_fireupdate().

◆ escort_drone_fireupdate()

function escort_drone_fireupdate ( )

Definition at line 178 of file _escort_drone.gsc.

References escort_drone_fire_for_time(), hud_marker_create(), and is_in_combat().

Referenced by escort_drone_main().

◆ escort_drone_get_closest_node()

function escort_drone_get_closest_node ( )

◆ escort_drone_level_out_for_landing()

function escort_drone_level_out_for_landing ( )

Definition at line 763 of file _escort_drone.gsc.

References emped(), and WAIT_SERVER_FRAME.

Referenced by escort_drone_emped().

◆ escort_drone_main()

function escort_drone_main ( )

◆ escort_drone_movementupdate()

◆ escort_drone_off()

function escort_drone_off ( )

◆ escort_drone_on()

function escort_drone_on ( )

◆ escort_drone_play_single_fx_on_tag()

function escort_drone_play_single_fx_on_tag ( effect  ,
tag   
)

Definition at line 547 of file _escort_drone.gsc.

References Spawn().

◆ escort_drone_power_loss_multiplier()

function escort_drone_power_loss_multiplier ( sMeansOfDeath  )

Definition at line 864 of file _escort_drone.gsc.

Referenced by EscortDroneCallback_VehicleDamage().

◆ escort_drone_predicted_collision()

function escort_drone_predicted_collision ( )

Definition at line 616 of file _escort_drone.gsc.

Referenced by escort_drone_collision().

◆ escort_drone_scripted()

function escort_drone_scripted ( )

◆ escort_drone_set_team()

function escort_drone_set_team ( team  )

Definition at line 744 of file _escort_drone.gsc.

References escort_drone_blink_lights().

Referenced by escort_drone_scripted(), and escort_drone_think().

◆ escort_drone_start_ai()

function escort_drone_start_ai ( )

Definition at line 164 of file _escort_drone.gsc.

References set_state().

Referenced by escort_drone_on(), escort_drone_think(), and gadget_drone_spawn().

◆ escort_drone_start_scripted()

function escort_drone_start_scripted ( )

Definition at line 135 of file _escort_drone.gsc.

References set_state().

Referenced by gadget_drone_spawn().

◆ escort_drone_teleport_to_nearest_node()

function escort_drone_teleport_to_nearest_node ( )

Definition at line 499 of file _escort_drone.gsc.

References escort_drone_get_closest_node().

Referenced by escort_drone_exit_vehicle().

◆ escort_drone_temp_bullet_shield()

function escort_drone_temp_bullet_shield ( invulnerable_time  )

Definition at line 813 of file _escort_drone.gsc.

◆ escort_drone_think()

◆ EscortDroneCallback_VehicleDamage()

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

◆ goal_flag_monitor()

function goal_flag_monitor ( )

Definition at line 315 of file _escort_drone.gsc.

References clear(), set(), and waittill_any().

Referenced by escort_drone_movementupdate().

◆ hud_marker_create()

function hud_marker_create ( )

◆ is_in_combat()

function is_in_combat ( )

Definition at line 899 of file _escort_drone.gsc.

References STATE_COMBAT.

Referenced by escort_drone_fireupdate().

◆ make_sure_goal_is_well_above_ground()

function make_sure_goal_is_well_above_ground ( pos  )

Definition at line 289 of file _escort_drone.gsc.

References end(), and trace().

Referenced by escort_drone_get_closest_node(), and escort_drone_movementupdate().

◆ waittill_pathing_done()

function waittill_pathing_done ( )

Definition at line 304 of file _escort_drone.gsc.

References wait_till().