![]() |
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.
function __init__ | ( | ) |
Definition at line 56 of file _zm_magicbox.gsc.
References magicbox_host_migration(), register(), VERSION_SHIP, and VERSION_TU7.
function __main__ | ( | ) |
Definition at line 75 of file _zm_magicbox.gsc.
References default_magic_box_check_equipment(), get_array(), is_Classic(), process_magic_box_zbarrier_state(), and treasure_chest_init().
function box_encounter_vo | ( | ) |
Definition at line 2180 of file _zm_magicbox.gsc.
References create_and_play_dialog(), is_player_looking_at(), and wait_till().
Referenced by init_starting_chest_location().
function boxstub_update_prompt | ( | player | ) |
Definition at line 320 of file _zm_magicbox.gsc.
References get_hint_string(), IS_TRUE, and trigger_visible_to_player().
Referenced by boxtrigger_update_prompt().
function boxtrigger_update_prompt | ( | player | ) |
Definition at line 307 of file _zm_magicbox.gsc.
References boxstub_update_prompt().
Referenced by get_chest_pieces().
function can_buy_weapon | ( | ) |
Definition at line 937 of file _zm_magicbox.gsc.
References hacker_active(), in_revive_trigger(), IS_DRINKING, is_equipment_that_blocks_purchase(), and is_placeable_mine().
Referenced by decide_hide_show_hint(), player_use_can_pack_now(), trigger_visible_to_player(), vending_trigger_can_player_use(), vending_weapon_upgrade(), and weapon_spawn_think().
function check_for_desirable_chest_location | ( | ) |
Definition at line 1121 of file _zm_magicbox.gsc.
function chest_get_max_usage | ( | ) |
Definition at line 1850 of file _zm_magicbox.gsc.
function chest_get_min_usage | ( | ) |
Definition at line 1841 of file _zm_magicbox.gsc.
function clean_up_hacked_box | ( | ) |
Definition at line 1399 of file _zm_magicbox.gsc.
Referenced by treasure_chest_weapon_spawn().
function decide_hide_show_hint | ( | endon_notify | , |
second_endon_notify | , | ||
onlyplayer | , | ||
can_buy_weapon_extra_check_func | |||
) |
Definition at line 1302 of file _zm_magicbox.gsc.
References can_buy_weapon(), hacker_active(), is_enabled(), is_placeable_mine(), WAIT_SERVER_FRAME, and weapon_show_hint_choke().
Referenced by weapon_spawn_think().
function default_box_move_logic | ( | ) |
Definition at line 972 of file _zm_magicbox.gsc.
Referenced by treasure_chest_move().
function default_magic_box_check_equipment | ( | weapon | ) |
Definition at line 355 of file _zm_magicbox.gsc.
References is_offhand_weapon().
Referenced by __main__().
function default_pandora_fx_func | ( | ) |
Definition at line 492 of file _zm_magicbox.gsc.
References IS_TRUE, Spawn(), and wait_till().
Referenced by default_pandora_show_func().
function default_pandora_show_func | ( | anchor | , |
anchorTarget | , | ||
pieces | |||
) |
Definition at line 517 of file _zm_magicbox.gsc.
References default_pandora_fx_func().
Referenced by init_starting_chest_location().
function fire_sale_fix | ( | ) |
Definition at line 1092 of file _zm_magicbox.gsc.
References hide_chest(), IS_TRUE, show_chest(), unitrigger_set_hint_string(), and wait_network_frame().
Referenced by treasure_chest_move().
function get_chest_pieces | ( | ) |
Definition at line 266 of file _zm_magicbox.gsc.
References boxtrigger_update_prompt(), and unitrigger_force_per_player_triggers().
Referenced by treasure_chest_init().
function get_left_hand_weapon_model_name | ( | weapon | ) |
Definition at line 1388 of file _zm_magicbox.gsc.
function get_magic_box_zbarrier_state | ( | ) |
Definition at line 2093 of file _zm_magicbox.gsc.
Referenced by is_chest_active().
function give_hero_weapon | ( | weapon | ) |
Definition at line 1967 of file _zm_magicbox.gsc.
References waittill_any_timeout(), and weapon_give().
Referenced by treasure_chest_give_weapon().
function hide_chest | ( | doBoxLeave | ) |
Definition at line 441 of file _zm_magicbox.gsc.
References increment(), IS_TRUE, magic_box_zbarrier_leave(), set(), set_magic_box_zbarrier_state(), sndAnnouncerPlayVox(), and unregister_unitrigger().
Referenced by fire_sale_fix(), init_starting_chest_location(), remove_temp_chest(), treasure_chest_init(), and treasure_chest_move().
function init_starting_chest_location | ( | start_chest_name | ) |
Definition at line 178 of file _zm_magicbox.gsc.
References box_encounter_vo(), default_pandora_show_func(), hide_chest(), and set_magic_box_zbarrier_state().
Referenced by treasure_chest_init().
function is_chest_active | ( | ) |
Definition at line 2076 of file _zm_magicbox.gsc.
References get(), and get_magic_box_zbarrier_state().
function magic_box_arrives | ( | ) |
Definition at line 2003 of file _zm_magicbox.gsc.
References WAIT_SERVER_FRAME.
Referenced by process_magic_box_zbarrier_state().
function magic_box_closes | ( | ) |
Definition at line 2033 of file _zm_magicbox.gsc.
Referenced by process_magic_box_zbarrier_state().
function magic_box_do_teddy_flyaway | ( | ) |
Definition at line 2070 of file _zm_magicbox.gsc.
function magic_box_do_weapon_rise | ( | ) |
Definition at line 2043 of file _zm_magicbox.gsc.
References wait_network_frame().
Referenced by treasure_chest_weapon_spawn().
function magic_box_initial | ( | ) |
Definition at line 1996 of file _zm_magicbox.gsc.
References set().
Referenced by process_magic_box_zbarrier_state().
function magic_box_leaves | ( | ) |
Definition at line 2013 of file _zm_magicbox.gsc.
Referenced by process_magic_box_zbarrier_state().
function magic_box_opens | ( | ) |
Definition at line 2023 of file _zm_magicbox.gsc.
Referenced by process_magic_box_zbarrier_state().
function magic_box_zbarrier_leave | ( | ) |
Definition at line 485 of file _zm_magicbox.gsc.
References set_magic_box_zbarrier_state().
Referenced by hide_chest().
function magicbox_host_migration | ( | ) |
Definition at line 2152 of file _zm_magicbox.gsc.
References IS_TRUE, and wait_network_frame().
Referenced by __init__().
function magicbox_unitrigger_think | ( | ) |
Definition at line 398 of file _zm_magicbox.gsc.
Referenced by process_magic_box_zbarrier_state(), show_chest(), and treasure_chest_think().
function play_crazi_sound | ( | ) |
Definition at line 409 of file _zm_magicbox.gsc.
Referenced by treasure_chest_move().
function process_magic_box_zbarrier_state | ( | state | ) |
Definition at line 2109 of file _zm_magicbox.gsc.
References magic_box_arrives(), magic_box_closes(), magic_box_initial(), magic_box_leaves(), magic_box_opens(), magicbox_unitrigger_think(), and register_static_unitrigger().
Referenced by __main__().
function rotateroll_box | ( | ) |
Definition at line 1145 of file _zm_magicbox.gsc.
function set_magic_box_zbarrier_state | ( | state | ) |
Definition at line 2098 of file _zm_magicbox.gsc.
Referenced by hide_chest(), init_starting_chest_location(), magic_box_zbarrier_leave(), show_chest(), and treasure_chest_think().
function set_treasure_chest_cost | ( | cost | ) |
Definition at line 258 of file _zm_magicbox.gsc.
function should_upgrade_weapon | ( | player | , |
weapon | |||
) |
Definition at line 1981 of file _zm_magicbox.gsc.
References is_enabled().
Referenced by treasure_chest_give_weapon().
function show_chest | ( | ) |
Definition at line 418 of file _zm_magicbox.gsc.
References increment(), magicbox_unitrigger_think(), register_static_unitrigger(), set(), set_magic_box_zbarrier_state(), and waittill_any_timeout().
Referenced by apply_fire_sale_to_chest(), fire_sale_fix(), and treasure_chest_move().
function spawn_joker_weapon_model | ( | player | , |
model | , | ||
origin | , | ||
angles | |||
) |
Definition at line 1523 of file _zm_magicbox.gsc.
References spawn().
Referenced by treasure_chest_weapon_locking().
function timer_til_despawn | ( | v_float | ) |
Definition at line 1900 of file _zm_magicbox.gsc.
Referenced by treasure_chest_weapon_spawn().
function treasure_chest_CanPlayerReceiveWeapon | ( | player | , |
weapon | , | ||
pap_triggers | |||
) |
Definition at line 1220 of file _zm_magicbox.gsc.
References get_is_in_box(), has_weapon_or_upgrade(), limited_weapon_below_quota(), and player_can_use_content().
Referenced by treasure_chest_ChooseWeightedRandomWeapon(), and treasure_chest_weapon_spawn().
function treasure_chest_ChooseWeightedRandomWeapon | ( | player | ) |
Definition at line 1271 of file _zm_magicbox.gsc.
References get_triggers(), and treasure_chest_CanPlayerReceiveWeapon().
Referenced by treasure_chest_weapon_spawn().
function treasure_chest_firesale_active | ( | ) |
Definition at line 1424 of file _zm_magicbox.gsc.
References IS_TRUE.
Referenced by treasure_chest_should_move(), and treasure_chest_weapon_spawn().
function treasure_chest_give_weapon | ( | weapon | ) |
Definition at line 1930 of file _zm_magicbox.gsc.
References can_upgrade_weapon(), get_upgrade_weapon(), give_hero_weapon(), is_hero_weapon(), remove(), should_upgrade_weapon(), and weapon_give().
Referenced by treasure_chest_think().
function treasure_chest_glowfx | ( | ) |
Definition at line 1914 of file _zm_magicbox.gsc.
References set(), and waittill_any_return().
Referenced by treasure_chest_think().
function treasure_chest_init | ( | start_chest_name | ) |
Definition at line 113 of file _zm_magicbox.gsc.
References get_chest_pieces(), hide_chest(), init(), init_starting_chest_location(), set(), and treasure_chest_think().
Referenced by __main__().
function treasure_chest_lid_close | ( | timedOut | ) |
Definition at line 1208 of file _zm_magicbox.gsc.
References play_sound_at_pos().
Referenced by treasure_chest_think().
function treasure_chest_lid_open | ( | ) |
Definition at line 1197 of file _zm_magicbox.gsc.
References play_sound_at_pos().
Referenced by treasure_chest_think().
function treasure_chest_move | ( | player_vox | ) |
Definition at line 1018 of file _zm_magicbox.gsc.
References clear(), create_and_play_dialog(), default_box_move_logic(), delay(), fire_sale_fix(), hide_chest(), play_crazi_sound(), show_chest(), and wait_network_frame().
Referenced by treasure_chest_think().
function treasure_chest_should_move | ( | chest | , |
player | |||
) |
Definition at line 1429 of file _zm_magicbox.gsc.
References IS_TRUE, and treasure_chest_firesale_active().
Referenced by treasure_chest_weapon_spawn().
function treasure_chest_think | ( | ) |
Definition at line 546 of file _zm_magicbox.gsc.
References add_to_player_score(), bookmark(), can_player_purchase(), create_and_play_dialog(), get(), in_revive_trigger(), increment_challenge_stat(), increment_client_stat(), increment_magic_box(), increment_player_stat(), IS_DRINKING, is_equipment(), is_placeable_mine(), is_player_revive_tool(), is_player_valid(), IS_TRUE, magicbox_unitrigger_think(), minus_to_player_score(), play_sound_at_pos(), register_static_unitrigger(), set(), set_magic_box_zbarrier_state(), treasure_chest_give_weapon(), treasure_chest_glowfx(), treasure_chest_lid_close(), treasure_chest_lid_open(), treasure_chest_move(), treasure_chest_timeout(), treasure_chest_weapon_spawn(), unregister_unitrigger(), unregister_unitrigger_on_kill_think(), WAIT_SERVER_FRAME, waittill_any(), watch_for_emp_close(), ZM_MAP_EVENT_MAGIC_BOX_OFFERED, ZM_MAP_EVENT_MAGIC_BOX_RETURNED, and ZM_MAP_EVENT_MAGIC_BOX_TAKEN.
Referenced by treasure_chest_init().
function treasure_chest_timeout | ( | ) |
Definition at line 1187 of file _zm_magicbox.gsc.
Referenced by treasure_chest_think().
function treasure_chest_weapon_locking | ( | player | , |
weapon | , | ||
onOff | |||
) |
Definition at line 1536 of file _zm_magicbox.gsc.
References set(), spawn_buildkit_weapon_model(), and spawn_joker_weapon_model().
Referenced by treasure_chest_weapon_spawn().
function treasure_chest_weapon_spawn | ( | chest | , |
player | , | ||
respin | |||
) |
Definition at line 1559 of file _zm_magicbox.gsc.
References clean_up_hacked_box(), get_triggers(), is_enabled(), IS_TRUE, magic_box_do_weapon_rise(), set(), Spawn(), spawn_buildkit_weapon_model(), timer_til_despawn(), treasure_chest_CanPlayerReceiveWeapon(), treasure_chest_ChooseWeightedRandomWeapon(), treasure_chest_firesale_active(), treasure_chest_should_move(), treasure_chest_weapon_locking(), and WAIT_SERVER_FRAME.
Referenced by treasure_chest_think().
function trigger_visible_to_player | ( | player | ) |
Definition at line 361 of file _zm_magicbox.gsc.
References can_buy_weapon(), hacker_active(), is_enabled(), and is_placeable_mine().
Referenced by boxstub_update_prompt().
function unregister_unitrigger_on_kill_think | ( | ) |
Definition at line 536 of file _zm_magicbox.gsc.
References unregister_unitrigger().
Referenced by treasure_chest_think().
function verify_chest_is_open | ( | ) |
Definition at line 1163 of file _zm_magicbox.gsc.
function watch_for_emp_close | ( | ) |
Definition at line 892 of file _zm_magicbox.gsc.
References get(), and should_watch_for_emp().
Referenced by treasure_chest_think().
function weapon_show_hint_choke | ( | ) |
Definition at line 1291 of file _zm_magicbox.gsc.
References WAIT_SERVER_FRAME.
Referenced by decide_hide_show_hint().