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

Go to the source code of this file.

Functions

function private __main__ ()
 
function add_mine_type (mine_name, str_retrieval_prompt)
 
function add_planted_callback (fn_planted_cb, wpn_name)
 
function add_weapon_to_mine_slot (mine_name)
 
function private adjust_trigger_origin (origin)
 
function disable_all_prompts_for_player ()
 
function disable_prompt_for_player (wpn_type)
 
function get_first_available ()
 
function private init_internal ()
 
function is_true_placeable_mine (mine_name)
 
function private mine_watch (wpn_type)
 
function private on_spawn_retrieve_trigger (watcher, player)
 
function private pickup_placeable_mine ()
 
function private pickup_placeable_mine_trigger_listener (trigger, player)
 
function private pickup_placeable_mine_trigger_listener_disable (trigger, player)
 
function private pickup_placeable_mine_trigger_listener_enable (trigger, player)
 
function private placeable_mine_damage ()
 
function private placeable_mine_detonate (attacker, weapon, target)
 
function private replenish_after_rounds ()
 
function private reset_satchel_explode_this_frame ()
 
function private run_planted_callbacks (e_planter)
 
function private safe_to_plant ()
 
function set_max_per_player (n_max_per_player)
 
function setup_for_player (wpn_type, ui_model="hudItems.showDpadRight")
 
function setup_watchers ()
 
function private wait_and_detonate ()
 

Function Documentation

◆ __main__()

function private __main__ ( )

Definition at line 27 of file _zm_placeable_mine.gsc.

References replenish_after_rounds().

◆ add_mine_type()

function add_mine_type ( mine_name  ,
str_retrieval_prompt   
)

Definition at line 61 of file _zm_placeable_mine.gsc.

References createRetrievableHint(), and init_internal().

Referenced by __init__().

◆ add_planted_callback()

function add_planted_callback ( fn_planted_cb  ,
wpn_name   
)

Definition at line 88 of file _zm_placeable_mine.gsc.

References ARRAY_ADD.

◆ add_weapon_to_mine_slot()

function add_weapon_to_mine_slot ( mine_name  )

Definition at line 71 of file _zm_placeable_mine.gsc.

References DEFAULT, and init_internal().

◆ adjust_trigger_origin()

function private adjust_trigger_origin ( origin  )

Definition at line 418 of file _zm_placeable_mine.gsc.

Referenced by setup_watchers().

◆ disable_all_prompts_for_player()

function disable_all_prompts_for_player ( )

Definition at line 199 of file _zm_placeable_mine.gsc.

References disable_prompt_for_player().

Referenced by full_ammo_powerup().

◆ disable_prompt_for_player()

function disable_prompt_for_player ( wpn_type  )

◆ get_first_available()

function get_first_available ( )

Definition at line 50 of file _zm_placeable_mine.gsc.

◆ init_internal()

function private init_internal ( )

◆ is_true_placeable_mine()

function is_true_placeable_mine ( mine_name  )

Definition at line 151 of file _zm_placeable_mine.gsc.

Referenced by replenish_after_rounds(), and setup_for_player().

◆ mine_watch()

function private mine_watch ( wpn_type  )

◆ on_spawn_retrieve_trigger()

function private on_spawn_retrieve_trigger ( watcher  ,
player   
)

◆ pickup_placeable_mine()

◆ pickup_placeable_mine_trigger_listener()

function private pickup_placeable_mine_trigger_listener ( trigger  ,
player   
)

◆ pickup_placeable_mine_trigger_listener_disable()

function private pickup_placeable_mine_trigger_listener_disable ( trigger  ,
player   
)

Definition at line 284 of file _zm_placeable_mine.gsc.

Referenced by pickup_placeable_mine_trigger_listener().

◆ pickup_placeable_mine_trigger_listener_enable()

function private pickup_placeable_mine_trigger_listener_enable ( trigger  ,
player   
)

Definition at line 265 of file _zm_placeable_mine.gsc.

References waittill_any().

Referenced by pickup_placeable_mine_trigger_listener().

◆ placeable_mine_damage()

function private placeable_mine_damage ( )

Definition at line 303 of file _zm_placeable_mine.gsc.

References detonate(), and reset_satchel_explode_this_frame().

Referenced by init_internal().

◆ placeable_mine_detonate()

function private placeable_mine_detonate ( attacker  ,
weapon  ,
target   
)

Definition at line 424 of file _zm_placeable_mine.gsc.

Referenced by setup_watchers().

◆ replenish_after_rounds()

function private replenish_after_rounds ( )

◆ reset_satchel_explode_this_frame()

function private reset_satchel_explode_this_frame ( )

Definition at line 351 of file _zm_placeable_mine.gsc.

Referenced by placeable_mine_damage().

◆ run_planted_callbacks()

function private run_planted_callbacks ( e_planter  )

Definition at line 93 of file _zm_placeable_mine.gsc.

Referenced by mine_watch().

◆ safe_to_plant()

function private safe_to_plant ( )

Definition at line 101 of file _zm_placeable_mine.gsc.

Referenced by mine_watch().

◆ set_max_per_player()

function set_max_per_player ( n_max_per_player  )

Definition at line 83 of file _zm_placeable_mine.gsc.

◆ setup_for_player()

function setup_for_player ( wpn_type  ,
ui_model  = "hudItems.showDpadRight" 
)

◆ setup_watchers()

◆ wait_and_detonate()

function private wait_and_detonate ( )

Definition at line 111 of file _zm_placeable_mine.gsc.

References detonate().

Referenced by mine_watch().