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

Go to the source code of this file.

Macros

#define STRAFERUN_MAX_HEALTH   1000
 

Functions

function addStraferunKill ()
 
function attachKillcamToRocket (killCamEnt, selectedTarget, targetOrigin)
 
function canTargetActor (actor)
 
function canTargetEntity (entity)
 
function canTargetPlayer (player)
 
function cleanupOnDeath (team)
 
function createKillcamEnt ()
 
function createKillcams (numKillcams, numRockets)
 
function deadReconTargetOrigin (rocket_start, target)
 
function deleteWhenParentDies (parent)
 
function doStrafeRuns ()
 
function explode ()
 
function fireFlares ()
 
function fireRockets ()
 
function firstStrafe ()
 
function getLookaheadOrigin (previous_origin, next_origin, lookAhead)
 
function getOriginAlongStrafePath (node, start_origin, distance_along)
 
function getStrafeDistance (node)
 
function getValidTargets ()
 
function init ()
 
function killcamMoveto (goal, speed, accel, pathHeight)
 
function leaveMap ()
 
function PilotDialogWait (Dialog, time)
 
function playContrail ()
 
function PlayPilotDialog (dialog)
 
function resetKillcamEnt (parent)
 
function resetKillcams (time)
 
function resetRocketKillcamEnt (parent, rocketIndex)
 
function shellShockPlayers (origin)
 
function shouldLeaveMap ()
 
function startStrafe ()
 
function startStrafeKillcams ()
 
function stopStrafe ()
 
function strafeKillcam (parent, node, distance)
 
function strafeRunShellShock ()
 
function targetInFrontOfPlane (target)
 
function unlinkKillcams ()
 
function unlinkWhenClose (selectedTarget, targetOrigin, plane)
 
function unlinkWhenParentDies (parent)
 
function useKillstreakStrafeRun (hardpointType)
 
function watchdamage ()
 
function watchForKills ()
 
function watchForOtherKillstreaks ()
 
function watchForOwnerExit (owner)
 

Macro Definition Documentation

◆ STRAFERUN_MAX_HEALTH

#define STRAFERUN_MAX_HEALTH   1000

Definition at line 22 of file _straferun.gsc.

Function Documentation

◆ addStraferunKill()

function addStraferunKill ( )

Definition at line 338 of file _straferun.gsc.

◆ attachKillcamToRocket()

function attachKillcamToRocket ( killCamEnt  ,
selectedTarget  ,
targetOrigin   
)

Definition at line 1044 of file _straferun.gsc.

References unlinkWhenClose().

Referenced by fireRockets().

◆ canTargetActor()

function canTargetActor ( actor  )

Definition at line 794 of file _straferun.gsc.

References canTargetEntity(), and targetInFrontOfPlane().

Referenced by getValidTargets().

◆ canTargetEntity()

function canTargetEntity ( entity  )

Definition at line 723 of file _straferun.gsc.

Referenced by canTargetActor(), and canTargetPlayer().

◆ canTargetPlayer()

function canTargetPlayer ( player  )

◆ cleanupOnDeath()

function cleanupOnDeath ( team  )

Definition at line 211 of file _straferun.gsc.

References killstreakStop().

Referenced by useKillstreakStrafeRun().

◆ createKillcamEnt()

function createKillcamEnt ( )

Definition at line 989 of file _straferun.gsc.

References spawn().

Referenced by createKillcams().

◆ createKillcams()

function createKillcams ( numKillcams  ,
numRockets   
)

Definition at line 932 of file _straferun.gsc.

References createKillcamEnt(), and debug_draw_bomb_path().

Referenced by init().

◆ deadReconTargetOrigin()

function deadReconTargetOrigin ( rocket_start  ,
target   
)

Definition at line 868 of file _straferun.gsc.

Referenced by fireRockets().

◆ deleteWhenParentDies()

function deleteWhenParentDies ( parent  )

Definition at line 1027 of file _straferun.gsc.

◆ doStrafeRuns()

function doStrafeRuns ( )

◆ explode()

function explode ( )

◆ fireFlares()

function fireFlares ( )

Definition at line 413 of file _straferun.gsc.

References deleteAfterTimeThread(), and spawn().

◆ fireRockets()

function fireRockets ( )

◆ firstStrafe()

function firstStrafe ( )

Definition at line 501 of file _straferun.gsc.

Referenced by startStrafe().

◆ getLookaheadOrigin()

function getLookaheadOrigin ( previous_origin  ,
next_origin  ,
lookAhead   
)

Definition at line 1097 of file _straferun.gsc.

Referenced by strafeKillcam().

◆ getOriginAlongStrafePath()

function getOriginAlongStrafePath ( node  ,
start_origin  ,
distance_along   
)

Definition at line 1203 of file _straferun.gsc.

Referenced by strafeKillcam().

◆ getStrafeDistance()

function getStrafeDistance ( node  )

Definition at line 1183 of file _straferun.gsc.

Referenced by startStrafeKillcams().

◆ getValidTargets()

function getValidTargets ( )

Definition at line 832 of file _straferun.gsc.

References canTargetActor(), canTargetPlayer(), and dog_manager_get_dogs().

Referenced by fireRockets().

◆ init()

function init ( )

Definition at line 35 of file _straferun.gsc.

References createKillcams().

◆ killcamMoveto()

function killcamMoveto ( goal  ,
speed  ,
accel  ,
pathHeight   
)

Definition at line 1151 of file _straferun.gsc.

Referenced by strafeKillcam().

◆ leaveMap()

function leaveMap ( )

Definition at line 687 of file _straferun.gsc.

References unlinkKillcams().

Referenced by doStrafeRuns().

◆ PilotDialogWait()

function PilotDialogWait ( Dialog  ,
time   
)

Definition at line 642 of file _straferun.gsc.

References PlayPilotDialog().

Referenced by doStrafeRuns(), startStrafe(), stopStrafe(), and useKillstreakStrafeRun().

◆ playContrail()

function playContrail ( )

Definition at line 202 of file _straferun.gsc.

◆ PlayPilotDialog()

function PlayPilotDialog ( dialog  )

Definition at line 77 of file _straferun.gsc.

References wait_playback_time(), and waittill_any().

Referenced by PilotDialogWait().

◆ resetKillcamEnt()

function resetKillcamEnt ( parent  )

Definition at line 999 of file _straferun.gsc.

References unlinkWhenParentDies().

Referenced by resetKillcams().

◆ resetKillcams()

function resetKillcams ( time  )

Definition at line 958 of file _straferun.gsc.

References resetKillcamEnt(), and resetRocketKillcamEnt().

Referenced by stopStrafe(), and useKillstreakStrafeRun().

◆ resetRocketKillcamEnt()

function resetRocketKillcamEnt ( parent  ,
rocketIndex   
)

Definition at line 1012 of file _straferun.gsc.

References unlinkWhenParentDies().

Referenced by resetKillcams().

◆ shellShockPlayers()

function shellShockPlayers ( origin  )

Definition at line 884 of file _straferun.gsc.

References strafeRunShellShock().

Referenced by startStrafe().

◆ shouldLeaveMap()

function shouldLeaveMap ( )

Definition at line 654 of file _straferun.gsc.

Referenced by doStrafeRuns().

◆ startStrafe()

function startStrafe ( )

◆ startStrafeKillcams()

function startStrafeKillcams ( )

Definition at line 1167 of file _straferun.gsc.

References getStrafeDistance(), and strafeKillcam().

Referenced by startStrafe().

◆ stopStrafe()

function stopStrafe ( )

Definition at line 583 of file _straferun.gsc.

References PilotDialogWait(), and resetKillcams().

Referenced by doStrafeRuns().

◆ strafeKillcam()

function strafeKillcam ( parent  ,
node  ,
distance   
)

◆ strafeRunShellShock()

function strafeRunShellShock ( )

Definition at line 915 of file _straferun.gsc.

Referenced by shellShockPlayers().

◆ targetInFrontOfPlane()

function targetInFrontOfPlane ( target  )

Definition at line 819 of file _straferun.gsc.

Referenced by canTargetActor(), and canTargetPlayer().

◆ unlinkKillcams()

function unlinkKillcams ( )

Definition at line 976 of file _straferun.gsc.

Referenced by leaveMap().

◆ unlinkWhenClose()

function unlinkWhenClose ( selectedTarget  ,
targetOrigin  ,
plane   
)

Definition at line 1065 of file _straferun.gsc.

Referenced by attachKillcamToRocket().

◆ unlinkWhenParentDies()

function unlinkWhenParentDies ( parent  )

Definition at line 1034 of file _straferun.gsc.

Referenced by resetKillcamEnt(), and resetRocketKillcamEnt().

◆ useKillstreakStrafeRun()

◆ watchdamage()

function watchdamage ( )

◆ watchForKills()

function watchForKills ( )

Definition at line 310 of file _straferun.gsc.

Referenced by useKillstreakStrafeRun().

◆ watchForOtherKillstreaks()

function watchForOtherKillstreaks ( )

Definition at line 278 of file _straferun.gsc.

References addFlySwatterStat(), explode(), and IsEnemyPlayer().

Referenced by useKillstreakStrafeRun().

◆ watchForOwnerExit()

function watchForOwnerExit ( owner  )

Definition at line 330 of file _straferun.gsc.

References waittill_any().

Referenced by useKillstreakStrafeRun().