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

Go to the source code of this file.

Macros

#define OOB_DAMAGE_DEFAULT   5
 
#define OOB_DAMAGE_DEFAULT_MP   999
 
#define OOB_DAMAGE_MS_DEFAULT   1000
 
#define OOB_DAMAGE_MS_DEFAULT_MP   3000
 
#define OOB_EFFECT_MAX_DISTANCE_BEFORE_BLACK   400
 
#define OOB_EFFECT_MAX_DISTANCE_BEFORE_BLACK_MP   100000
 
#define OOB_EFFECT_TIME_REMAINING_BEFORE_BLACK   1000
 
#define OOB_EFFECT_TIME_REMAINING_BEFORE_BLACK_MP   -1
 
#define OOB_INVALID_TIME   -1
 
#define OOB_TIMEKEEP_MP   3000
 
#define OOB_TIMELIMIT_MS_DEFAULT   6000
 
#define OOB_TIMELIMIT_MS_DEFAULT_MP   3000
 

Functions

function __init__ ()
 
function disablePlayerOOB (disabled)
 
function GetAdjusedPlayer (Player)
 
function GetDistanceFromLastValidPlayerLoc (trigger, entity)
 
function IsOutOfBounds ()
 
function IsTouchingAnyOOBTrigger ()
 
function killEntity (entity)
 
function ResetOOBTimer (is_host_migrating, b_disable_timekeep)
 
function run_oob_trigger ()
 
function UpdateVisualEffects (trigger, entity)
 
function waitForCloneTouch ()
 
function waitForPlayerTouch ()
 
function watchForDeath (trigger, entity)
 
function watchForHostMigration (trigger, entity)
 
function watchForLeave (trigger, entity)
 

Macro Definition Documentation

◆ OOB_DAMAGE_DEFAULT

#define OOB_DAMAGE_DEFAULT   5

Definition at line 16 of file _oob.gsc.

◆ OOB_DAMAGE_DEFAULT_MP

#define OOB_DAMAGE_DEFAULT_MP   999

Definition at line 24 of file _oob.gsc.

◆ OOB_DAMAGE_MS_DEFAULT

#define OOB_DAMAGE_MS_DEFAULT   1000

Definition at line 15 of file _oob.gsc.

◆ OOB_DAMAGE_MS_DEFAULT_MP

#define OOB_DAMAGE_MS_DEFAULT_MP   3000

Definition at line 23 of file _oob.gsc.

◆ OOB_EFFECT_MAX_DISTANCE_BEFORE_BLACK

#define OOB_EFFECT_MAX_DISTANCE_BEFORE_BLACK   400

Definition at line 17 of file _oob.gsc.

◆ OOB_EFFECT_MAX_DISTANCE_BEFORE_BLACK_MP

#define OOB_EFFECT_MAX_DISTANCE_BEFORE_BLACK_MP   100000

Definition at line 25 of file _oob.gsc.

◆ OOB_EFFECT_TIME_REMAINING_BEFORE_BLACK

#define OOB_EFFECT_TIME_REMAINING_BEFORE_BLACK   1000

Definition at line 18 of file _oob.gsc.

◆ OOB_EFFECT_TIME_REMAINING_BEFORE_BLACK_MP

#define OOB_EFFECT_TIME_REMAINING_BEFORE_BLACK_MP   -1

Definition at line 26 of file _oob.gsc.

◆ OOB_INVALID_TIME

#define OOB_INVALID_TIME   -1

Definition at line 28 of file _oob.gsc.

◆ OOB_TIMEKEEP_MP

#define OOB_TIMEKEEP_MP   3000

Definition at line 21 of file _oob.gsc.

◆ OOB_TIMELIMIT_MS_DEFAULT

#define OOB_TIMELIMIT_MS_DEFAULT   6000

Definition at line 14 of file _oob.gsc.

◆ OOB_TIMELIMIT_MS_DEFAULT_MP

#define OOB_TIMELIMIT_MS_DEFAULT_MP   3000

Definition at line 22 of file _oob.gsc.

Function Documentation

◆ __init__()

◆ disablePlayerOOB()

function disablePlayerOOB ( disabled  )

Definition at line 366 of file _oob.gsc.

References ResetOOBTimer().

◆ GetAdjusedPlayer()

function GetAdjusedPlayer ( Player  )

Definition at line 163 of file _oob.gsc.

◆ GetDistanceFromLastValidPlayerLoc()

function GetDistanceFromLastValidPlayerLoc ( trigger  ,
entity   
)

Definition at line 229 of file _oob.gsc.

Referenced by UpdateVisualEffects().

◆ IsOutOfBounds()

function IsOutOfBounds ( )

Definition at line 74 of file _oob.gsc.

References OOB_INVALID_TIME.

Referenced by spawnClones(), SpawnHeliGunner(), and waitForPlayerTouch().

◆ IsTouchingAnyOOBTrigger()

function IsTouchingAnyOOBTrigger ( )

◆ killEntity()

function killEntity ( entity  )

Definition at line 296 of file _oob.gsc.

References ResetOOBTimer().

Referenced by watchForLeave().

◆ ResetOOBTimer()

function ResetOOBTimer ( is_host_migrating  ,
b_disable_timekeep   
)

◆ run_oob_trigger()

function run_oob_trigger ( )

Definition at line 66 of file _oob.gsc.

References ARRAY_ADD, waitForCloneTouch(), and waitForPlayerTouch().

Referenced by __init__().

◆ UpdateVisualEffects()

function UpdateVisualEffects ( trigger  ,
entity   
)

Definition at line 250 of file _oob.gsc.

References GetDistanceFromLastValidPlayerLoc(), and set_to_player().

Referenced by watchForLeave().

◆ waitForCloneTouch()

function waitForCloneTouch ( )

Definition at line 148 of file _oob.gsc.

Referenced by run_oob_trigger().

◆ waitForPlayerTouch()

function waitForPlayerTouch ( )

◆ watchForDeath()

function watchForDeath ( trigger  ,
entity   
)

Definition at line 347 of file _oob.gsc.

References ResetOOBTimer(), and waittill_any_ents_two().

Referenced by waitForPlayerTouch().

◆ watchForHostMigration()

function watchForHostMigration ( trigger  ,
entity   
)

Definition at line 357 of file _oob.gsc.

References ResetOOBTimer().

Referenced by waitForPlayerTouch().

◆ watchForLeave()

function watchForLeave ( trigger  ,
entity   
)

Definition at line 311 of file _oob.gsc.

References IsTouchingAnyOOBTrigger(), killEntity(), ResetOOBTimer(), and UpdateVisualEffects().

Referenced by waitForPlayerTouch().