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

Go to the source code of this file.

Macros

#define HELI_GUARD_FIRE_TIME   0.15
 
#define HELI_GUARD_GUNNER   0
 
#define HELI_GUARD_MAX_PAUSE   2.0
 
#define HELI_GUARD_MAX_SHOTS   20
 
#define HELI_GUARD_MIN_PAUSE   1.0
 
#define HELI_GUARD_MIN_SHOTS   10
 
#define HELI_GUARD_SPINUP   0.2
 
#define PLAYER_HEIGHT_INCREASE   (0,0,50)
 

Functions

function ConfigureTeamPost (owner, isHacked)
 
function createHeliGuardSupport (lifeId, killstreak_id)
 
function getMeshHeight (littleBird, owner)
 
function heliDestroyed ()
 
function heliGuardSupport_arrayContains (array, compare)
 
function heliGuardSupport_attackTargets ()
 
function heliGuardSupport_fireStart ()
 
function heliGuardSupport_fireStop (targetEnt)
 
function heliGuardSupport_followPlayer ()
 
function heliGuardSupport_getClosestLinkedNode (pos)
 
function heliGuardSupport_getClosestNode (pos)
 
function heliGuardSupport_getClosestStartNode (pos)
 
function heliGuardSupport_getLinkedStructs ()
 
function heliGuardSupport_leave ()
 
function heliGuardSupport_moveToPlayer ()
 
function heliGuardSupport_moveToPlayerVertical (maxMeshHeight)
 
function heliGuardSupport_setAirNodeMesh ()
 
function heliGuardSupport_setAirStartNodes ()
 
function heliGuardSupport_watchForEarlyLeave ()
 
function heliGuardSupport_watchOwnerDamage ()
 
function heliGuardSupport_watchRoundEnd ()
 
function heliGuardSupport_watchSAMProximity (player, missileTeam, missileTarget, missileGroup)
 
function init ()
 
function lbExplode ()
 
function lbSpin (speed)
 
function register ()
 
function removeLittlebird ()
 
function startHeliGuardSupport (littleBird, lifeId)
 
function trail_fx (trail_fx, trail_tag, stop_notify)
 
function tryUseheliGuardSupport (lifeId)
 

Macro Definition Documentation

◆ HELI_GUARD_FIRE_TIME

#define HELI_GUARD_FIRE_TIME   0.15

Definition at line 55 of file _helicopter_guard.gsc.

◆ HELI_GUARD_GUNNER

#define HELI_GUARD_GUNNER   0

Definition at line 60 of file _helicopter_guard.gsc.

◆ HELI_GUARD_MAX_PAUSE

#define HELI_GUARD_MAX_PAUSE   2.0

Definition at line 59 of file _helicopter_guard.gsc.

◆ HELI_GUARD_MAX_SHOTS

#define HELI_GUARD_MAX_SHOTS   20

Definition at line 57 of file _helicopter_guard.gsc.

◆ HELI_GUARD_MIN_PAUSE

#define HELI_GUARD_MIN_PAUSE   1.0

Definition at line 58 of file _helicopter_guard.gsc.

◆ HELI_GUARD_MIN_SHOTS

#define HELI_GUARD_MIN_SHOTS   10

Definition at line 56 of file _helicopter_guard.gsc.

◆ HELI_GUARD_SPINUP

#define HELI_GUARD_SPINUP   0.2

Definition at line 61 of file _helicopter_guard.gsc.

◆ PLAYER_HEIGHT_INCREASE

#define PLAYER_HEIGHT_INCREASE   (0,0,50)

Definition at line 54 of file _helicopter_guard.gsc.

Function Documentation

◆ ConfigureTeamPost()

function ConfigureTeamPost ( owner  ,
isHacked   
)

◆ createHeliGuardSupport()

◆ getMeshHeight()

function getMeshHeight ( littleBird  ,
owner   
)

Definition at line 193 of file _helicopter_guard.gsc.

References getMinimumFlyHeight().

Referenced by heliGuardSupport_moveToPlayer(), and startHeliGuardSupport().

◆ heliDestroyed()

function heliDestroyed ( )

Definition at line 480 of file _helicopter_guard.gsc.

References lbExplode(), and lbSpin().

◆ heliGuardSupport_arrayContains()

function heliGuardSupport_arrayContains ( array  ,
compare   
)

Definition at line 659 of file _helicopter_guard.gsc.

References array.

Referenced by heliGuardSupport_setAirNodeMesh().

◆ heliGuardSupport_attackTargets()

function heliGuardSupport_attackTargets ( )

Definition at line 717 of file _helicopter_guard.gsc.

References heliGuardSupport_fireStart().

Referenced by createHeliGuardSupport().

◆ heliGuardSupport_fireStart()

◆ heliGuardSupport_fireStop()

function heliGuardSupport_fireStop ( targetEnt  )

Definition at line 777 of file _helicopter_guard.gsc.

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

Referenced by heliGuardSupport_fireStart().

◆ heliGuardSupport_followPlayer()

function heliGuardSupport_followPlayer ( )

◆ heliGuardSupport_getClosestLinkedNode()

function heliGuardSupport_getClosestLinkedNode ( pos  )

Definition at line 628 of file _helicopter_guard.gsc.

◆ heliGuardSupport_getClosestNode()

function heliGuardSupport_getClosestNode ( pos  )

Definition at line 609 of file _helicopter_guard.gsc.

Referenced by createHeliGuardSupport().

◆ heliGuardSupport_getClosestStartNode()

function heliGuardSupport_getClosestStartNode ( pos  )

Definition at line 587 of file _helicopter_guard.gsc.

Referenced by createHeliGuardSupport().

◆ heliGuardSupport_getLinkedStructs()

function heliGuardSupport_getLinkedStructs ( )

Definition at line 674 of file _helicopter_guard.gsc.

References array.

Referenced by heliGuardSupport_setAirNodeMesh(), and heliGuardSupport_setAirStartNodes().

◆ heliGuardSupport_leave()

◆ heliGuardSupport_moveToPlayer()

function heliGuardSupport_moveToPlayer ( )

◆ heliGuardSupport_moveToPlayerVertical()

function heliGuardSupport_moveToPlayerVertical ( maxMeshHeight  )

Definition at line 356 of file _helicopter_guard.gsc.

References getNoFlyZoneHeightCrossed().

◆ heliGuardSupport_setAirNodeMesh()

function heliGuardSupport_setAirNodeMesh ( )

◆ heliGuardSupport_setAirStartNodes()

function heliGuardSupport_setAirStartNodes ( )

Definition at line 680 of file _helicopter_guard.gsc.

References get_array(), and heliGuardSupport_getLinkedStructs().

◆ heliGuardSupport_watchForEarlyLeave()

function heliGuardSupport_watchForEarlyLeave ( )

Definition at line 382 of file _helicopter_guard.gsc.

References heliGuardSupport_leave(), and waittill_any().

Referenced by ConfigureTeamPost().

◆ heliGuardSupport_watchOwnerDamage()

function heliGuardSupport_watchOwnerDamage ( )

◆ heliGuardSupport_watchRoundEnd()

function heliGuardSupport_watchRoundEnd ( )

Definition at line 424 of file _helicopter_guard.gsc.

References heliGuardSupport_leave().

Referenced by createHeliGuardSupport().

◆ heliGuardSupport_watchSAMProximity()

function heliGuardSupport_watchSAMProximity ( player  ,
missileTeam  ,
missileTarget  ,
missileGroup   
)

Definition at line 547 of file _helicopter_guard.gsc.

References spawn().

◆ init()

◆ lbExplode()

function lbExplode ( )

Definition at line 495 of file _helicopter_guard.gsc.

References removeLittlebird().

Referenced by createHeliGuardSupport(), and heliDestroyed().

◆ lbSpin()

function lbSpin ( speed  )

Definition at line 502 of file _helicopter_guard.gsc.

References trail_fx().

Referenced by heliDestroyed().

◆ register()

function register ( )

Definition at line 63 of file _helicopter_guard.gsc.

References VERSION_SHIP.

Referenced by init().

◆ removeLittlebird()

function removeLittlebird ( )

Definition at line 532 of file _helicopter_guard.gsc.

References killstreakStop(), and remove_influencers().

Referenced by heliGuardSupport_leave(), and lbExplode().

◆ startHeliGuardSupport()

function startHeliGuardSupport ( littleBird  ,
lifeId   
)

◆ trail_fx()

function trail_fx ( trail_fx  ,
trail_tag  ,
stop_notify   
)

Definition at line 518 of file _helicopter_guard.gsc.

References WAIT_SERVER_FRAME.

Referenced by lbSpin().

◆ tryUseheliGuardSupport()

function tryUseheliGuardSupport ( lifeId  )

Definition at line 69 of file _helicopter_guard.gsc.

References createHeliGuardSupport(), killstreakStart(), and startHeliGuardSupport().

Referenced by init().