![]() |
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 | N_REVIVE_VISIBILITY_DELAY 2.0 |
#define | SHOW_LAST_STAND_PROGRESS_BAR false |
Functions | |
function | __init__ () |
function | add_weighted_down () |
function | auto_revive (reviver, dont_enable_weapons) |
function | bleed_out () |
function | can_revive (e_revivee, ignore_sight_checks=false, ignore_touch_checks=false) |
function | can_revive_via_override (e_revivee) |
function | can_suicide () |
function | check_for_failed_revive (e_revivee) |
function | check_for_sacrifice () |
function | checkforbleedout (player) |
function | deregister_revive_override (s_revive_override) |
function | increment_downed_stat () |
function | is_reviving (e_revivee, t_secondary) |
function | is_reviving_any () |
function | is_reviving_via_override (e_revivee) |
function | is_suiciding (revivee) |
function | Laststand_Bleedout (delay) |
function | laststand_clean_up_on_disconnect (e_revivee, w_reviver, w_revive_tool) |
function | laststand_clean_up_reviving_any (e_revivee) |
function | laststand_disable_player_weapons () |
function | laststand_enable_player_weapons () |
function | laststand_getup () |
function | laststand_getup_damage_watcher () |
function | laststand_give_pistol () |
function | laststand_global_init () |
function | laststand_has_players_weapons_returned (e_player) |
function | player_getup_setup () |
function | player_last_stand_stats (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration) |
function | PlayerLastStand (eInflictor, attacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration) |
function | refire_player_downed () |
function | register_revive_override (func_is_reviving, func_can_revive=undefined, b_use_revive_tool=false) |
function | remote_revive (reviver) |
function | revive_do_revive (e_revivee, w_reviver, w_revive_tool, t_secondary) |
function | revive_force_revive (reviver) |
function | revive_get_revive_time (e_revivee) |
function | revive_give_back_weapons (w_reviver, w_revive_tool) |
function | revive_give_back_weapons_wait (e_reviver, e_revivee) |
function | revive_give_back_weapons_when_done (w_reviver, w_revive_tool, e_revivee) |
function | revive_success (reviver, b_track_stats=true) |
function | revive_trigger_spawn () |
function | revive_trigger_think (t_secondary) |
function | set_ignoreme (b_ignoreme) |
function | suicide_do_suicide (duration) |
function | suicide_trigger_spawn () |
function | suicide_trigger_think () |
function | wait_switch_weapon (n_delay, w_weapon) |
function | xp_revive_once_per_round (player_being_revived) |
#define N_REVIVE_VISIBILITY_DELAY 2.0 |
Definition at line 42 of file _zm_laststand.gsc.
#define SHOW_LAST_STAND_PROGRESS_BAR false |
Definition at line 38 of file _zm_laststand.gsc.
function __init__ | ( | ) |
Definition at line 46 of file _zm_laststand.gsc.
References DEFAULT, laststand_global_init(), ramp_in_thread_per_player(), register(), register_info(), VERSION_SHIP, ZM_DEATH_VISIONSET, and ZM_LASTSTAND_VISIONSET.
function add_weighted_down | ( | ) |
Definition at line 1613 of file _zm_laststand.gsc.
function auto_revive | ( | reviver | , |
dont_enable_weapons | |||
) |
Definition at line 1327 of file _zm_laststand.gsc.
References bookmark(), cleanup_suicide_hud(), deactivate(), delay(), increment_client_stat(), increment_player_stat(), IS_TRUE, laststand_enable_player_weapons(), N_REVIVE_VISIBILITY_DELAY, perk_set_max_health_if_jugg(), set(), set_ignoreme(), wait_network_frame(), WAIT_SERVER_FRAME, ZM_DEATH_VISIONSET, and ZM_LASTSTAND_VISIONSET.
Referenced by last_stand_revive(), laststand_getup(), onPlayerSpawned(), remote_revive(), and wait_and_revive().
function bleed_out | ( | ) |
Definition at line 588 of file _zm_laststand.gsc.
References bookmark(), cleanup_suicide_hud(), deactivate(), increment(), increment_client_stat(), increment_player_stat(), set(), set_ignoreme(), take(), take_hero_weapon(), ZM_DEATH_VISIONSET, and ZM_LASTSTAND_VISIONSET.
Referenced by Laststand_Bleedout(), and suicide_trigger_think().
function can_revive | ( | e_revivee | , |
ignore_sight_checks | = false , |
||
ignore_touch_checks | = false |
||
) |
Definition at line 1036 of file _zm_laststand.gsc.
References has_hero_weapon(), has_powerup_weapon(), is_facing(), IS_TRUE, is_zombie(), and player_is_in_laststand().
Referenced by is_reviving(), and revive_trigger_think().
function can_revive_via_override | ( | e_revivee | ) |
Definition at line 1659 of file _zm_laststand.gsc.
Referenced by revive_trigger_think().
function can_suicide | ( | ) |
Definition at line 799 of file _zm_laststand.gsc.
References IS_TRUE, is_zombie(), and player_is_in_laststand().
Referenced by is_suiciding().
function check_for_failed_revive | ( | e_revivee | ) |
Definition at line 1592 of file _zm_laststand.gsc.
References increment_client_stat(), and increment_player_stat().
Referenced by revive_do_revive().
function check_for_sacrifice | ( | ) |
Definition at line 1578 of file _zm_laststand.gsc.
References delay_notify(), increment_client_stat(), and increment_player_stat().
Referenced by revive_success().
function checkforbleedout | ( | player | ) |
Definition at line 1302 of file _zm_laststand.gsc.
References DEFAULT, and is_Classic().
Referenced by revive_do_revive().
function deregister_revive_override | ( | s_revive_override | ) |
Definition at line 1651 of file _zm_laststand.gsc.
function increment_downed_stat | ( | ) |
Definition at line 145 of file _zm_laststand.gsc.
References get_current_zone(), increment_client_stat(), increment_global_stat(), increment_map_stat(), and increment_player_stat().
Referenced by player_last_stand_stats().
function is_reviving | ( | e_revivee | , |
t_secondary | |||
) |
Definition at line 1129 of file _zm_laststand.gsc.
References can_revive(), and is_reviving_via_override().
Referenced by revive_do_revive(), and revive_trigger_think().
function is_reviving_any | ( | ) |
Definition at line 1144 of file _zm_laststand.gsc.
References IS_TRUE.
Referenced by failsafe_revive_give_back_weapons(), laststand_clean_up_reviving_any(), and revive_do_revive().
function is_reviving_via_override | ( | e_revivee | ) |
Definition at line 1675 of file _zm_laststand.gsc.
Referenced by is_reviving().
function is_suiciding | ( | revivee | ) |
Definition at line 829 of file _zm_laststand.gsc.
References can_suicide().
Referenced by suicide_do_suicide(), and suicide_trigger_think().
function Laststand_Bleedout | ( | delay | ) |
Definition at line 513 of file _zm_laststand.gsc.
References activate(), bleed_out(), delay(), increment(), IS_TRUE, is_zombie(), set(), wait_network_frame(), and ZM_DEATH_VISIONSET.
function laststand_clean_up_on_disconnect | ( | e_revivee | , |
w_reviver | , | ||
w_revive_tool | |||
) |
Definition at line 427 of file _zm_laststand.gsc.
References cleanup_suicide_hud(), destroy(), destroyElem(), and revive_give_back_weapons().
Referenced by revive_do_revive().
function laststand_clean_up_reviving_any | ( | e_revivee | ) |
Definition at line 457 of file _zm_laststand.gsc.
References destroy(), destroyElem(), is_reviving_any(), and waittill_any().
Referenced by revive_do_revive().
function laststand_disable_player_weapons | ( | ) |
Definition at line 290 of file _zm_laststand.gsc.
References give_fallback_weapon(), increment_client_stat(), increment_player_stat(), IS_EQUAL, is_hero_weapon(), is_offhand_weapon(), IS_TRUE, and waittill_any_timeout().
Referenced by PlayerLastStand().
function laststand_enable_player_weapons | ( | ) |
Definition at line 371 of file _zm_laststand.gsc.
References give_build_kit_weapon(), is_equipment(), is_hero_weapon(), is_placeable_mine(), and PERK_ADDITIONAL_PRIMARY_WEAPON.
Referenced by auto_revive(), and revive_success().
function laststand_getup | ( | ) |
Definition at line 1533 of file _zm_laststand.gsc.
References auto_revive(), laststand_getup_damage_watcher(), laststand_getup_hud(), set(), update_lives_remaining(), and WAIT_SERVER_FRAME.
Referenced by PlayerLastStand().
function laststand_getup_damage_watcher | ( | ) |
Definition at line 1559 of file _zm_laststand.gsc.
Referenced by laststand_getup().
function laststand_give_pistol | ( | ) |
Definition at line 481 of file _zm_laststand.gsc.
References wait_switch_weapon().
Referenced by PlayerLastStand().
function laststand_global_init | ( | ) |
Definition at line 83 of file _zm_laststand.gsc.
Referenced by __init__().
function laststand_has_players_weapons_returned | ( | e_player | ) |
Definition at line 417 of file _zm_laststand.gsc.
function player_getup_setup | ( | ) |
Definition at line 1526 of file _zm_laststand.gsc.
function player_last_stand_stats | ( | eInflictor | , |
attacker | , | ||
iDamage | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | , | ||
deathAnimDuration | |||
) |
Definition at line 98 of file _zm_laststand.gsc.
References bookmark(), get(), increment_client_stat(), increment_downed_stat(), increment_player_stat(), is_headshot(), and IS_TRUE.
Referenced by PlayerLastStand().
function PlayerLastStand | ( | eInflictor | , |
attacker | , | ||
iDamage | , | ||
sMeansOfDeath | , | ||
weapon | , | ||
vDir | , | ||
sHitLoc | , | ||
psOffsetTime | , | ||
deathAnimDuration | |||
) |
Definition at line 166 of file _zm_laststand.gsc.
References bookmark(), callback(), cleanup_laststand_on_disconnect(), increment(), IS_TRUE, is_zombie(), laststand_disable_player_weapons(), laststand_getup(), laststand_give_pistol(), on_player_last_stand(), player_is_in_laststand(), player_last_stand_stats(), refire_player_downed(), revive_trigger_spawn(), set_ignoreme(), and suicide_trigger_spawn().
function refire_player_downed | ( | ) |
Definition at line 277 of file _zm_laststand.gsc.
Referenced by PlayerLastStand().
function register_revive_override | ( | func_is_reviving | , |
func_can_revive | = undefined , |
||
b_use_revive_tool | = false |
||
) |
Definition at line 1624 of file _zm_laststand.gsc.
function remote_revive | ( | reviver | ) |
Definition at line 1404 of file _zm_laststand.gsc.
References auto_revive(), and player_is_in_laststand().
Referenced by remote_revive_watch().
function revive_do_revive | ( | e_revivee | , |
w_reviver | , | ||
w_revive_tool | , | ||
t_secondary | |||
) |
Definition at line 1170 of file _zm_laststand.gsc.
References check_for_failed_revive(), checkforbleedout(), createPrimaryProgressBar(), destroy(), destroyElem(), is_reviving(), is_reviving_any(), laststand_clean_up_on_disconnect(), laststand_clean_up_reviving_any(), name, player_is_in_laststand(), revive_get_revive_time(), revive_hud_show_n_fade(), SHOW_LAST_STAND_PROGRESS_BAR, timer(), updateBar(), and WAIT_SERVER_FRAME.
Referenced by revive_trigger_think().
function revive_force_revive | ( | reviver | ) |
Definition at line 1517 of file _zm_laststand.gsc.
References player_is_in_laststand(), and revive_success().
function revive_get_revive_time | ( | e_revivee | ) |
Definition at line 1149 of file _zm_laststand.gsc.
References PERK_QUICK_REVIVE.
Referenced by revive_do_revive().
function revive_give_back_weapons | ( | w_reviver | , |
w_revive_tool | |||
) |
Definition at line 1009 of file _zm_laststand.gsc.
References is_equipment(), is_placeable_mine(), player_is_in_laststand(), and switch_back_primary_weapon().
Referenced by failsafe_revive_give_back_weapons(), laststand_clean_up_on_disconnect(), and revive_give_back_weapons_when_done().
function revive_give_back_weapons_wait | ( | e_reviver | , |
e_revivee | |||
) |
Definition at line 991 of file _zm_laststand.gsc.
Referenced by revive_give_back_weapons_when_done().
function revive_give_back_weapons_when_done | ( | w_reviver | , |
w_revive_tool | , | ||
e_revivee | |||
) |
Definition at line 1002 of file _zm_laststand.gsc.
References revive_give_back_weapons(), and revive_give_back_weapons_wait().
Referenced by revive_trigger_think().
function revive_success | ( | reviver | , |
b_track_stats | = true |
||
) |
Definition at line 1416 of file _zm_laststand.gsc.
References bookmark(), check_for_sacrifice(), cleanup_suicide_hud(), deactivate(), delay(), increment_client_stat(), increment_player_stat(), IS_TRUE, laststand_enable_player_weapons(), N_REVIVE_VISIBILITY_DELAY, perk_set_max_health_if_jugg(), set(), set_ignoreme(), WAIT_SERVER_FRAME, xp_revive_once_per_round(), ZM_DEATH_VISIONSET, and ZM_LASTSTAND_VISIONSET.
Referenced by revive_force_revive(), and revive_trigger_think().
function revive_trigger_spawn | ( | ) |
Definition at line 837 of file _zm_laststand.gsc.
References revive_trigger_think(), and spawn().
Referenced by PlayerLastStand().
function revive_trigger_think | ( | t_secondary | ) |
Definition at line 865 of file _zm_laststand.gsc.
References can_revive(), can_revive_via_override(), cleanup_suicide_hud(), is_reviving(), revive_do_revive(), revive_give_back_weapons_when_done(), revive_success(), and WAIT_SERVER_FRAME.
Referenced by revive_trigger_spawn().
function set_ignoreme | ( | b_ignoreme | ) |
Definition at line 1503 of file _zm_laststand.gsc.
References decrement_ignoreme(), DEFAULT, and increment_ignoreme().
Referenced by auto_revive(), bleed_out(), PlayerLastStand(), and revive_success().
function suicide_do_suicide | ( | duration | ) |
Definition at line 728 of file _zm_laststand.gsc.
References createPrimaryProgressBar(), destroy(), destroyElem(), is_suiciding(), timer(), updateBar(), and WAIT_SERVER_FRAME.
Referenced by suicide_trigger_think().
function suicide_trigger_spawn | ( | ) |
Definition at line 630 of file _zm_laststand.gsc.
References suicide_trigger_think().
Referenced by PlayerLastStand().
function suicide_trigger_think | ( | ) |
Definition at line 656 of file _zm_laststand.gsc.
References bleed_out(), clean_up_suicide_hud_on_bled_out(), clean_up_suicide_hud_on_end_game(), increment_client_stat(), is_suiciding(), suicide_do_suicide(), and wait_network_frame().
Referenced by suicide_trigger_spawn().
function wait_switch_weapon | ( | n_delay | , |
w_weapon | |||
) |
Definition at line 501 of file _zm_laststand.gsc.
Referenced by laststand_give_pistol().
function xp_revive_once_per_round | ( | player_being_revived | ) |
Definition at line 1482 of file _zm_laststand.gsc.
References processScoreEvent().
Referenced by revive_success().