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

Go to the source code of this file.

Macros

#define COUNTER_UAV_KILLSTREAK_NAME   "killstreak_counteruav"
 
#define COUNTER_UAV_NAME   "counteruav"
 
#define COUNTER_UAV_VEHICLE_NAME   "veh_counteruav_mp"
 

Functions

function ActivateCounterUAV ()
 
function AddActiveCounterUAV ()
 
function AssignFirstAvailableOffsetIndex ()
 
function BuildOffsetList (startOffset, depth, offset_x, offset_y)
 
function ConfigureTeamPost (owner, isHacked)
 
function CounterUAVMove ()
 
function DeleteCounterUAV ()
 
function DestroyCounterUAV (attacker, weapon)
 
function DestroyCounterUavByEMP (attacker, arg)
 
function EnemyCounterUAVActive ()
 
function GenerateRandomPoints (count)
 
function GetCurrentPosition (teamOrEntNum)
 
function GetFirstAvailableOffsetIndex ()
 
function HackedPreFunction (hacker)
 
function HasActiveCounterUAV ()
 
function HasIndexActiveCounterUAV (team_or_entnum)
 
function HideAllCounterUAVsToSameTeam ()
 
function init ()
 
function ListenForMove ()
 
function MaintainCouterUavEntities ()
 
function MovementManagerThink (teamOrEntNum)
 
function OnLowHealth (attacker, weapon)
 
function OnPlayerConnect ()
 
function OnPlayerJoinedTeam ()
 
function OnPlayerSpawned ()
 
function OnTeamChange (entNum, event)
 
function OnTimecheck ()
 
function OnTimeout ()
 
function PlayFx (name)
 
function RemoveActiveCounterUAV ()
 
function ResetActiveCounterUAV ()
 
function SpawnCounterUAV (owner, killstreak_id)
 
function TeamHasActiveCounterUAV (team)
 
function WatchCounterUAVs ()
 

Macro Definition Documentation

◆ COUNTER_UAV_KILLSTREAK_NAME

#define COUNTER_UAV_KILLSTREAK_NAME   "killstreak_counteruav"

Definition at line 37 of file _counteruav.gsc.

◆ COUNTER_UAV_NAME

#define COUNTER_UAV_NAME   "counteruav"

Definition at line 35 of file _counteruav.gsc.

◆ COUNTER_UAV_VEHICLE_NAME

#define COUNTER_UAV_VEHICLE_NAME   "veh_counteruav_mp"

Definition at line 36 of file _counteruav.gsc.

Function Documentation

◆ ActivateCounterUAV()

◆ AddActiveCounterUAV()

function AddActiveCounterUAV ( )

Definition at line 542 of file _counteruav.gsc.

References blockedSatellite(), and HasSatellite().

Referenced by ConfigureTeamPost().

◆ AssignFirstAvailableOffsetIndex()

function AssignFirstAvailableOffsetIndex ( )

Definition at line 177 of file _counteruav.gsc.

References GetFirstAvailableOffsetIndex(), and MaintainCouterUavEntities().

Referenced by SpawnCounterUAV().

◆ BuildOffsetList()

function BuildOffsetList ( startOffset  ,
depth  ,
offset_x  ,
offset_y   
)

Definition at line 224 of file _counteruav.gsc.

References pow().

Referenced by init().

◆ ConfigureTeamPost()

function ConfigureTeamPost ( owner  ,
isHacked   
)

Definition at line 330 of file _counteruav.gsc.

References AddActiveCounterUAV(), HideToSameTeam(), isHacked(), and OnTeamChange().

Referenced by SpawnCounterUAV().

◆ CounterUAVMove()

◆ DeleteCounterUAV()

function DeleteCounterUAV ( )

Definition at line 469 of file _counteruav.gsc.

References COUNTER_UAV_NAME, and PlayFx().

Referenced by DestroyCounterUAV().

◆ DestroyCounterUAV()

◆ DestroyCounterUavByEMP()

function DestroyCounterUavByEMP ( attacker  ,
arg   
)

Definition at line 437 of file _counteruav.gsc.

Referenced by ActivateCounterUAV().

◆ EnemyCounterUAVActive()

function EnemyCounterUAVActive ( )

◆ GenerateRandomPoints()

function GenerateRandomPoints ( count  )

◆ GetCurrentPosition()

function GetCurrentPosition ( teamOrEntNum  )

Definition at line 169 of file _counteruav.gsc.

Referenced by CounterUAVMove().

◆ GetFirstAvailableOffsetIndex()

function GetFirstAvailableOffsetIndex ( )

Definition at line 184 of file _counteruav.gsc.

References warning().

Referenced by AssignFirstAvailableOffsetIndex().

◆ HackedPreFunction()

function HackedPreFunction ( hacker  )

Definition at line 295 of file _counteruav.gsc.

References ResetActiveCounterUAV().

Referenced by SpawnCounterUAV().

◆ HasActiveCounterUAV()

function HasActiveCounterUAV ( )

Definition at line 526 of file _counteruav.gsc.

Referenced by EnemyCounterUAVActive().

◆ HasIndexActiveCounterUAV()

function HasIndexActiveCounterUAV ( team_or_entnum  )

Definition at line 536 of file _counteruav.gsc.

Referenced by challengeKills().

◆ HideAllCounterUAVsToSameTeam()

function HideAllCounterUAVsToSameTeam ( )

Definition at line 647 of file _counteruav.gsc.

References HideToSameTeam().

Referenced by OnPlayerJoinedTeam().

◆ init()

◆ ListenForMove()

function ListenForMove ( )

Definition at line 347 of file _counteruav.gsc.

References CounterUAVMove(), and waittill_any().

Referenced by ActivateCounterUAV().

◆ MaintainCouterUavEntities()

function MaintainCouterUavEntities ( )

Definition at line 212 of file _counteruav.gsc.

Referenced by AssignFirstAvailableOffsetIndex().

◆ MovementManagerThink()

function MovementManagerThink ( teamOrEntNum  )

◆ OnLowHealth()

function OnLowHealth ( attacker  ,
weapon   
)

Definition at line 401 of file _counteruav.gsc.

References COUNTER_UAV_NAME.

Referenced by ActivateCounterUAV().

◆ OnPlayerConnect()

function OnPlayerConnect ( )

Definition at line 91 of file _counteruav.gsc.

References MovementManagerThink().

Referenced by init().

◆ OnPlayerJoinedTeam()

function OnPlayerJoinedTeam ( )

Definition at line 414 of file _counteruav.gsc.

References HideAllCounterUAVsToSameTeam().

Referenced by init().

◆ OnPlayerSpawned()

function OnPlayerSpawned ( )

Definition at line 105 of file _counteruav.gsc.

References COUNTER_UAV_NAME, EnemyCounterUAVActive(), and set_to_player().

Referenced by init().

◆ OnTeamChange()

function OnTeamChange ( entNum  ,
event   
)

Definition at line 409 of file _counteruav.gsc.

References DestroyCounterUAV().

Referenced by ConfigureTeamPost().

◆ OnTimecheck()

function OnTimecheck ( )

Definition at line 432 of file _counteruav.gsc.

References COUNTER_UAV_NAME, and play_pilot_dialog_on_owner().

Referenced by ActivateCounterUAV().

◆ OnTimeout()

function OnTimeout ( )

◆ PlayFx()

◆ RemoveActiveCounterUAV()

function RemoveActiveCounterUAV ( )

Definition at line 586 of file _counteruav.gsc.

References killstreakStop(), and ResetActiveCounterUAV().

Referenced by DestroyCounterUAV(), and OnTimeout().

◆ ResetActiveCounterUAV()

function ResetActiveCounterUAV ( )

Definition at line 593 of file _counteruav.gsc.

Referenced by HackedPreFunction(), and RemoveActiveCounterUAV().

◆ SpawnCounterUAV()

◆ TeamHasActiveCounterUAV()

function TeamHasActiveCounterUAV ( team  )

Definition at line 531 of file _counteruav.gsc.

Referenced by EnemyCounterUAVActive(), and processKillstreakAssists().

◆ WatchCounterUAVs()

function WatchCounterUAVs ( )

Definition at line 627 of file _counteruav.gsc.

References COUNTER_UAV_NAME, EnemyCounterUAVActive(), and set_to_player().

Referenced by init().