|  | 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.
| Data Structures | |
| class | cContainer | 
| Macros | |
| #define | STR_OPEN_CONTAINER_MESSAGE "Press [{+activate}] to open" | 
| Functions | |
| class cContainer | __init__ () | 
| constructor () | |
| function | container_update (c_container) | 
| function | create_locker_doors (e_left_door, e_right_door, door_open_angle, door_open_time) | 
| function | create_locker_trigger (v_pos, n_radius, str_message) | 
| destructor () | |
| function | get_closest_ent_from_array (v_pos, a_ents) | 
| function | init () | 
| function | init_xmodel (str_xmodel, v_origin, v_angles) | 
| function | setup_container_scriptbundle (s_bundle, s_container_instance) | 
| function | setup_general_container_bundle (str_targetname, str_intel_vo, str_narrative_collectable_model, force_open) | 
| function | setup_locker_double_doors (str_left_door_name, str_right_door_name, center_point_offset) | 
| Variables | |
| var | m_e_container | 
| var | m_s_container_bundle | 
| var | m_s_container_instance | 
| var | m_s_fxanim_bundle | 
Definition at line 21 of file containers_shared.gsc.
| class cContainer __init__ | ( | ) | 
Definition at line 61 of file containers_shared.gsc.
References get_array(), and init().
| __init__::constructor | ( | ) | 
Definition at line 9 of file containers_shared.gsc.
| function container_update | ( | c_container | ) | 
Definition at line 132 of file containers_shared.gsc.
References create_locker_trigger(), play(), and STR_OPEN_CONTAINER_MESSAGE.
Referenced by setup_container_scriptbundle().
| function create_locker_doors | ( | e_left_door | , | 
| e_right_door | , | ||
| door_open_angle | , | ||
| door_open_time | |||
| ) | 
Definition at line 366 of file containers_shared.gsc.
References create_locker_trigger().
Referenced by setup_locker_double_doors().
| function create_locker_trigger | ( | v_pos | , | 
| n_radius | , | ||
| str_message | |||
| ) | 
Definition at line 196 of file containers_shared.gsc.
References spawn().
Referenced by container_update(), create_locker_doors(), and setup_general_container_bundle().
| destructor | ( | ) | 
Definition at line 13 of file containers_shared.gsc.
| function get_closest_ent_from_array | ( | v_pos | , | 
| a_ents | |||
| ) | 
Definition at line 344 of file containers_shared.gsc.
References a_ents.
Referenced by setup_locker_double_doors().
| function init | ( | ) | 
Definition at line 82 of file containers_shared.gsc.
References get_script_bundle(), and setup_container_scriptbundle().
Referenced by __init__(), and setup_container_scriptbundle().
| function __init__::init_xmodel | ( | str_xmodel | , | 
| v_origin | , | ||
| v_angles | |||
| ) | 
Definition at line 17 of file containers_shared.gsc.
| function setup_container_scriptbundle | ( | s_bundle | , | 
| s_container_instance | |||
| ) | 
Definition at line 99 of file containers_shared.gsc.
References container_update(), get_script_bundle(), and init().
Referenced by init().
| function setup_general_container_bundle | ( | str_targetname | , | 
| str_intel_vo | , | ||
| str_narrative_collectable_model | , | ||
| force_open | |||
| ) | 
Definition at line 220 of file containers_shared.gsc.
References create_locker_trigger(), get(), play(), spawn(), and wait_till().
| function setup_locker_double_doors | ( | str_left_door_name | , | 
| str_right_door_name | , | ||
| center_point_offset | |||
| ) | 
Definition at line 303 of file containers_shared.gsc.
References create_locker_doors(), and get_closest_ent_from_array().
| var m_e_container | 
Definition at line 7 of file containers_shared.gsc.
| var m_s_container_bundle | 
Definition at line 2 of file containers_shared.gsc.
| var m_s_container_instance | 
Definition at line 5 of file containers_shared.gsc.
| var m_s_fxanim_bundle | 
Definition at line 3 of file containers_shared.gsc.