![]()  | 
  
    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 | PLACEABLE_MOVEABLE_TIMEOUT_EXTENSION_TU1 5000 | 
| #define | TURRET_NAME "autoturret" | 
| #define | TURRET_SCAN_ANGLE_BUFFER 10 | 
| #define | TURRET_SCAN_WAIT 2.5 | 
Functions | |
| function | ActivateTurret () | 
| function | CreateTurretInfluencer (name) | 
| function | EnableTurretAfterWait (wait_time) | 
| function | EndTurretRemoteControl (turretVehicle, exitRequestedByOwner) | 
| function | HackedCallbackPost (hacker) | 
| function | HackedCallbackPre (hacker) | 
| function | init () | 
| function | InitTurret () | 
| function | OnCancelPlacement (turret) | 
| function | OnDeath (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime) | 
| function | OnDeathAfterFrameEnd (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime) | 
| function | OnPickupTurret (turret) | 
| function | OnPlaceTurret (turret) | 
| function | OnShutdown (turret) | 
| function | OnTurretDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, psOffsetTime, damageFromUnderneath, modelIndex, partName, vSurfaceNormal) | 
| function | OnTurretDeath (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime) | 
| function | play_deploy_anim () | 
| function | play_deploy_anim_after_wait (wait_time) | 
| function | setup_death_watch_for_new_targets () | 
| function | StartTurretRemoteControl (turretVehicle) | 
| function | target_death_watch (turretVehicle) | 
| function | turret_laser_watch () | 
| function | turret_watch_owner_events () | 
| function | TurretScanning () | 
| function | WatchTurretShutdown (killstreakId, team) | 
| #define PLACEABLE_MOVEABLE_TIMEOUT_EXTENSION_TU1 5000 | 
Definition at line 52 of file _turret.gsc.
| #define TURRET_NAME "autoturret" | 
Definition at line 49 of file _turret.gsc.
| #define TURRET_SCAN_ANGLE_BUFFER 10 | 
Definition at line 50 of file _turret.gsc.
| #define TURRET_SCAN_WAIT 2.5 | 
Definition at line 51 of file _turret.gsc.
| function ActivateTurret | ( | ) | 
Definition at line 115 of file _turret.gsc.
References ghost_wait_show_to_others(), ghost_wait_show_to_player(), INVALID_KILLSTREAK_ID, killstreakStart(), OnCancelPlacement(), OnPickupTurret(), OnPlaceTurret(), OnShutdown(), set(), SpawnPlaceable(), TURRET_DURATION, TURRET_INVALID_PLACEMENT_MODEL, TURRET_MODEL, TURRET_NAME, TURRET_PICKUP_TEXT, TURRET_VALID_PLACEMENT_MODEL, waittill_any_return(), and WatchTurretShutdown().
Referenced by init().
| function CreateTurretInfluencer | ( | name | ) | 
Definition at line 458 of file _turret.gsc.
References create_enemy_influencer(), and name.
Referenced by OnPlaceTurret(), and StartMicrowave().
| function EnableTurretAfterWait | ( | wait_time | ) | 
Definition at line 444 of file _turret.gsc.
References enable().
Referenced by EndTurretRemoteControl().
| function EndTurretRemoteControl | ( | turretVehicle | , | 
| exitRequestedByOwner | |||
| ) | 
Definition at line 428 of file _turret.gsc.
References deactivate(), EnableTurretAfterWait(), set(), and TURRET_VISIONSET_ALIAS.
Referenced by init().
| function HackedCallbackPost | ( | hacker | ) | 
Definition at line 234 of file _turret.gsc.
References set_vehicle_drivable_time_starting_now(), TURRET_NAME, and UseRemoteWeapon().
Referenced by OnPlaceTurret().
| function HackedCallbackPre | ( | hacker | ) | 
Definition at line 221 of file _turret.gsc.
References deactivate(), EndRemoteControlWeaponUse(), RemoveAndAssignNewRemoteControlTrigger(), set(), set_to_player(), and TURRET_VISIONSET_ALIAS.
Referenced by OnPlaceTurret().
| function init | ( | ) | 
Definition at line 56 of file _turret.gsc.
References ActivateTurret(), EndTurretRemoteControl(), InitTurret(), ramp_in_out_thread_per_player(), register(), register_alt_weapon(), register_dialog(), register_info(), register_remote_override_weapon(), register_strings(), RegisterRemoteWeapon(), StartTurretRemoteControl(), TURRET_HIDE_COMPASS_ON_REMOTE_CONTROL, TURRET_NAME, TURRET_REMOTE_TEXT, TURRET_VEHICLE_NAME, TURRET_VISIONSET_ALIAS, TURRET_VISIONSET_LERP_STEP_COUNT, and VERSION_SHIP.
| function InitTurret | ( | ) | 
Definition at line 80 of file _turret.gsc.
References ENEMY_VEHICLE_ACTIVE, get_max_health(), OnTurretDamage(), OnTurretDeath(), set(), set_max_target_distance(), set_min_target_distance_squared(), set_on_target_angle(), TURRET_HEALTH, TURRET_MAX_TARGET_DISTANCE, TURRET_NAME, TURRET_TARGET_ANGLE, and TURRET_WATCH_DEATH_DURATION.
Referenced by init().
| function OnCancelPlacement | ( | turret | ) | 
Definition at line 265 of file _turret.gsc.
Referenced by ActivateTurret().
| function OnDeath | ( | eInflictor | , | 
| eAttacker | , | ||
| iDamage | , | ||
| sMeansOfDeath | , | ||
| weapon | , | ||
| vDir | , | ||
| sHitLoc | , | ||
| psOffsetTime | |||
| ) | 
Definition at line 336 of file _turret.gsc.
References connect_paths(), death_fx(), destroyNonAirScoreStreak_PostStatsLock(), destroyScoreStreak(), disable(), ForceShutdown(), IsEnemyPlayer(), play_destroyed_dialog_on_owner(), play_taacom_dialog(), processScoreEvent(), WAIT_SERVER_FRAME, and waittill_any_timeout().
Referenced by OnDeathAfterFrameEnd(), and OnTurretDeath().
| function OnDeathAfterFrameEnd | ( | eInflictor | , | 
| eAttacker | , | ||
| iDamage | , | ||
| sMeansOfDeath | , | ||
| weapon | , | ||
| vDir | , | ||
| sHitLoc | , | ||
| psOffsetTime | |||
| ) | 
| function OnPickupTurret | ( | turret | ) | 
Definition at line 270 of file _turret.gsc.
References connect_paths(), disable(), and set().
Referenced by ActivateTurret().
| function OnPlaceTurret | ( | turret | ) | 
Definition at line 149 of file _turret.gsc.
References configure_team(), CreateTurretInfluencer(), disconnect_paths(), DisplayKillstreakTeamMessageToAll(), enable(), enable_hacking(), ghost_wait_show(), HackedCallbackPost(), HackedCallbackPre(), PLACEABLE_MOVEABLE_TIMEOUT_EXTENSION_TU1, play_deploy_anim(), play_killstreak_start_dialog(), set_target_leading(), set_team(), set_torso_targetting(), setup_death_watch_for_new_targets(), TURRET_DURATION, turret_laser_watch(), TURRET_NAME, TURRET_VEHICLE_NAME, turret_watch_owner_events(), TurretScanning(), and UseRemoteWeapon().
Referenced by ActivateTurret().
| function OnShutdown | ( | turret | ) | 
Definition at line 405 of file _turret.gsc.
Referenced by ActivateTurret(), and turret_watch_owner_events().
| function OnTurretDamage | ( | eInflictor | , | 
| eAttacker | , | ||
| iDamage | , | ||
| iDFlags | , | ||
| sMeansOfDeath | , | ||
| weapon | , | ||
| vPoint | , | ||
| vDir | , | ||
| sHitLoc | , | ||
| vDamageOrigin | , | ||
| psOffsetTime | , | ||
| damageFromUnderneath | , | ||
| modelIndex | , | ||
| partName | , | ||
| vSurfaceNormal | |||
| ) | 
Definition at line 298 of file _turret.gsc.
References OnDamagePerWeapon(), OnDeathAfterFrameEnd(), TURRET_EMP_DAMAGE_PERCENTAGE, TURRET_NAME, and update_damage_as_occupant().
Referenced by InitTurret().
| function OnTurretDeath | ( | eInflictor | , | 
| eAttacker | , | ||
| iDamage | , | ||
| sMeansOfDeath | , | ||
| weapon | , | ||
| vDir | , | ||
| sHitLoc | , | ||
| psOffsetTime | |||
| ) | 
| function play_deploy_anim | ( | ) | 
Definition at line 252 of file _turret.gsc.
References set().
Referenced by OnPlaceTurret(), and play_deploy_anim_after_wait().
| function play_deploy_anim_after_wait | ( | wait_time | ) | 
Definition at line 242 of file _turret.gsc.
References play_deploy_anim().
| function setup_death_watch_for_new_targets | ( | ) | 
Definition at line 531 of file _turret.gsc.
References target_death_watch().
Referenced by OnPlaceTurret().
| function StartTurretRemoteControl | ( | turretVehicle | ) | 
Definition at line 410 of file _turret.gsc.
References activate(), disable(), PLACEABLE_MOVEABLE_TIMEOUT_EXTENSION_TU1, set(), set_vehicle_drivable_time(), TURRET_DURATION, TURRET_VISIONSET_ALIAS, update_damage_as_occupant(), and VAL.
Referenced by init().
| function target_death_watch | ( | turretVehicle | ) | 
Definition at line 550 of file _turret.gsc.
References stop(), and waittill_any().
Referenced by setup_death_watch_for_new_targets().
| function turret_laser_watch | ( | ) | 
Definition at line 503 of file _turret.gsc.
References does_have_target(), and enable_laser().
Referenced by OnPlaceTurret().
| function turret_watch_owner_events | ( | ) | 
Definition at line 474 of file _turret.gsc.
References clear_using_remote(), OnShutdown(), set(), and waittill_any().
Referenced by OnPlaceTurret().
| function TurretScanning | ( | ) | 
Definition at line 562 of file _turret.gsc.
References _get_turret_data(), clear_target(), does_have_target(), TURRET_SCAN_ANGLE_BUFFER, and TURRET_SCAN_WAIT.
Referenced by OnPlaceTurret().
| function WatchTurretShutdown | ( | killstreakId | , | 
| team | |||
| ) | 
Definition at line 609 of file _turret.gsc.
References killstreakStop(), remove_influencers(), and TURRET_NAME.
Referenced by ActivateTurret().