‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_zm_laststand.gsc File Reference

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)
 

Macro Definition Documentation

◆ N_REVIVE_VISIBILITY_DELAY

#define N_REVIVE_VISIBILITY_DELAY   2.0

Definition at line 42 of file _zm_laststand.gsc.

◆ SHOW_LAST_STAND_PROGRESS_BAR

#define SHOW_LAST_STAND_PROGRESS_BAR   false

Definition at line 38 of file _zm_laststand.gsc.

Function Documentation

◆ __init__()

◆ add_weighted_down()

function add_weighted_down ( )

Definition at line 1613 of file _zm_laststand.gsc.

◆ auto_revive()

◆ bleed_out()

◆ can_revive()

function can_revive ( e_revivee  ,
ignore_sight_checks  = false,
ignore_touch_checks  = false 
)

◆ can_revive_via_override()

function can_revive_via_override ( e_revivee  )

Definition at line 1659 of file _zm_laststand.gsc.

Referenced by revive_trigger_think().

◆ can_suicide()

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().

◆ check_for_failed_revive()

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().

◆ check_for_sacrifice()

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().

◆ checkforbleedout()

function checkforbleedout ( player  )

Definition at line 1302 of file _zm_laststand.gsc.

References DEFAULT, and is_Classic().

Referenced by revive_do_revive().

◆ deregister_revive_override()

function deregister_revive_override ( s_revive_override  )

Definition at line 1651 of file _zm_laststand.gsc.

◆ increment_downed_stat()

function increment_downed_stat ( )

◆ is_reviving()

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().

◆ is_reviving_any()

function is_reviving_any ( )

◆ is_reviving_via_override()

function is_reviving_via_override ( e_revivee  )

Definition at line 1675 of file _zm_laststand.gsc.

Referenced by is_reviving().

◆ is_suiciding()

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().

◆ Laststand_Bleedout()

function Laststand_Bleedout ( delay  )

◆ laststand_clean_up_on_disconnect()

function laststand_clean_up_on_disconnect ( e_revivee  ,
w_reviver  ,
w_revive_tool   
)

◆ laststand_clean_up_reviving_any()

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().

◆ laststand_disable_player_weapons()

function laststand_disable_player_weapons ( )

◆ laststand_enable_player_weapons()

function laststand_enable_player_weapons ( )

◆ laststand_getup()

function laststand_getup ( )

◆ laststand_getup_damage_watcher()

function laststand_getup_damage_watcher ( )

Definition at line 1559 of file _zm_laststand.gsc.

Referenced by laststand_getup().

◆ laststand_give_pistol()

function laststand_give_pistol ( )

Definition at line 481 of file _zm_laststand.gsc.

References wait_switch_weapon().

Referenced by PlayerLastStand().

◆ laststand_global_init()

function laststand_global_init ( )

Definition at line 83 of file _zm_laststand.gsc.

Referenced by __init__().

◆ laststand_has_players_weapons_returned()

function laststand_has_players_weapons_returned ( e_player  )

Definition at line 417 of file _zm_laststand.gsc.

◆ player_getup_setup()

function player_getup_setup ( )

Definition at line 1526 of file _zm_laststand.gsc.

◆ player_last_stand_stats()

function player_last_stand_stats ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime  ,
deathAnimDuration   
)

◆ PlayerLastStand()

function PlayerLastStand ( eInflictor  ,
attacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime  ,
deathAnimDuration   
)

◆ refire_player_downed()

function refire_player_downed ( )

Definition at line 277 of file _zm_laststand.gsc.

Referenced by PlayerLastStand().

◆ register_revive_override()

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.

◆ remote_revive()

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().

◆ revive_do_revive()

◆ revive_force_revive()

function revive_force_revive ( reviver  )

Definition at line 1517 of file _zm_laststand.gsc.

References player_is_in_laststand(), and revive_success().

◆ revive_get_revive_time()

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().

◆ revive_give_back_weapons()

function revive_give_back_weapons ( w_reviver  ,
w_revive_tool   
)

◆ revive_give_back_weapons_wait()

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().

◆ revive_give_back_weapons_when_done()

function revive_give_back_weapons_when_done ( w_reviver  ,
w_revive_tool  ,
e_revivee   
)

◆ revive_success()

◆ revive_trigger_spawn()

function revive_trigger_spawn ( )

Definition at line 837 of file _zm_laststand.gsc.

References revive_trigger_think(), and spawn().

Referenced by PlayerLastStand().

◆ revive_trigger_think()

◆ set_ignoreme()

function set_ignoreme ( b_ignoreme  )

◆ suicide_do_suicide()

function suicide_do_suicide ( duration  )

◆ suicide_trigger_spawn()

function suicide_trigger_spawn ( )

Definition at line 630 of file _zm_laststand.gsc.

References suicide_trigger_think().

Referenced by PlayerLastStand().

◆ suicide_trigger_think()

◆ wait_switch_weapon()

function wait_switch_weapon ( n_delay  ,
w_weapon   
)

Definition at line 501 of file _zm_laststand.gsc.

Referenced by laststand_give_pistol().

◆ xp_revive_once_per_round()

function xp_revive_once_per_round ( player_being_revived  )

Definition at line 1482 of file _zm_laststand.gsc.

References processScoreEvent().

Referenced by revive_success().