![]() |
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.
Functions | |
function | __init__ () |
function | __main__ () |
function | _register_undefined_trap (str_trap) |
function | electroctute_death_fx () |
function | electrocute_timeout () |
function | get_trap_array (trap_type) |
function | init () |
function | is_trap_registered (a_registered_traps) |
function | play_elec_vocals () |
function | player_elec_damage () |
function | player_fire_damage () |
function | register_trap_basic_info (str_trap, func_activate, func_audio) |
function | register_trap_damage (str_trap, func_player_damage, func_damage) |
function | trap_activate_fire () |
function | trap_activate_flipper () |
function | trap_activate_rotating () |
function | trap_audio_fx (trap) |
function | trap_damage () |
function | trap_dialog () |
function | trap_disable () |
function | trap_enable () |
function | trap_init () |
function | trap_lights_green () |
function | trap_lights_red () |
function | trap_main () |
function | trap_model_type_init () |
function | trap_move_switches () |
function | trap_set_string (string, param1, param2) |
function | trap_use_think (trap) |
function | trig_update (parent) |
function private | update_trigger_visibility () |
function | zombie_flame_watch () |
function | zombie_trap_death (trap, param) |
function __init__ | ( | ) |
Definition at line 54 of file _zm_traps.gsc.
References init(), and on_finalize_initialization().
function __main__ | ( | ) |
Definition at line 71 of file _zm_traps.gsc.
References trap_main().
function _register_undefined_trap | ( | str_trap | ) |
Definition at line 1233 of file _zm_traps.gsc.
Referenced by register_trap_basic_info(), and register_trap_damage().
function electroctute_death_fx | ( | ) |
Definition at line 1005 of file _zm_traps.gsc.
References a, electrocute_timeout(), and IS_ZOMBIETEAM.
Referenced by damage().
function electrocute_timeout | ( | ) |
Definition at line 1064 of file _zm_traps.gsc.
Referenced by electroctute_death_fx().
function get_trap_array | ( | trap_type | ) |
Definition at line 1127 of file _zm_traps.gsc.
function init | ( | ) |
Definition at line 63 of file _zm_traps.gsc.
References trap_init().
Referenced by __init__(), trap_init(), and trap_main().
function is_trap_registered | ( | a_registered_traps | ) |
Definition at line 1204 of file _zm_traps.gsc.
function play_elec_vocals | ( | ) |
Definition at line 988 of file _zm_traps.gsc.
function player_elec_damage | ( | ) |
Definition at line 784 of file _zm_traps.gsc.
References activate(), is_player_valid(), IS_TRUE, PERK_JUGGERNOG, and ZM_TRAP_ELECTRIC_MAX.
Referenced by player_damage().
function player_fire_damage | ( | ) |
Definition at line 843 of file _zm_traps.gsc.
References activate(), IS_TRUE, PERK_JUGGERNOG, player_is_in_laststand(), and ZM_TRAP_BURN_MAX.
Referenced by trap_damage().
function register_trap_basic_info | ( | str_trap | , |
func_activate | , | ||
func_audio | |||
) |
Description:
"Function Name: register_trap_basic_info( <str_trap>, <func_activate>, <func_audio> )" "Module: Zombie Traps"
"Summary: Register basic info for a custom trap"
"Mandatory Argument(s): <str_trap>: the name of the trap. This should be unique, and will identify this trap in system scripts."
"Mandatory Argument(s): <func_activate> the function that will run when this trap is activated"
"Mandatory Argument(s): <func_audio>: the audio function that will run when activated"
"Example:register_trap_basic_info( "electric", &trap_activate_electric, &trap_audio );"
"Single Player / Multi Player: multiplayer"
Definition at line 1220 of file _zm_traps.gsc.
References _register_undefined_trap().
Referenced by __init__().
function register_trap_damage | ( | str_trap | , |
func_player_damage | , | ||
func_damage | |||
) |
Description:
"Function Name: register_trap_damage( <str_trap>, <func_player_damage>, <func_damage> )" "Module: Zombie Traps"
"Summary: Register damage info for a custom trap"
"Mandatory Argument(s): <str_trap>: the name of the trap. This should be unique, and will identify this trap in system scripts."
"Mandatory Argument(s): <func_player_damage> the function that will run if a player is damaged by this trap"
"Mandatory Argument(s): <func_damage>: the function that will run if a non-player is damaged by this trap"
"Example:register_trap_damage( "electric", &player_damage, &trap_damage );"
"Single Player / Multi Player: multiplayer"
Definition at line 1257 of file _zm_traps.gsc.
References _register_undefined_trap().
Referenced by __init__().
function trap_activate_fire | ( | ) |
Definition at line 545 of file _zm_traps.gsc.
References get_array(), trap_audio_fx(), trap_damage(), and wait_network_frame().
Referenced by trap_init().
function trap_activate_flipper | ( | ) |
Definition at line 646 of file _zm_traps.gsc.
Referenced by trap_init().
function trap_activate_rotating | ( | ) |
Definition at line 577 of file _zm_traps.gsc.
References trap_damage(), and trig_update().
Referenced by trap_init().
function trap_audio_fx | ( | trap | ) |
Definition at line 668 of file _zm_traps.gsc.
References waittill_any_timeout().
Referenced by trap_activate_fire().
function trap_damage | ( | ) |
Definition at line 695 of file _zm_traps.gsc.
References player_fire_damage(), and zombie_trap_death().
Referenced by trap_activate_electric(), trap_activate_fire(), and trap_activate_rotating().
function trap_dialog | ( | ) |
Definition at line 1084 of file _zm_traps.gsc.
References get_player_index(), and timer().
Referenced by trap_init().
function trap_disable | ( | ) |
Definition at line 1145 of file _zm_traps.gsc.
References trap_lights_red().
function trap_enable | ( | ) |
Definition at line 1164 of file _zm_traps.gsc.
References trap_lights_green().
function trap_init | ( | ) |
Definition at line 95 of file _zm_traps.gsc.
References get_array(), init(), trap_activate_fire(), trap_activate_flipper(), trap_activate_rotating(), trap_dialog(), trap_model_type_init(), and trap_use_think().
Referenced by init().
function trap_lights_green | ( | ) |
Definition at line 463 of file _zm_traps.gsc.
References exploder(), and stop_exploder().
Referenced by trap_enable(), trap_main(), and trap_move_switches().
function trap_lights_red | ( | ) |
Definition at line 445 of file _zm_traps.gsc.
References exploder(), and stop_exploder().
Referenced by trap_disable(), trap_main(), and trap_move_switches().
function trap_main | ( | ) |
Definition at line 252 of file _zm_traps.gsc.
References init(), script_flag_wait(), trap_lights_green(), trap_lights_red(), trap_set_string(), update_trigger_visibility(), and wait_till().
Referenced by __main__().
function trap_model_type_init | ( | ) |
Definition at line 1174 of file _zm_traps.gsc.
Referenced by trap_init().
function trap_move_switches | ( | ) |
Definition at line 510 of file _zm_traps.gsc.
References trap_lights_green(), and trap_lights_red().
Referenced by trap_use_think().
function trap_set_string | ( | string | , |
param1 | , | ||
param2 | |||
) |
Definition at line 485 of file _zm_traps.gsc.
Referenced by trap_main(), and trap_use_think().
function trap_use_think | ( | trap | ) |
Definition at line 311 of file _zm_traps.gsc.
References can_player_purchase(), create_and_play_dialog(), in_revive_trigger(), IS_DRINKING, is_player_valid(), IS_TRUE, minus_to_player_score(), play_sound_at_pos(), trap_move_switches(), and trap_set_string().
Referenced by trap_init().
function trig_update | ( | parent | ) |
Definition at line 763 of file _zm_traps.gsc.
References WAIT_SERVER_FRAME.
Referenced by trap_activate_rotating().
function private update_trigger_visibility | ( | ) |
function zombie_flame_watch | ( | ) |
Definition at line 976 of file _zm_traps.gsc.
Referenced by damage(), and zombie_trap_death().
function zombie_trap_death | ( | trap | , |
param | |||
) |
Definition at line 878 of file _zm_traps.gsc.
References flame_death_fx(), increment_challenge_stat(), wait_network_frame(), and zombie_flame_watch().
Referenced by trap_damage().