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

Go to the source code of this file.

Macros

#define SMOKE_GRENADE_RADIUS   128
 

Functions

function begin_other_grenade_tracking ()
 
function damageEffectArea (owner, position, radius, height, killCamEnt)
 
function init_shared ()
 
function IsInSmokeGrenade ()
 
function on_player_spawned ()
 
function playSmokeSound (position, duration, startSound, stopSound, loopSound)
 
function smokeBlockSight (radius)
 
function smokeDetonate (owner, statWeapon, smokeWeapon, position, radius, effectLifetime, smokeBlockDuration)
 
function spawnSmokeGrenadeTrigger (duration)
 
function watchSmokeGrenadeDetonation (owner, statWeapon, grenadeWeaponName, duration, totalTime)
 

Macro Definition Documentation

◆ SMOKE_GRENADE_RADIUS

#define SMOKE_GRENADE_RADIUS   128

Definition at line 20 of file _smokegrenade.gsc.

Function Documentation

◆ begin_other_grenade_tracking()

function begin_other_grenade_tracking ( )

Definition at line 143 of file _smokegrenade.gsc.

References isHacked(), and watchSmokeGrenadeDetonation().

Referenced by on_player_spawned().

◆ damageEffectArea()

function damageEffectArea ( owner  ,
position  ,
radius  ,
height  ,
killCamEnt   
)

Definition at line 76 of file _smokegrenade.gsc.

References spawn().

Referenced by watchSmokeGrenadeDetonation().

◆ init_shared()

function init_shared ( )

Definition at line 22 of file _smokegrenade.gsc.

References on_player_spawned(), and on_spawned().

Referenced by __init__().

◆ IsInSmokeGrenade()

function IsInSmokeGrenade ( )

Definition at line 123 of file _smokegrenade.gsc.

Referenced by ForceGetEnemies().

◆ on_player_spawned()

function on_player_spawned ( )

Definition at line 136 of file _smokegrenade.gsc.

References begin_other_grenade_tracking().

Referenced by init_shared().

◆ playSmokeSound()

function playSmokeSound ( position  ,
duration  ,
startSound  ,
stopSound  ,
loopSound   
)

Definition at line 169 of file _smokegrenade.gsc.

References play_in_space(), and spawn().

Referenced by do_supply_drop_detonation(), and smokeDetonate().

◆ smokeBlockSight()

function smokeBlockSight ( radius  )

Definition at line 91 of file _smokegrenade.gsc.

References SMOKE_GRENADE_RADIUS.

Referenced by smokeDetonate().

◆ smokeDetonate()

function smokeDetonate ( owner  ,
statWeapon  ,
smokeWeapon  ,
position  ,
radius  ,
effectLifetime  ,
smokeBlockDuration   
)

◆ spawnSmokeGrenadeTrigger()

function spawnSmokeGrenadeTrigger ( duration  )

Definition at line 110 of file _smokegrenade.gsc.

References ARRAY_ADD, SMOKE_GRENADE_RADIUS, spawn(), and waittill_any_timeout().

Referenced by smokeDetonate().

◆ watchSmokeGrenadeDetonation()

function watchSmokeGrenadeDetonation ( owner  ,
statWeapon  ,
grenadeWeaponName  ,
duration  ,
totalTime   
)

Definition at line 35 of file _smokegrenade.gsc.

References damageEffectArea(), SMOKE_GRENADE_RADIUS, and smokeDetonate().

Referenced by begin_other_grenade_tracking().