![]() |
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 | MAX_PROJECTILE_WEAPONOBJECTS 4 |
Functions | |
function | add_supplemental_object (object) |
function | addWeaponObject (watcher, weapon_instance, weapon) |
function | addWeaponObjectToWatcher (watcherName, weapon_instance) |
function | anyObjectsInWorld (weapon) |
function | canHack (player, owner, weapon_check) |
function | claymoreDetonate (attacker, weapon, target) |
function | cleanupWatcherOnDeath (watcher) |
function | cleanUpWatchers () |
function | cleanWeaponObjectArray (watcher) |
function | clearFXOnDeath (fx) |
function | commonOnSpawnUseWeaponObject (watcher, owner) |
function | commonOnSpawnUseWeaponObjectProximityAlarm (watcher, owner) |
function | createBaseWatchers () |
function | createClaymoreWatcher () |
function | createDestroyHint (name, hint) |
function | createHackerHint (name, hint) |
function | createHatchetWatcher () |
function | createPlayerHelicopterWatcher () |
function | createProximityWeaponObjectWatcher (weaponname, ownerTeam) |
function | createQRDroneWatcher () |
function | createRCBombWatcher () |
function | createRetrievableHint (name, hint) |
function | createSpecialCrossbowWatcher () |
function | createSpecialCrossbowWatcherTypes (weaponName) |
function | createSpikeLauncherWatcher (weapon) |
function | createTactInsertWatcher () |
function | createUseWeaponObjectWatcher (weaponname, ownerTeam) |
function | createWeaponObjectWatcher (weaponname, ownerTeam) |
function | delayedSpikeDetonation (attacker, weapon) |
function | delete_on_notify (e_player) |
function | deleteEnt (attacker, emp, target) |
function | deleteOnDeath (ent) |
function | deleteOnKillbrush (player) |
function | deleteWeaponObjectArray () |
function | deleteWeaponObjectHelper (weapon_ent) |
function | deleteWeaponObjectInstance () |
function | deleteWeaponObjectsOn () |
function | destroy_other_teams_supplemental_watcher_objects (attacker, weapon) |
function | destroy_supplemental_watcher_objects (attacker, team, weapon) |
function | destroyEnt () |
function | detonateWeaponObjectArray (forceDetonation, weapon) |
function | detonateWhenStationary (object, delay, attacker, weapon) |
function | dieOnEntityDeath (entity, player) |
function | friendlyFireCheck (owner, attacker, forcedFriendlyFireRule) |
function | get_held_weapon_match_or_root_match (weapon) |
function | get_player_crossbow_weapon () |
function | getSpikeLauncherActiveSpikeCount (watcher) |
function | GetWatcherForWeapon (weapon) |
function | getWeaponObjectWatcher (name) |
function | getWeaponObjectWatcherByWeapon (weapon) |
function | hackerInit (watcher) |
function | hackerNotMoving () |
function | hackerRemoveWeapon (weapon_instance) |
function | hackerResult (player, owner) |
function | hackerThink (trigger, watcher) |
function | hackerTriggerSetVisibility (owner) |
function | hackerUnfreezePlayer (player) |
function | init_shared () |
function | isStunned () |
function | ItemHacked (watcher, player) |
function | on_player_connect () |
function | on_player_spawned () |
function | onDestroyed (attacker) |
function | onSpawnCrossbowBolt (watcher, player) |
function | onSpawnCrossbowBolt_internal (watcher, player) |
function | onSpawnCrossbowBoltImpact (s_watcher, e_player) |
function | onSpawnCrossbowBoltImpact_internal (s_watcher, e_player) |
function | onSpawnHatchet (watcher, player) |
function | onSpawnHatchetTrigger (watcher, player) |
function | onSpawnProximityWeaponObject (watcher, owner) |
function | onSpawnRetrievableWeaponObject (watcher, player) |
function | onSpawnSpecialCrossbowTrigger (watcher, player) |
function | onSpawnUseWeaponObject (watcher, owner) |
function | pickUp (player) |
function | pickUpCrossbowBolt (player, heldWeapon) |
function | playDialogOnDeath (owner) |
function | ProximityAlarmActivate (active, watcher) |
function | ProximityAlarmLoop (watcher, owner) |
function | proximityAlarmWeaponObjectDebug (watcher) |
function | proximitySphere (origin, innerRadius, inColor, outerRadius, outColor) |
function | proximityWeaponObject_ActivationDelay (watcher) |
function | proximityWeaponObject_CreateDamageArea (watcher) |
function | proximityWeaponObject_DoDetonation (watcher, ent, traceOrigin) |
function | proximityWeaponObject_IsSpawnProtected (watcher, ent) |
function | proximityWeaponObject_RemoveSpawnProtectOnDeath (ent) |
function | proximityWeaponObject_SpawnProtect (watcher, ent) |
function | proximityWeaponObject_ValidTriggerEntity (watcher, ent) |
function | proximityWeaponObject_WaitTillFrameEndAndDoDetonation (watcher, ent, traceOrigin) |
function | proximityWeaponObjectDebug (watcher) |
function | proximityWeaponObjectDetonation (watcher) |
function | removeWeaponObject (watcher, weapon_ent) |
function | resetWatchers () |
function | resetWeaponObjectExplodeThisFrame () |
function | resetWeaponObjectWatcher (watcher, ownerTeam) |
function | saydamaged (orig, amount) |
function | setIconPos (item, icon, heightIncrease) |
function | setupReconEffect () |
function | setUpRetrievableHintStrings () |
function | setupRetrievableWatcher () |
function | shouldAffectWeaponObject (object, watcher) |
function | showCone (angle, range, color) |
function | showHeadIcon (trigger) |
function | spikeDetonate (attacker, weapon, target) |
function | spikesDetonating (watcher) |
function | start_gametype () |
function | stunFxThink (fx) |
function | stunStart (watcher, time) |
function | stunStop () |
function | switch_team (entity, watcher, owner) |
function | testKillbrushOnStationary (a_killbrushes, player) |
function | updateDvars () |
function | useTeamEquipmentClientField (watcher) |
function | voidOnDamage (unused0) |
function | voidOnSpawn (unused0, unused1) |
function | voidOnSpawnRetrieveTriggers (unused0, unused1) |
function | voidPickUp (unused0, unused1) |
function | waitAndDetonate (object, delay, attacker, weapon) |
function | waitAndFizzleOut (object, delay) |
function | WasProximityAlarmActivatedBySelf () |
function | watch_supplemental_object_death () |
function | watchForDisconnectCleanUp () |
function | watchHatchetTrigger (trigger, callback, playerSoundOnUse, npcSoundOnUse) |
function | watchObjectDamage (owner) |
function | watchShutdown (player) |
function | watchSpecialCrossbowTrigger (trigger, callback, playerSoundOnUse, npcSoundOnUse) |
function | watchSpikeLauncherItemCountChanged (watcher) |
function | watchUseTrigger (trigger, callback, playerSoundOnUse, npcSoundOnUse) |
function | watchWeaponObjectAltDetonate () |
function | watchWeaponObjectAltDetonation () |
function | watchWeaponObjectDetonation () |
function | watchWeaponObjectSpawn (notify_type) |
function | watchWeaponObjectUsage () |
function | weapon_object_do_DamageFeedBack (weapon, attacker) |
function | weapon_object_timeout (watcher) |
function | weaponDetonate (attacker, weapon) |
function | weaponObjectDamage (watcher) |
function | weaponObjectDetectionMovable (ownerTeam) |
function | weaponObjectDetectionTrigger (ownerTeam) |
function | weaponObjectDetectionTrigger_wait (ownerTeam) |
function | weaponObjectFizzleOut () |
function | weaponStun () |
#define MAX_PROJECTILE_WEAPONOBJECTS 4 |
Definition at line 27 of file _weaponobjects.gsc.
function add_supplemental_object | ( | object | ) |
Definition at line 3571 of file _weaponobjects.gsc.
References watch_supplemental_object_death().
Referenced by spawn_firefly_mover().
function addWeaponObject | ( | watcher | , |
weapon_instance | , | ||
weapon | |||
) |
Definition at line 792 of file _weaponobjects.gsc.
References cleanupWatcherOnDeath(), delete_on_notify(), deleteOnKillbrush(), hackerInit(), playDialogOnDeath(), set(), setupReconEffect(), useTeamEquipmentClientField(), watchObjectDamage(), weapon_object_timeout(), and weaponObjectDamage().
Referenced by addWeaponObjectToWatcher(), and watchWeaponObjectSpawn().
function addWeaponObjectToWatcher | ( | watcherName | , |
weapon_instance | |||
) |
Definition at line 784 of file _weaponobjects.gsc.
References addWeaponObject(), and getWeaponObjectWatcher().
Referenced by createQRDrone().
function anyObjectsInWorld | ( | weapon | ) |
Definition at line 1690 of file _weaponobjects.gsc.
Referenced by ammo_pouch_think(), and scavenger_think().
function canHack | ( | player | , |
owner | , | ||
weapon_check | |||
) |
Definition at line 2109 of file _weaponobjects.gsc.
Referenced by hackerResult().
function claymoreDetonate | ( | attacker | , |
weapon | , | ||
target | |||
) |
Definition at line 546 of file _weaponobjects.gsc.
References destroyedExplosive(), IsEnemyPlayer(), processScoreEvent(), and weaponDetonate().
Referenced by createClaymoreWatcher().
function cleanupWatcherOnDeath | ( | watcher | ) |
Definition at line 865 of file _weaponobjects.gsc.
References delete_on_death(), deleteWeaponObjectInstance(), and removeWeaponObject().
Referenced by addWeaponObject().
function cleanUpWatchers | ( | ) |
Definition at line 2617 of file _weaponobjects.gsc.
References deleteWeaponObjectArray().
Referenced by deleteWeaponObjectsOn(), and watchForDisconnectCleanUp().
function cleanWeaponObjectArray | ( | watcher | ) |
Definition at line 917 of file _weaponobjects.gsc.
References remove_undefined().
Referenced by onSpawnCrossbowBoltImpact_internal(), and watchWeaponObjectSpawn().
function clearFXOnDeath | ( | fx | ) |
Definition at line 466 of file _weaponobjects.gsc.
References waittill_any().
function commonOnSpawnUseWeaponObject | ( | watcher | , |
owner | |||
) |
Definition at line 1323 of file _weaponobjects.gsc.
References setEntityHeadIcon(), and waitTillNotMoving().
Referenced by onSpawnProximityWeaponObject(), and onSpawnUseWeaponObject().
function commonOnSpawnUseWeaponObjectProximityAlarm | ( | watcher | , |
owner | |||
) |
Definition at line 1579 of file _weaponobjects.gsc.
References ProximityAlarmActivate(), ProximityAlarmLoop(), and proximityAlarmWeaponObjectDebug().
Referenced by onSpawnUseWeaponObject().
function createBaseWatchers | ( | ) |
Definition at line 226 of file _weaponobjects.gsc.
References createWeaponObjectWatcher().
Referenced by on_player_spawned(), and weaponobjects_on_player_connect_override_internal().
function createClaymoreWatcher | ( | ) |
Definition at line 425 of file _weaponobjects.gsc.
References claymoreDetonate(), createProximityWeaponObjectWatcher(), and weaponStun().
Referenced by on_player_spawned().
function createDestroyHint | ( | name | , |
hint | |||
) |
Definition at line 3445 of file _weaponobjects.gsc.
References name.
Referenced by setUpRetrievableHintStrings().
function createHackerHint | ( | name | , |
hint | |||
) |
Definition at line 3435 of file _weaponobjects.gsc.
References name.
Referenced by setUpRetrievableHintStrings().
function createHatchetWatcher | ( | ) |
Definition at line 294 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher(), deleteEnt(), onSpawnHatchet(), onSpawnHatchetTrigger(), and voidOnDamage().
Referenced by on_player_spawned().
function createPlayerHelicopterWatcher | ( | ) |
Definition at line 415 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher().
Referenced by on_player_spawned().
function createProximityWeaponObjectWatcher | ( | weaponname | , |
ownerTeam | |||
) |
Definition at line 1307 of file _weaponobjects.gsc.
References createWeaponObjectWatcher(), and onSpawnProximityWeaponObject().
Referenced by createBouncingBettyWatcher(), createClaymoreWatcher(), createFireflyPodWatcher(), createGadgetProximityGrenadeWatcher(), and createProximityGrenadeWatcher().
function createQRDroneWatcher | ( | ) |
Definition at line 325 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher().
Referenced by on_player_spawned().
function createRCBombWatcher | ( | ) |
Definition at line 309 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher().
Referenced by on_player_spawned().
function createRetrievableHint | ( | name | , |
hint | |||
) |
Definition at line 3425 of file _weaponobjects.gsc.
References name.
Referenced by add_mine_type(), and setUpRetrievableHintStrings().
function createSpecialCrossbowWatcher | ( | ) |
Definition at line 281 of file _weaponobjects.gsc.
References createSpecialCrossbowWatcherTypes(), and IS_TRUE.
Referenced by on_player_spawned().
function createSpecialCrossbowWatcherTypes | ( | weaponName | ) |
Definition at line 261 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher(), deleteEnt(), IS_TRUE, onSpawnCrossbowBolt(), onSpawnCrossbowBoltImpact(), onSpawnSpecialCrossbowTrigger(), pickUpCrossbowBolt(), voidOnDamage(), voidOnSpawnRetrieveTriggers(), and voidPickUp().
Referenced by createSpecialCrossbowWatcher().
function createSpikeLauncherWatcher | ( | weapon | ) |
Definition at line 393 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher(), spikeDetonate(), spikesDetonating(), watchSpikeLauncherItemCountChanged(), and weaponStun().
Referenced by on_player_spawned().
function createTactInsertWatcher | ( | ) |
Definition at line 303 of file _weaponobjects.gsc.
References createUseWeaponObjectWatcher().
Referenced by on_player_spawned().
function createUseWeaponObjectWatcher | ( | weaponname | , |
ownerTeam | |||
) |
Definition at line 1297 of file _weaponobjects.gsc.
References createWeaponObjectWatcher(), and onSpawnUseWeaponObject().
Referenced by create_incendiary_watcher(), create_watcher(), createAcousticSensorWatcher(), createBallisticKnifeWatcher(), createBallisticKnifeWatcher_zm(), createHatchetWatcher(), createPlayerHelicopterWatcher(), createQRDroneWatcher(), createRCBombWatcher(), createSatchelWatcher(), createScramblerWatcher(), createSensorGrenadeWatcher(), createSpecialCrossbowWatcherTypes(), createSpikeLauncherWatcher(), createTactInsertWatcher(), createThreatDetectorWatcher(), createTrophySystemWatcher(), and setup_watchers().
function createWeaponObjectWatcher | ( | weaponname | , |
ownerTeam | |||
) |
Definition at line 1233 of file _weaponobjects.gsc.
References getWeaponObjectWatcher(), resetWeaponObjectWatcher(), and weaponObjectFizzleOut().
Referenced by createBaseWatchers(), createProximityWeaponObjectWatcher(), and createUseWeaponObjectWatcher().
function delayedSpikeDetonation | ( | attacker | , |
weapon | |||
) |
Definition at line 508 of file _weaponobjects.gsc.
References weaponDetonate().
Referenced by spikeDetonate().
function delete_on_notify | ( | e_player | ) |
Definition at line 889 of file _weaponobjects.gsc.
Referenced by addWeaponObject().
function deleteEnt | ( | attacker | , |
emp | , | ||
target | |||
) |
Definition at line 461 of file _weaponobjects.gsc.
Referenced by createBallisticKnifeWatcher(), createHatchetWatcher(), createSpecialCrossbowWatcherTypes(), waitAndFizzleOut(), weapon_object_timeout(), and weaponObjectFizzleOut().
function deleteOnDeath | ( | ent | ) |
Definition at line 2450 of file _weaponobjects.gsc.
References waittill_any().
Referenced by proximityWeaponObject_CreateDamageArea().
function deleteOnKillbrush | ( | player | ) |
Definition at line 2494 of file _weaponobjects.gsc.
References SPAWNFLAG, SPAWNFLAG_TRIGGER_HURT_PLAYER_ONLY, and testKillbrushOnStationary().
Referenced by addWeaponObject().
function deleteWeaponObjectArray | ( | ) |
Definition at line 495 of file _weaponobjects.gsc.
References deleteWeaponObjectInstance().
Referenced by cleanUpWatchers(), and resetWeaponObjectWatcher().
function deleteWeaponObjectHelper | ( | weapon_ent | ) |
Definition at line 900 of file _weaponobjects.gsc.
References getWeaponObjectWatcherByWeapon(), and removeWeaponObject().
function deleteWeaponObjectInstance | ( | ) |
Definition at line 477 of file _weaponobjects.gsc.
Referenced by cleanupWatcherOnDeath(), and deleteWeaponObjectArray().
function deleteWeaponObjectsOn | ( | ) |
Definition at line 2658 of file _weaponobjects.gsc.
References cleanUpWatchers(), waittill_any_return(), and watchForDisconnectCleanUp().
Referenced by watchWeaponObjectUsage().
function destroy_other_teams_supplemental_watcher_objects | ( | attacker | , |
weapon | |||
) |
Definition at line 3519 of file _weaponobjects.gsc.
References destroy_supplemental_watcher_objects().
Referenced by EMP_JamEnemies().
function destroy_supplemental_watcher_objects | ( | attacker | , |
team | , | ||
weapon | |||
) |
Definition at line 3537 of file _weaponobjects.gsc.
Referenced by destroy_other_teams_supplemental_watcher_objects().
function destroyEnt | ( | ) |
Definition at line 3257 of file _weaponobjects.gsc.
Referenced by pickUp(), and pickUpCrossbowBolt().
function detonateWeaponObjectArray | ( | forceDetonation | , |
weapon | |||
) |
Definition at line 736 of file _weaponobjects.gsc.
References detonateWhenStationary(), isHacked(), and waitAndDetonate().
Referenced by watchWeaponObjectAltDetonation(), and watchWeaponObjectDetonation().
function detonateWhenStationary | ( | object | , |
delay | , | ||
attacker | , | ||
weapon | |||
) |
Definition at line 598 of file _weaponobjects.gsc.
References delay(), and waitAndDetonate().
Referenced by detonateWeaponObjectArray().
function dieOnEntityDeath | ( | entity | , |
player | |||
) |
Definition at line 2819 of file _weaponobjects.gsc.
Referenced by onSpawnCrossbowBolt_internal().
function friendlyFireCheck | ( | owner | , |
attacker | , | ||
forcedFriendlyFireRule | |||
) |
Definition at line 2733 of file _weaponobjects.gsc.
Referenced by armor_should_take_damage(), heli_damage_monitor(), lightninggun_find_arc_targets(), MicrowaveTurretAffectsEntity(), MonitorDamage(), OnDamagePerWeapon(), ProximityAlarmLoop(), proximityGrenadeChain(), proximityWeaponObject_ValidTriggerEntity(), remote_damage_think(), and weaponObjectDamage().
function get_held_weapon_match_or_root_match | ( | weapon | ) |
Definition at line 3093 of file _weaponobjects.gsc.
Referenced by pickUp(), and watchHatchetTrigger().
function get_player_crossbow_weapon | ( | ) |
Definition at line 3116 of file _weaponobjects.gsc.
Referenced by watchSpecialCrossbowTrigger().
function getSpikeLauncherActiveSpikeCount | ( | watcher | ) |
Definition at line 342 of file _weaponobjects.gsc.
Referenced by spikesDetonating(), and watchSpikeLauncherItemCountChanged().
function GetWatcherForWeapon | ( | weapon | ) |
Definition at line 3492 of file _weaponobjects.gsc.
function getWeaponObjectWatcher | ( | name | ) |
Definition at line 1176 of file _weaponobjects.gsc.
References name.
Referenced by addWeaponObjectToWatcher(), createWeaponObjectWatcher(), QRDrone_death(), QRDrone_detonateWaiter(), QRDrone_explode_on_game_end(), QRDrone_explode_on_notify(), QRDrone_force_destroy(), QRDrone_leave_on_timeout(), QRDrone_leave_on_timeout_callback(), QRDrone_rangeCountdown(), QRDrone_watch_for_exit(), and touchedKillbrush().
function getWeaponObjectWatcherByWeapon | ( | weapon | ) |
Definition at line 1194 of file _weaponobjects.gsc.
Referenced by deleteWeaponObjectHelper(), getWeaponObjectHackerRadius(), getWeaponObjectHackTimeMs(), isEntityHackableWeaponObject(), setupRetrievableWatcher(), spawnTacticalInsertion(), watchWeaponObjectDetonation(), and watchWeaponObjectSpawn().
function hackerInit | ( | watcher | ) |
Definition at line 1880 of file _weaponobjects.gsc.
References hackerNotMoving(), hackerThink(), hackerTriggerSetVisibility(), spawn(), and waittill_any_return().
Referenced by addWeaponObject().
function hackerNotMoving | ( | ) |
Definition at line 1873 of file _weaponobjects.gsc.
References waitTillNotMoving().
Referenced by hackerInit().
function hackerRemoveWeapon | ( | weapon_instance | ) |
Definition at line 2188 of file _weaponobjects.gsc.
References removeWeaponObject().
Referenced by ItemHacked().
function hackerResult | ( | player | , |
owner | |||
) |
Definition at line 2029 of file _weaponobjects.gsc.
References canHack(), createPrimaryProgressBar(), createPrimaryProgressBarText(), destroyElem(), freeze_player_controls(), hackerUnfreezePlayer(), showElem(), updateBar(), and WAIT_SERVER_FRAME.
Referenced by hackerThink().
function hackerThink | ( | trigger | , |
watcher | |||
) |
Definition at line 1927 of file _weaponobjects.gsc.
References hackerResult(), and ItemHacked().
Referenced by hackerInit().
function hackerTriggerSetVisibility | ( | owner | ) |
Definition at line 1843 of file _weaponobjects.gsc.
References waittill_any().
Referenced by hackerInit().
function hackerUnfreezePlayer | ( | player | ) |
Definition at line 2017 of file _weaponobjects.gsc.
References freeze_player_controls().
Referenced by hackerResult().
function init_shared | ( | ) |
Definition at line 65 of file _weaponobjects.gsc.
References on_start_gametype(), register(), start_gametype(), updateDvars(), and VERSION_SHIP.
Referenced by __init__().
function isStunned | ( | ) |
Definition at line 1156 of file _weaponobjects.gsc.
Referenced by stunStart().
function ItemHacked | ( | watcher | , |
player | |||
) |
Definition at line 1947 of file _weaponobjects.gsc.
References ammo_weapon_hacked(), hackedOrDestroyedEquipment(), hackerRemoveWeapon(), processScoreEvent(), ProximityAlarmActivate(), set(), WAIT_SERVER_FRAME, and waitAndDetonate().
Referenced by hackerThink(), and switch_team().
function on_player_connect | ( | ) |
Definition at line 161 of file _weaponobjects.gsc.
Referenced by start_gametype().
function on_player_spawned | ( | ) |
Definition at line 173 of file _weaponobjects.gsc.
References ammo_reset(), callback_weapon_watcher(), createBaseWatchers(), createClaymoreWatcher(), createFireflyPodWatcher(), createHatchetWatcher(), createPlayerHelicopterWatcher(), createQRDroneWatcher(), createRCBombWatcher(), createSpecialCrossbowWatcher(), createTactInsertWatcher(), resetWatchers(), setupRetrievableWatcher(), and watchWeaponObjectUsage().
function onDestroyed | ( | attacker | ) |
Definition at line 3332 of file _weaponobjects.gsc.
Referenced by setupRetrievableWatcher().
function onSpawnCrossbowBolt | ( | watcher | , |
player | |||
) |
Definition at line 2790 of file _weaponobjects.gsc.
References onSpawnCrossbowBolt_internal().
Referenced by createSpecialCrossbowWatcherTypes().
function onSpawnCrossbowBolt_internal | ( | watcher | , |
player | |||
) |
Definition at line 2796 of file _weaponobjects.gsc.
References dieOnEntityDeath().
Referenced by onSpawnCrossbowBolt().
function onSpawnCrossbowBoltImpact | ( | s_watcher | , |
e_player | |||
) |
Definition at line 2834 of file _weaponobjects.gsc.
References onSpawnCrossbowBoltImpact_internal().
Referenced by createSpecialCrossbowWatcherTypes().
function onSpawnCrossbowBoltImpact_internal | ( | s_watcher | , |
e_player | |||
) |
Definition at line 2841 of file _weaponobjects.gsc.
References cleanWeaponObjectArray(), and waitAndFizzleOut().
Referenced by onSpawnCrossbowBoltImpact().
function onSpawnHatchet | ( | watcher | , |
player | |||
) |
Definition at line 2782 of file _weaponobjects.gsc.
Referenced by createHatchetWatcher().
function onSpawnHatchetTrigger | ( | watcher | , |
player | |||
) |
Definition at line 2965 of file _weaponobjects.gsc.
References launch(), set(), spawn(), switch_team(), waitTillNotMoving(), watchHatchetTrigger(), and watchShutdown().
Referenced by createHatchetWatcher().
function onSpawnProximityWeaponObject | ( | watcher | , |
owner | |||
) |
Definition at line 1603 of file _weaponobjects.gsc.
References commonOnSpawnUseWeaponObject(), proximityWeaponObjectDebug(), and proximityWeaponObjectDetonation().
Referenced by createProximityWeaponObjectWatcher(), on_spawn_firefly_pod(), onSpawnBouncingBetty(), and onSpawnProximityGrenadeWeaponObject().
function onSpawnRetrievableWeaponObject | ( | watcher | , |
player | |||
) |
Definition at line 3135 of file _weaponobjects.gsc.
References isHacked(), set(), spawn(), switch_team(), waitTillNotMoving(), watchShutdown(), and watchUseTrigger().
Referenced by on_spawn_retrieve_trigger(), and setupRetrievableWatcher().
function onSpawnSpecialCrossbowTrigger | ( | watcher | , |
player | |||
) |
Definition at line 2861 of file _weaponobjects.gsc.
References launch(), set(), spawn(), switch_team(), waitTillNotMoving(), watchShutdown(), and watchSpecialCrossbowTrigger().
Referenced by createSpecialCrossbowWatcherTypes().
function onSpawnUseWeaponObject | ( | watcher | , |
owner | |||
) |
Definition at line 1597 of file _weaponobjects.gsc.
References commonOnSpawnUseWeaponObject(), and commonOnSpawnUseWeaponObjectProximityAlarm().
Referenced by createUseWeaponObjectWatcher(), on_spawn(), onSpawnAcousticSensor(), onSpawnScrambler(), onSpawnSensorGrenade(), onSpawnThreatDetector(), onTrophySystemSpawn(), and satchelSpawn().
function pickUp | ( | player | ) |
Definition at line 3262 of file _weaponobjects.gsc.
References ammo_weapon_pickup(), destroyEnt(), and get_held_weapon_match_or_root_match().
Referenced by setupRetrievableWatcher().
function pickUpCrossbowBolt | ( | player | , |
heldWeapon | |||
) |
Definition at line 3320 of file _weaponobjects.gsc.
References destroyEnt().
Referenced by createSpecialCrossbowWatcherTypes().
function playDialogOnDeath | ( | owner | ) |
Definition at line 1038 of file _weaponobjects.gsc.
Referenced by addWeaponObject().
function ProximityAlarmActivate | ( | active | , |
watcher | |||
) |
Definition at line 1377 of file _weaponobjects.gsc.
References get_to_player(), PROXIMITY_ALARM_DEPLOYED, PROXIMITY_ALARM_OFF, PROXIMITY_ALARM_ON, set_player_uimodel(), set_to_player(), and WasProximityAlarmActivatedBySelf().
Referenced by commonOnSpawnUseWeaponObjectProximityAlarm(), ItemHacked(), and ProximityAlarmLoop().
function ProximityAlarmLoop | ( | watcher | , |
owner | |||
) |
Definition at line 1402 of file _weaponobjects.gsc.
References friendlyFireCheck(), IS_TRUE, isUsingRemote(), PROXIMITY_ALARM_DEPLOYED, ProximityAlarmActivate(), set_player_uimodel(), set_to_player(), and waitTillNotMoving().
Referenced by commonOnSpawnUseWeaponObjectProximityAlarm().
function proximityAlarmWeaponObjectDebug | ( | watcher | ) |
Definition at line 1728 of file _weaponobjects.gsc.
References proximitySphere(), and waitTillNotMoving().
Referenced by commonOnSpawnUseWeaponObjectProximityAlarm().
function proximitySphere | ( | origin | , |
innerRadius | , | ||
inColor | , | ||
outerRadius | , | ||
outColor | |||
) |
Definition at line 1708 of file _weaponobjects.gsc.
References debug_sphere().
Referenced by proximityAlarmWeaponObjectDebug(), and proximityWeaponObjectDebug().
function proximityWeaponObject_ActivationDelay | ( | watcher | ) |
Definition at line 2349 of file _weaponobjects.gsc.
References waitTillNotMoving().
Referenced by proximityWeaponObjectDetonation(), and proximityWeaponObjectDetonation_override().
function proximityWeaponObject_CreateDamageArea | ( | watcher | ) |
Definition at line 2204 of file _weaponobjects.gsc.
References deleteOnDeath(), and spawn().
Referenced by proximityWeaponObjectDetonation(), and proximityWeaponObjectDetonation_override().
function proximityWeaponObject_DoDetonation | ( | watcher | , |
ent | , | ||
traceOrigin | |||
) |
Definition at line 2315 of file _weaponobjects.gsc.
References setEntityHeadIcon().
Referenced by proximityWeaponObject_WaitTillFrameEndAndDoDetonation(), and proximityWeaponObjectDetonation_override().
function proximityWeaponObject_IsSpawnProtected | ( | watcher | , |
ent | |||
) |
Definition at line 2291 of file _weaponobjects.gsc.
References is_spawn_protected(), and proximityWeaponObject_SpawnProtect().
Referenced by proximityWeaponObjectDetonation(), and proximityWeaponObjectDetonation_override().
function proximityWeaponObject_RemoveSpawnProtectOnDeath | ( | ent | ) |
Definition at line 2257 of file _weaponobjects.gsc.
References waittill_any().
Referenced by proximityWeaponObject_SpawnProtect().
function proximityWeaponObject_SpawnProtect | ( | watcher | , |
ent | |||
) |
Definition at line 2266 of file _weaponobjects.gsc.
References proximityWeaponObject_RemoveSpawnProtectOnDeath().
Referenced by proximityWeaponObject_IsSpawnProtected().
function proximityWeaponObject_ValidTriggerEntity | ( | watcher | , |
ent | |||
) |
Definition at line 2215 of file _weaponobjects.gsc.
References friendlyFireCheck(), IS_TRUE, and shouldAffectWeaponObject().
Referenced by proximityWeaponObjectDetonation(), and proximityWeaponObjectDetonation_override().
function proximityWeaponObject_WaitTillFrameEndAndDoDetonation | ( | watcher | , |
ent | , | ||
traceOrigin | |||
) |
Definition at line 2359 of file _weaponobjects.gsc.
References proximityWeaponObject_DoDetonation().
Referenced by proximityWeaponObjectDetonation().
function proximityWeaponObjectDebug | ( | watcher | ) |
Definition at line 1742 of file _weaponobjects.gsc.
References proximitySphere(), showCone(), and waitTillNotMoving().
Referenced by onSpawnProximityWeaponObject().
function proximityWeaponObjectDetonation | ( | watcher | ) |
Definition at line 2389 of file _weaponobjects.gsc.
References proximityWeaponObject_ActivationDelay(), proximityWeaponObject_CreateDamageArea(), proximityWeaponObject_IsSpawnProtected(), proximityWeaponObject_ValidTriggerEntity(), and proximityWeaponObject_WaitTillFrameEndAndDoDetonation().
Referenced by onSpawnProximityWeaponObject().
function removeWeaponObject | ( | watcher | , |
weapon_ent | |||
) |
Definition at line 911 of file _weaponobjects.gsc.
References remove_undefined().
Referenced by cleanupWatcherOnDeath(), deleteWeaponObjectHelper(), hackerRemoveWeapon(), and is_equipment_touching_crate().
function resetWatchers | ( | ) |
Definition at line 211 of file _weaponobjects.gsc.
References resetWeaponObjectWatcher().
Referenced by on_player_spawned().
function resetWeaponObjectExplodeThisFrame | ( | ) |
Definition at line 1170 of file _weaponobjects.gsc.
Referenced by weaponObjectDamage().
function resetWeaponObjectWatcher | ( | watcher | , |
ownerTeam | |||
) |
Definition at line 1221 of file _weaponobjects.gsc.
References deleteWeaponObjectArray().
Referenced by createWeaponObjectWatcher(), and resetWatchers().
function saydamaged | ( | orig | , |
amount | |||
) |
Definition at line 2681 of file _weaponobjects.gsc.
function setIconPos | ( | item | , |
icon | , | ||
heightIncrease | |||
) |
Definition at line 1809 of file _weaponobjects.gsc.
function setupReconEffect | ( | ) |
Definition at line 3455 of file _weaponobjects.gsc.
References ENEMY_EQUIPMENT_SHADER_ACTIVE, IS_TRUE, and set().
Referenced by addWeaponObject(), and spawnTacticalInsertion().
function setUpRetrievableHintStrings | ( | ) |
Definition at line 135 of file _weaponobjects.gsc.
References createDestroyHint(), createHackerHint(), and createRetrievableHint().
Referenced by start_gametype().
function setupRetrievableWatcher | ( | ) |
Definition at line 241 of file _weaponobjects.gsc.
References getWeaponObjectWatcherByWeapon(), onDestroyed(), onSpawnRetrievableWeaponObject(), and pickUp().
Referenced by on_player_spawned(), and weaponobjects_on_player_connect_override_internal().
function shouldAffectWeaponObject | ( | object | , |
watcher | |||
) |
Definition at line 2419 of file _weaponobjects.gsc.
Referenced by proximityWeaponObject_ValidTriggerEntity().
function showCone | ( | angle | , |
range | , | ||
color | |||
) |
Definition at line 1764 of file _weaponobjects.gsc.
Referenced by proximityWeaponObjectDebug().
function showHeadIcon | ( | trigger | ) |
Definition at line 2692 of file _weaponobjects.gsc.
References WAIT_SERVER_FRAME.
function spikeDetonate | ( | attacker | , |
weapon | , | ||
target | |||
) |
Definition at line 528 of file _weaponobjects.gsc.
References delayedSpikeDetonation(), and IsEnemyPlayer().
Referenced by createSpikeLauncherWatcher().
function spikesDetonating | ( | watcher | ) |
Definition at line 381 of file _weaponobjects.gsc.
References getSpikeLauncherActiveSpikeCount().
Referenced by createSpikeLauncherWatcher().
function start_gametype | ( | ) |
Definition at line 96 of file _weaponobjects.gsc.
References on_connect(), on_player_connect(), on_player_spawned(), on_spawned(), and setUpRetrievableHintStrings().
function stunFxThink | ( | fx | ) |
Definition at line 1149 of file _weaponobjects.gsc.
References waittill_any().
Referenced by weaponStun().
function stunStart | ( | watcher | , |
time | |||
) |
Definition at line 1077 of file _weaponobjects.gsc.
References freeze_player_controls(), isStunned(), and stunStop().
Referenced by spawnTacticalInsertion(), watchAcousticSensorDamage(), watchScramblerDamage(), watchSensorGrenadeDamage(), watchThreatDetectorDamage(), watchTrophySystemDamage(), and weaponObjectDamage().
function stunStop | ( | ) |
Definition at line 1118 of file _weaponobjects.gsc.
Referenced by stunStart().
function switch_team | ( | entity | , |
watcher | , | ||
owner | |||
) |
Definition at line 3584 of file _weaponobjects.gsc.
References ItemHacked().
Referenced by onSpawnHatchetTrigger(), onSpawnRetrievableWeaponObject(), and onSpawnSpecialCrossbowTrigger().
function testKillbrushOnStationary | ( | a_killbrushes | , |
player | |||
) |
Definition at line 2458 of file _weaponobjects.gsc.
References SPAWNFLAG, and SPAWNFLAG_TRIGGER_HURT_PLAYER_ONLY.
Referenced by deleteOnKillbrush().
function updateDvars | ( | ) |
Definition at line 86 of file _weaponobjects.gsc.
Referenced by init_shared().
function useTeamEquipmentClientField | ( | watcher | ) |
Definition at line 3473 of file _weaponobjects.gsc.
Referenced by addWeaponObject().
function voidOnDamage | ( | unused0 | ) |
Definition at line 449 of file _weaponobjects.gsc.
Referenced by createHatchetWatcher(), and createSpecialCrossbowWatcherTypes().
function voidOnSpawn | ( | unused0 | , |
unused1 | |||
) |
Definition at line 445 of file _weaponobjects.gsc.
function voidOnSpawnRetrieveTriggers | ( | unused0 | , |
unused1 | |||
) |
Definition at line 453 of file _weaponobjects.gsc.
Referenced by createSpecialCrossbowWatcherTypes().
function voidPickUp | ( | unused0 | , |
unused1 | |||
) |
Definition at line 457 of file _weaponobjects.gsc.
Referenced by createSpecialCrossbowWatcherTypes().
function waitAndDetonate | ( | object | , |
delay | , | ||
attacker | , | ||
weapon | |||
) |
Definition at line 615 of file _weaponobjects.gsc.
References delay(), IS_TRUE, and WAIT_SERVER_FRAME.
Referenced by DestroyEquipment(), detonateWeaponObjectArray(), detonateWhenStationary(), is_equipment_touching_crate(), ItemHacked(), QRDrone_death(), QRDrone_detonateWaiter(), QRDrone_explode_on_game_end(), QRDrone_explode_on_notify(), QRDrone_force_destroy(), QRDrone_leave_on_timeout(), QRDrone_leave_on_timeout_callback(), QRDrone_rangeCountdown(), QRDrone_watch_for_exit(), touchedKillbrush(), watchAcousticSensorDamage(), watchScramblerDamage(), watchSensorGrenadeDamage(), watchThreatDetectorDamage(), watchTrophySystemDamage(), and weaponObjectDamage().
function waitAndFizzleOut | ( | object | , |
delay | |||
) |
Definition at line 707 of file _weaponobjects.gsc.
References delay(), and deleteEnt().
Referenced by onSpawnCrossbowBoltImpact_internal(), and watchWeaponObjectSpawn().
function WasProximityAlarmActivatedBySelf | ( | ) |
Definition at line 1372 of file _weaponobjects.gsc.
Referenced by ProximityAlarmActivate().
function watch_supplemental_object_death | ( | ) |
Definition at line 3577 of file _weaponobjects.gsc.
Referenced by add_supplemental_object().
function watchForDisconnectCleanUp | ( | ) |
Definition at line 2651 of file _weaponobjects.gsc.
References cleanUpWatchers().
Referenced by deleteWeaponObjectsOn().
function watchHatchetTrigger | ( | trigger | , |
callback | , | ||
playerSoundOnUse | , | ||
npcSoundOnUse | |||
) |
Definition at line 3037 of file _weaponobjects.gsc.
References callback(), and get_held_weapon_match_or_root_match().
Referenced by onSpawnHatchetTrigger().
function watchObjectDamage | ( | owner | ) |
Definition at line 1055 of file _weaponobjects.gsc.
References damage().
Referenced by addWeaponObject().
function watchShutdown | ( | player | ) |
Definition at line 3345 of file _weaponobjects.gsc.
References destroyElem(), and waittill_any().
Referenced by onSpawnHatchetTrigger(), onSpawnRetrievableWeaponObject(), and onSpawnSpecialCrossbowTrigger().
function watchSpecialCrossbowTrigger | ( | trigger | , |
callback | , | ||
playerSoundOnUse | , | ||
npcSoundOnUse | |||
) |
Definition at line 2933 of file _weaponobjects.gsc.
References callback(), and get_player_crossbow_weapon().
Referenced by onSpawnSpecialCrossbowTrigger().
function watchSpikeLauncherItemCountChanged | ( | watcher | ) |
Definition at line 356 of file _weaponobjects.gsc.
References getSpikeLauncherActiveSpikeCount().
Referenced by createSpikeLauncherWatcher().
function watchUseTrigger | ( | trigger | , |
callback | , | ||
playerSoundOnUse | , | ||
npcSoundOnUse | |||
) |
Definition at line 3376 of file _weaponobjects.gsc.
References callback().
Referenced by onSpawnRetrievableWeaponObject().
function watchWeaponObjectAltDetonate | ( | ) |
Definition at line 2565 of file _weaponobjects.gsc.
References isUsingRemote(), and WAIT_SERVER_FRAME.
Referenced by watchWeaponObjectUsage().
function watchWeaponObjectAltDetonation | ( | ) |
Definition at line 2541 of file _weaponobjects.gsc.
References detonateWeaponObjectArray(), and isUsingRemote().
Referenced by watchWeaponObjectUsage().
function watchWeaponObjectDetonation | ( | ) |
Definition at line 2586 of file _weaponobjects.gsc.
References detonateWeaponObjectArray(), and getWeaponObjectWatcherByWeapon().
Referenced by watchWeaponObjectUsage().
function watchWeaponObjectSpawn | ( | notify_type | ) |
Definition at line 1645 of file _weaponobjects.gsc.
References addWeaponObject(), cleanWeaponObjectArray(), getWeaponObjectWatcherByWeapon(), IS_BONUSZM, IS_TRUE, isHacked(), and waitAndFizzleOut().
Referenced by watchWeaponObjectUsage().
function watchWeaponObjectUsage | ( | ) |
Definition at line 1626 of file _weaponobjects.gsc.
References deleteWeaponObjectsOn(), watchWeaponObjectAltDetonate(), watchWeaponObjectAltDetonation(), watchWeaponObjectDetonation(), and watchWeaponObjectSpawn().
Referenced by mechzSpawnSetup(), and on_player_spawned().
function weapon_object_do_DamageFeedBack | ( | weapon | , |
attacker | |||
) |
Definition at line 922 of file _weaponobjects.gsc.
References doDamageFeedback(), and update().
Referenced by weaponObjectDamage().
function weapon_object_timeout | ( | watcher | ) |
Definition at line 880 of file _weaponobjects.gsc.
References deleteEnt().
Referenced by addWeaponObject().
function weaponDetonate | ( | attacker | , |
weapon | |||
) |
Definition at line 563 of file _weaponobjects.gsc.
Referenced by claymoreDetonate(), delayedSpikeDetonation(), proximityDetonate(), and satchelDetonate().
function weaponObjectDamage | ( | watcher | ) |
Definition at line 944 of file _weaponobjects.gsc.
References damage(), friendlyFireCheck(), IDFLAGS_PENETRATION, resetWeaponObjectExplodeThisFrame(), setEntityHeadIcon(), stunStart(), waitAndDetonate(), and weapon_object_do_DamageFeedBack().
Referenced by addWeaponObject().
function weaponObjectDetectionMovable | ( | ownerTeam | ) |
Definition at line 1795 of file _weaponobjects.gsc.
function weaponObjectDetectionTrigger | ( | ownerTeam | ) |
Definition at line 1827 of file _weaponobjects.gsc.
References destroy(), spawn(), and waittill_any().
Referenced by weaponObjectDetectionTrigger_wait().
function weaponObjectDetectionTrigger_wait | ( | ownerTeam | ) |
Definition at line 1816 of file _weaponobjects.gsc.
References waitTillNotMoving(), and weaponObjectDetectionTrigger().
function weaponObjectFizzleOut | ( | ) |
Definition at line 1161 of file _weaponobjects.gsc.
References deleteEnt().
Referenced by createWeaponObjectWatcher().
function weaponStun | ( | ) |
Definition at line 1128 of file _weaponobjects.gsc.
References spawn(), and stunFxThink().
Referenced by createAcousticSensorWatcher(), createBouncingBettyWatcher(), createClaymoreWatcher(), createFireflyPodWatcher(), createGadgetProximityGrenadeWatcher(), createProximityGrenadeWatcher(), createSatchelWatcher(), createScramblerWatcher(), createSensorGrenadeWatcher(), createSpikeLauncherWatcher(), createThreatDetectorWatcher(), and createTrophySystemWatcher().