![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
#define | DECOY_SPAWN_DISTANCE 240 |
#define | DECOY_SPAWN_LIFETIME 15 |
#define | DECOY_SPAWN_RADIUS 240 |
#define | SENSOR_GRENADE_LASER_DISTANCE_SQ 750 * 750 |
#define | SENSOR_GRENADE_TRACK_TIME 10000 |
Functions | |
function | checkForTracking (origin) |
function | createSensorGrenadeWatcher () |
function | get_decoy_spawn_loc () |
function | init_shared () |
function | isPlayerTracked (player, time) |
function | onSpawnSensorGrenade (watcher, player) |
function | sensorGrenadeDestroyed (attacker, weapon, target) |
function | trackSensorGrenadeVictim (victim) |
function | watch_decoy (sensor_grenade) |
function | watch_for_decoys (owner) |
function | watchForExplode (owner) |
function | watchForStationary (owner) |
function | watchSensorGrenadeDamage (watcher) |
#define DECOY_SPAWN_DISTANCE 240 |
Definition at line 258 of file _sensor_grenade.gsc.
#define DECOY_SPAWN_LIFETIME 15 |
Definition at line 259 of file _sensor_grenade.gsc.
#define DECOY_SPAWN_RADIUS 240 |
Definition at line 256 of file _sensor_grenade.gsc.
#define SENSOR_GRENADE_LASER_DISTANCE_SQ 750 * 750 |
Definition at line 17 of file _sensor_grenade.gsc.
#define SENSOR_GRENADE_TRACK_TIME 10000 |
Definition at line 18 of file _sensor_grenade.gsc.
function checkForTracking | ( | origin | ) |
Definition at line 96 of file _sensor_grenade.gsc.
References CLIENT_FIELD_FLAG_SG_JAMMER_ACTIVE, get(), IsEnemyPlayer(), SENSOR_GRENADE_LASER_DISTANCE_SQ, trace(), and trackSensorGrenadeVictim().
Referenced by watchForExplode(), and watchForStationary().
function createSensorGrenadeWatcher | ( | ) |
Definition at line 32 of file _sensor_grenade.gsc.
References createUseWeaponObjectWatcher(), onSpawnSensorGrenade(), sensorGrenadeDestroyed(), and weaponStun().
Referenced by init_shared().
function get_decoy_spawn_loc | ( | ) |
Definition at line 282 of file _sensor_grenade.gsc.
References DECOY_SPAWN_DISTANCE.
Referenced by watch_decoy().
function init_shared | ( | ) |
Definition at line 22 of file _sensor_grenade.gsc.
References add_weapon_watcher(), createSensorGrenadeWatcher(), and isPlayerTracked().
Referenced by __init__().
function isPlayerTracked | ( | player | , |
time | |||
) |
Definition at line 135 of file _sensor_grenade.gsc.
References SENSOR_GRENADE_TRACK_TIME.
Referenced by init_shared().
function onSpawnSensorGrenade | ( | watcher | , |
player | |||
) |
Definition at line 49 of file _sensor_grenade.gsc.
References onSpawnUseWeaponObject(), registerWithHackerTool(), watch_for_decoys(), watchForExplode(), and watchForStationary().
Referenced by createSensorGrenadeWatcher().
function sensorGrenadeDestroyed | ( | attacker | , |
weapon | , | ||
target | |||
) |
Definition at line 152 of file _sensor_grenade.gsc.
References destroyedEquipment(), IsEnemyPlayer(), and processScoreEvent().
Referenced by createSensorGrenadeWatcher().
function trackSensorGrenadeVictim | ( | victim | ) |
Definition at line 122 of file _sensor_grenade.gsc.
Referenced by checkForTracking().
function watch_decoy | ( | sensor_grenade | ) |
Definition at line 288 of file _sensor_grenade.gsc.
References DECOY_SPAWN_LIFETIME, get_decoy_spawn_loc(), simulate_weapon_fire(), Spawn(), and WAIT_SERVER_FRAME.
Referenced by watch_for_decoys().
function watch_for_decoys | ( | owner | ) |
Definition at line 261 of file _sensor_grenade.gsc.
References DECOY_SPAWN_RADIUS, IsEnemyPlayer(), and watch_decoy().
Referenced by onSpawnSensorGrenade().
function watchForExplode | ( | owner | ) |
Definition at line 84 of file _sensor_grenade.gsc.
References checkForTracking().
Referenced by onSpawnSensorGrenade().
function watchForStationary | ( | owner | ) |
Definition at line 71 of file _sensor_grenade.gsc.
References checkForTracking().
Referenced by onSpawnSensorGrenade().
function watchSensorGrenadeDamage | ( | watcher | ) |
Definition at line 176 of file _sensor_grenade.gsc.
References damage(), doDamageFeedback(), isHacked(), stunStart(), update(), and waitAndDetonate().