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

Go to the source code of this file.

Macros

#define LASTSTAND_GETUP_BAR_DAMAGE   0.1
 
#define LASTSTAND_GETUP_COUNT_START   0
 

Functions

function clean_up_suicide_hud_on_bled_out ()
 
function clean_up_suicide_hud_on_end_game ()
 
function cleanup_laststand_on_disconnect ()
 
function cleanup_suicide_hud ()
 
function drawcylinder (pos, rad, height)
 
function get_lives_remaining ()
 
function is_facing (facee, requiredDot=0.9)
 
function laststand_allowed (sWeapon, sMeansOfDeath, sHitLoc)
 
function laststand_getup_damage_watcher ()
 
function laststand_getup_hud ()
 
function laststand_getup_hud_destroy (hudelem)
 
function player_all_players_in_laststand ()
 
function player_any_player_in_laststand ()
 
function player_getup_setup ()
 
function player_is_in_laststand ()
 
function player_num_in_laststand ()
 
function revive_hud_create ()
 
function revive_hud_show ()
 
function revive_hud_show_n_fade (time)
 
function update_lives_remaining (increment)
 

Macro Definition Documentation

◆ LASTSTAND_GETUP_BAR_DAMAGE

#define LASTSTAND_GETUP_BAR_DAMAGE   0.1

Definition at line 12 of file laststand_shared.gsc.

◆ LASTSTAND_GETUP_COUNT_START

#define LASTSTAND_GETUP_COUNT_START   0

Definition at line 10 of file laststand_shared.gsc.

Function Documentation

◆ clean_up_suicide_hud_on_bled_out()

function clean_up_suicide_hud_on_bled_out ( )

Definition at line 98 of file laststand_shared.gsc.

References cleanup_suicide_hud(), destroyElem(), and waittill_any().

Referenced by suicide_trigger_think().

◆ clean_up_suicide_hud_on_end_game()

function clean_up_suicide_hud_on_end_game ( )

Definition at line 76 of file laststand_shared.gsc.

References cleanup_suicide_hud(), destroyElem(), and waittill_any().

Referenced by suicide_trigger_think().

◆ cleanup_laststand_on_disconnect()

function cleanup_laststand_on_disconnect ( )

Definition at line 275 of file laststand_shared.gsc.

Referenced by PlayerLastStand().

◆ cleanup_suicide_hud()

◆ drawcylinder()

function drawcylinder ( pos  ,
rad  ,
height   
)

◆ get_lives_remaining()

function get_lives_remaining ( )

Definition at line 188 of file laststand_shared.gsc.

◆ is_facing()

function is_facing ( facee  ,
requiredDot  = 0.9 
)

Definition at line 116 of file laststand_shared.gsc.

Referenced by can_revive().

◆ laststand_allowed()

function laststand_allowed ( sWeapon  ,
sMeansOfDeath  ,
sHitLoc   
)

Definition at line 57 of file laststand_shared.gsc.

◆ laststand_getup_damage_watcher()

function laststand_getup_damage_watcher ( )

Definition at line 220 of file laststand_shared.gsc.

References LASTSTAND_GETUP_BAR_DAMAGE.

◆ laststand_getup_hud()

function laststand_getup_hud ( )

Definition at line 238 of file laststand_shared.gsc.

References laststand_getup_hud_destroy(), and WAIT_SERVER_FRAME.

Referenced by laststand_getup().

◆ laststand_getup_hud_destroy()

function laststand_getup_hud_destroy ( hudelem  )

Definition at line 268 of file laststand_shared.gsc.

References waittill_either().

Referenced by laststand_getup_hud().

◆ player_all_players_in_laststand()

function player_all_players_in_laststand ( )

Definition at line 47 of file laststand_shared.gsc.

References player_num_in_laststand().

◆ player_any_player_in_laststand()

function player_any_player_in_laststand ( )

Definition at line 52 of file laststand_shared.gsc.

References player_num_in_laststand().

◆ player_getup_setup()

function player_getup_setup ( )

Definition at line 213 of file laststand_shared.gsc.

References LASTSTAND_GETUP_COUNT_START.

Referenced by onPlayerConnect_clientDvars().

◆ player_is_in_laststand()

function player_is_in_laststand ( )

Definition at line 18 of file laststand_shared.gsc.

References IS_TRUE.

Referenced by _IsValidPlayer(), anystub_update_prompt(), areNearbySpeakersActive(), award_grenades_for_survivors(), Callback_PlayerDamage(), can_revive(), can_suicide(), checkForAllDead(), destructible_glass_barricade(), do_melee(), do_melee_weapon_flourish_end(), end_game(), free_perk_powerup(), full_ammo_powerup(), get_team_players_in_laststand(), give_melee_weapon(), gravityspikes_power_override(), is_player_valid(), is_valid_target(), last_stand_revive(), melee_weapon_think(), no_target_override(), onPlayerSpawned(), perk_give_bottle_end(), player_continue_crafting(), player_damage(), player_damage_override(), player_fire_damage(), player_num_in_laststand(), player_take_riotshield(), player_throw_cymbal_monkey(), player_throw_octobomb(), player_too_many_weapons_monitor(), player_too_many_weapons_monitor_takeaway_simultaneous(), player_track_ammo_count(), player_use_can_pack_now(), PlayerLastStand(), powerup_grab(), quantum_bomb_give_nearest_perk_result(), remote_revive(), revive_do_revive(), revive_force_revive(), revive_give_back_weapons(), cSceneObject::revive_player(), shouldPlayerSpeak(), shouldThrowGrenadeAtCoverCondition(), tesla_pvp_thread(), thrasherGetClosestLaststandPlayer(), thrasherShouldConsumePlayer(), thrasherShouldMelee(), thrasherTargetService(), track_players_intersection_tracker(), upgrade_knuckle_crack_end(), vending_trigger_can_player_use(), vending_trigger_post_think(), vending_weapon_upgrade(), widows_wine_perk_lost(), ww_grenade_powerup(), zombie_damage_failsafe(), and zombie_fall_get_vicitims().

◆ player_num_in_laststand()

function player_num_in_laststand ( )

◆ revive_hud_create()

function revive_hud_create ( )

Definition at line 135 of file laststand_shared.gsc.

Referenced by onPlayerSpawned().

◆ revive_hud_show()

function revive_hud_show ( )

Definition at line 153 of file laststand_shared.gsc.

Referenced by revive_hud_show_n_fade().

◆ revive_hud_show_n_fade()

function revive_hud_show_n_fade ( time  )

Definition at line 162 of file laststand_shared.gsc.

References revive_hud_show().

Referenced by revive_do_revive(), and wait_and_revive().

◆ update_lives_remaining()

function update_lives_remaining ( increment  )

Definition at line 200 of file laststand_shared.gsc.

References increment().

Referenced by laststand_getup().