![]() |
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 | HEAD_SIGHT_CHECK_RATING 3 |
#define | MAX_TARGET_RATING ( ORIGIN_SIGHT_CHECK_RATING + NOT_IN_BUILDING_RATING + HEAD_SIGHT_CHECK_RATING ) |
#define | MIN_TARGET_RATING 3 |
#define | NOT_IN_BUILDING_RATING 2 |
#define | ORIGIN_SIGHT_CHECK_RATING 4 |
Functions | |
function | check_target_lost (target) |
function | checkForEmp () |
function | checkWeaponChange (hardpointType, team, killstreak_id) |
function | clearInvalidDroneTarget () |
function | doMissileDrone (origin, weapon, killstreak_id, hardpointType, team) |
function | drone_target_acquired (hardpointType, target) |
function | drone_target_search (hardpointType) |
function | get_array_sorted_dot_prod (array, minCos) |
function | init () |
function | killstreak_stop_think (killstreak_id, hardpointType, team) |
function | missile_drone_killstreak (killstreakType) |
function | missileDroneWatcher (hardpointType) |
function | projectile_death_think () |
function | projectile_find_target (owner, minCos) |
function | projectile_find_target_killstreak (owner, minCos) |
function | projectile_find_target_player (owner, minCos) |
function | set_drone_target (hardpointType, target) |
function | updateTargetting () |
function | useMissileDrone (hardpointType) |
function | vecscale (vec, scalar) |
function | waitThenDelete (waitTime) |
function | watchDamage () |
function | watchOwnerDeath (hardpointType, team, killstreak_id) |
#define HEAD_SIGHT_CHECK_RATING 3 |
Definition at line 433 of file _missile_drone.gsc.
#define MAX_TARGET_RATING ( ORIGIN_SIGHT_CHECK_RATING + NOT_IN_BUILDING_RATING + HEAD_SIGHT_CHECK_RATING ) |
Definition at line 435 of file _missile_drone.gsc.
#define MIN_TARGET_RATING 3 |
Definition at line 436 of file _missile_drone.gsc.
#define NOT_IN_BUILDING_RATING 2 |
Definition at line 434 of file _missile_drone.gsc.
#define ORIGIN_SIGHT_CHECK_RATING 4 |
Definition at line 432 of file _missile_drone.gsc.
function check_target_lost | ( | target | ) |
Definition at line 306 of file _missile_drone.gsc.
References debug_line(), and debug_star().
Referenced by set_drone_target().
function checkForEmp | ( | ) |
Definition at line 584 of file _missile_drone.gsc.
References MISSILE_DRONE_TARGET_DISABLED, set_to_player(), and switch_to_last_non_killstreak_weapon().
Referenced by missileDroneWatcher().
function checkWeaponChange | ( | hardpointType | , |
team | , | ||
killstreak_id | |||
) |
Definition at line 559 of file _missile_drone.gsc.
References killstreakStop(), MISSILE_DRONE_TARGET_DISABLED, and set_to_player().
Referenced by missileDroneWatcher().
function clearInvalidDroneTarget | ( | ) |
Definition at line 730 of file _missile_drone.gsc.
References waittill_any().
Referenced by updateTargetting().
function doMissileDrone | ( | origin | , |
weapon | , | ||
killstreak_id | , | ||
hardpointType | , | ||
team | |||
) |
Definition at line 149 of file _missile_drone.gsc.
References debug_line(), drone_target_search(), killstreak_stop_think(), projectile_abort_think(), projectile_death_think(), projectile_spawn_utility(), set(), and watchDamage().
Referenced by missileDroneWatcher().
function drone_target_acquired | ( | hardpointType | , |
target | |||
) |
Definition at line 192 of file _missile_drone.gsc.
References set(), and set_drone_target().
Referenced by drone_target_search().
function drone_target_search | ( | hardpointType | ) |
Definition at line 201 of file _missile_drone.gsc.
References debug_line(), drone_target_acquired(), projectile_find_target(), set(), set_drone_target(), and vecscale().
Referenced by doMissileDrone().
function get_array_sorted_dot_prod | ( | array | , |
minCos | |||
) |
Definition at line 628 of file _missile_drone.gsc.
References array, and change().
Referenced by projectile_find_target_killstreak(), and projectile_find_target_player().
function init | ( | ) |
Definition at line 33 of file _missile_drone.gsc.
References register(), and VERSION_SHIP.
function killstreak_stop_think | ( | killstreak_id | , |
hardpointType | , | ||
team | |||
) |
Definition at line 552 of file _missile_drone.gsc.
References killstreakStop().
Referenced by doMissileDrone().
function missile_drone_killstreak | ( | killstreakType | ) |
Definition at line 50 of file _missile_drone.gsc.
References result(), and useMissileDrone().
function missileDroneWatcher | ( | hardpointType | ) |
Definition at line 109 of file _missile_drone.gsc.
References checkForEmp(), checkWeaponChange(), DisplayKillstreakTeamMessageToAll(), doMissileDrone(), killstreakStart(), MISSILE_DRONE_TARGET_DISABLED, play_killstreak_start_dialog(), set_to_player(), switch_to_last_non_killstreak_weapon(), updateTargetting(), waitThenDelete(), and watchOwnerDeath().
Referenced by useMissileDrone().
function projectile_death_think | ( | ) |
Definition at line 186 of file _missile_drone.gsc.
Referenced by doMissileDrone().
function projectile_find_target | ( | owner | , |
minCos | |||
) |
Definition at line 341 of file _missile_drone.gsc.
References projectile_find_target_killstreak(), and projectile_find_target_player().
Referenced by drone_target_search(), and updateTargetting().
function projectile_find_target_killstreak | ( | owner | , |
minCos | |||
) |
Definition at line 368 of file _missile_drone.gsc.
References dog_manager_get_dogs(), and get_array_sorted_dot_prod().
Referenced by projectile_find_target().
function projectile_find_target_player | ( | owner | , |
minCos | |||
) |
Definition at line 438 of file _missile_drone.gsc.
References debug_line(), debug_star(), end(), get_array_sorted_dot_prod(), HEAD_SIGHT_CHECK_RATING, MAX_TARGET_RATING, MIN_TARGET_RATING, NOT_IN_BUILDING_RATING, ORIGIN_SIGHT_CHECK_RATING, and player_valid_target().
Referenced by projectile_find_target().
function set_drone_target | ( | hardpointType | , |
target | |||
) |
Definition at line 283 of file _missile_drone.gsc.
References check_target_lost(), debug_line(), set(), target_sounds(), and waittill_any().
Referenced by drone_target_acquired(), and drone_target_search().
function updateTargetting | ( | ) |
Definition at line 699 of file _missile_drone.gsc.
References clearInvalidDroneTarget(), MISSILE_DRONE_TARGET_ACTIVE, MISSILE_DRONE_TARGET_ENABLED, projectile_find_target(), and set_to_player().
Referenced by missileDroneWatcher().
function useMissileDrone | ( | hardpointType | ) |
Definition at line 68 of file _missile_drone.gsc.
References isKillstreakAllowed(), missileDroneWatcher(), and waittill_any_return().
Referenced by missile_drone_killstreak().
function vecscale | ( | vec | , |
scalar | |||
) |
Definition at line 278 of file _missile_drone.gsc.
Referenced by drone_target_search().
function waitThenDelete | ( | waitTime | ) |
Definition at line 176 of file _missile_drone.gsc.
Referenced by missileDroneWatcher().
function watchDamage | ( | ) |
Definition at line 598 of file _missile_drone.gsc.
References addFlySwatterStat(), damage(), detonate(), and IsEnemyPlayer().
Referenced by doMissileDrone().
function watchOwnerDeath | ( | hardpointType | , |
team | , | ||
killstreak_id | |||
) |
Definition at line 572 of file _missile_drone.gsc.
References killstreakStop().
Referenced by missileDroneWatcher().