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

Go to the source code of this file.

Functions

function activate_zombie_point_of_interest ()
 
function add_gameloc (gl, dummy1, name, dummy2)
 
function add_gametype (gt, dummy1, name, dummy2)
 
function add_poi_attractor (zombie_poi)
 
function add_poi_to_ignore_list (poi)
 
function add_sound (ref, alias)
 
function add_vox_response_chance (event, chance)
 
function add_zombie_hint (ref, text)
 
function all_chunks_destroyed (barrier, barrier_chunks)
 
function all_chunks_intact (barrier, barrier_chunks)
 
function anchor_delete_failsafe (ai_zombie)
 
function approximate_path_dist (player)
 
function array_check_for_dupes_using_compare (array, single, is_equal_fn)
 
function array_flag_wait_any (flag_array)
 
function array_flag_wait_any_thread (flag_name, condition)
 
function array_limiter (array, total)
 
function assign_zombie_point_of_interest (origin, poi)
 
function bullet_attack (type)
 
function can_attract (attractor)
 
function can_player_purchase_perk ()
 
function change_zombie_run_cycle ()
 
function check_and_create_node_lists ()
 
function check_point_in_enabled_zone (origin, zone_is_active, player_zones)
 
function check_point_in_playable_area (origin)
 
function clear_fog_threads ()
 
function clear_is_drinking ()
 
function clear_run_anim ()
 
function clear_streamer_hint ()
 
function ConvertSecondsToMilliseconds (seconds)
 
function create_counter_hud (x)
 
function create_simple_hud (client, team)
 
function create_streamer_hint (origin, angles, value, lifetime)
 
function create_vox_timer (type)
 
function create_zombie_point_of_interest (attract_dist, num_attractors, added_poi_value, start_turned_on, initial_attract_func, arrival_attract_func, poi_team)
 
function create_zombie_point_of_interest_attractor_positions (num_attract_dists, attract_dist)
 
function deactivate_zombie_point_of_interest (dont_remove)
 
function debug_attack_spots_taken ()
 
function debug_blocker (pos, rad, height)
 
function debug_breadcrumbs ()
 
function debug_draw_attractor_positions ()
 
function debug_draw_claimed_attractor_positions ()
 
function debug_draw_new_attractor_positions ()
 
function debug_print (msg)
 
function debug_round_advancer ()
 
function decrement_ignoreme ()
 
function decrement_is_drinking ()
 
function decrement_no_end_game_check ()
 
function default_validate_enemy_path_length (player)
 
function delete_spawned_path_nodes ()
 
function destroy_ent ()
 
function destroy_hud ()
 
function disable_player_move_states (forceStanceChange)
 
function disable_react ()
 
function display_message (titleText, notifyText, duration)
 
function do_player_general_vox (category, type, timer, chance)
 
function do_player_vo (snd, variation_count)
 
function does_player_have_correct_navcard (player)
 
function does_player_have_map_navcard (player)
 
function draw_line_ent_to_ent (ent1, ent2)
 
function draw_line_ent_to_pos (ent, pos, end_on)
 
function drawcylinder (pos, rad, height)
 
function enable_player_move_states ()
 
function enable_react ()
 
function ent_flag_init_ai_standards ()
 
function ent_flag_wait_ai_standards (message)
 
function fake_physicslaunch (target_pos, power)
 
function flat_angle (angle)
 
function float_print3d (msg, time)
 
function general_vox_timer (timer, type)
 
function generated_radius_attract_positions (forward, offset, num_positions, attract_radius)
 
function get_chunk_state ()
 
function get_closest_2d (origin, ents)
 
function get_closest_index (org, array, dist)
 
function get_closest_index_to_entity (entity, array, dist, extra_check)
 
function get_closest_node (org, nodes)
 
function get_closest_non_destroyed_chunk (origin, barrier, barrier_chunks)
 
function get_closest_player (org)
 
function get_closest_valid_player (origin, ignore_player)
 
function get_current_zone (return_zone)
 
function get_destroyed_chunks (barrier_chunks)
 
function get_destroyed_repair_grates (barrier_chunks)
 
function get_game_var (gvar)
 
function get_gamemode_var (gvar)
 
function get_hint_string (ent, default_ref, cost)
 
function get_non_destroyed_chunks (barrier, barrier_chunks)
 
function get_non_destroyed_chunks_grate (barrier, barrier_chunks)
 
function get_non_destroyed_variant1 (barrier_chunks)
 
function get_non_destroyed_variant2 (barrier_chunks)
 
function get_non_destroyed_variant4 (barrier_chunks)
 
function get_non_destroyed_variant5 (barrier_chunks)
 
function get_number_of_valid_players ()
 
function get_player_closest_to (e_target)
 
function get_player_hero_weapon ()
 
function get_player_index (player)
 
function get_player_lethal_grenade ()
 
function get_player_melee_weapon ()
 
function get_player_perk_purchase_limit ()
 
function get_player_placeable_mine ()
 
function get_player_tactical_grenade ()
 
function get_player_weapon_limit (player)
 
function get_random_destroyed_chunk (barrier, barrier_chunks)
 
function get_specific_character (n_character_index)
 
function get_table_var (table, var_name, value, is_float, column)
 
function get_zombie_hint (ref)
 
function get_zombie_point_of_interest (origin, poi_array)
 
function getWeaponClassZM (weapon)
 
function GetYaw (org)
 
function GetYawToSpot (spot)
 
function give_player_all_perks (b_exclude_quick_revive=false)
 
function give_start_weapon (b_switch_weapon)
 
function giveachievement_wrapper (achievement, all_players)
 
function grate_order_destroyed (chunks_repair_grate)
 
function groundpos (origin)
 
function groundpos_ignore_water (origin)
 
function groundpos_ignore_water_new (origin)
 
function halve_score (n_score)
 
function has_hero_weapon ()
 
function has_player_hero_weapon ()
 
function has_powerup_weapon ()
 
function hudelem_count ()
 
function ignore_triggers (timer)
 
function in_playable_area ()
 
function in_revive_trigger ()
 
function include_weapon (weapon_name, in_box)
 
function increment_ignoreme ()
 
function increment_is_drinking ()
 
function increment_no_end_game_check ()
 
function increment_zm_dash_counter (counter_name, amount)
 
function init_player_hero_weapon ()
 
function init_player_lethal_grenade ()
 
function init_player_melee_weapon ()
 
function init_player_offhand_weapons ()
 
function init_player_placeable_mine ()
 
function init_player_tactical_grenade ()
 
function init_utility ()
 
function init_zombie_run_cycle ()
 
function invalidate_attractor_pos (attractor_pos, zombie)
 
function is_Classic ()
 
function is_Encounter ()
 
function is_explosive_damage (mod)
 
function is_facing (facee, requiredDot=0.5, b_2d=true)
 
function is_favorite_weapon (weapon_to_check)
 
function is_gametype_active (a_gametypes)
 
function is_headshot (weapon, sHitLoc, sMeansOfDeath)
 
function is_hero_weapon (weapon)
 
function is_jumping ()
 
function is_leaper ()
 
function is_lethal_grenade (weapon)
 
function is_limited_weapon (weapon)
 
function is_magic_bullet_shield_enabled (ent)
 
function is_melee_weapon (weapon)
 
function is_multiple_drinking ()
 
function is_offhand_weapon (weapon)
 
function is_placeable_mine (weapon)
 
function is_player ()
 
function is_player_hero_weapon (weapon)
 
function is_player_lethal_grenade (weapon)
 
function is_player_looking_at (origin, dot, do_trace, ignore_ent)
 
function is_player_melee_weapon (weapon)
 
function is_player_offhand_weapon (weapon)
 
function is_player_placeable_mine (weapon)
 
function is_player_revive_tool (weapon)
 
function is_player_tactical_grenade (weapon)
 
function is_player_valid (player, checkIgnoreMeFlag, ignore_laststand_players)
 
function is_point_inside_enabled_zone (v_origin, ignore_zone)
 
function is_quad ()
 
function is_solo_ranked_game ()
 
function is_Standard ()
 
function is_Survival ()
 
function is_tactical_grenade (weapon)
 
function is_valid_zombie_spawn_point (point)
 
function lerp (chunk)
 
function link_changes_internal (func_for_link_list, func_for_unlink_list)
 
function link_changes_internal_internal (list, func)
 
function link_nodes (a, b, bDontUnlinkOnMigrate=false)
 
function link_nodes_wrapper (a, b)
 
function make_supersprinter ()
 
function move_zombie_spawn_location (spot)
 
function no_valid_repairable_boards (barrier, barrier_chunks)
 
function non_destroyed_bar_board_order (origin, chunks)
 
function non_destroyed_grate_order (origin, chunks_grate)
 
function non_destroyed_variant1_order (origin, chunks_variant1)
 
function non_destroyed_variant2_order (origin, chunks_variant2)
 
function non_destroyed_variant4_order (origin, chunks_variant4)
 
function non_destroyed_variant5_order (origin, chunks_variant5)
 
function pick_up ()
 
function place_navcard (str_model, str_stat, org, angles)
 
function places_before_decimal (num)
 
function play_loopsound_on_ent (ref)
 
function play_sound_2D (sound)
 
function play_sound_at_pos (ref, pos, ent)
 
function play_sound_on_ent (ref)
 
function play_vox_to_player (category, type, force_variant)
 
function poi_locations_equal (loc1, loc2)
 
function print3d_at_pos (msg, pos, thread_endon, offset)
 
function print3d_ent (text, color, scale, offset, end_msg, overwrite)
 
function print_run_speed (speed)
 
function random_tan ()
 
function really_play_2D_sound (sound)
 
function recalc_zombie_array ()
 
function redo_link_changes ()
 
function register_custom_spawner_entry (spot_noteworthy, func)
 
function register_hero_weapon_for_level (weaponname)
 
function register_lethal_grenade_for_level (weaponname)
 
function register_map_navcard (navcard_on_map, navcard_needed_for_computer)
 
function register_melee_weapon_for_level (weaponname)
 
function register_offhand_weapons_for_level_defaults ()
 
function register_slowdown (str_type, n_rate, n_duration)
 
function register_tactical_grenade_for_level (weaponname)
 
function remove_mod_from_methodofdeath (mod)
 
function remove_poi_attractor (zombie_poi)
 
function remove_poi_from_ignore_list (poi)
 
function respawn_path_nodes ()
 
function round_up_score (score, value)
 
function round_up_to_ten (score)
 
function run_spawn_functions ()
 
function self_delete ()
 
function set_demo_intermission_point ()
 
function set_game_var (gvar, val)
 
function set_game_var_once (gvar, val)
 
function set_gamemode_var (gvar, val)
 
function set_gamemode_var_once (gvar, val)
 
function set_hint_string (ent, default_ref, cost)
 
function set_player_hero_weapon (weapon)
 
function set_player_lethal_grenade (weapon)
 
function set_player_melee_weapon (weapon)
 
function set_player_placeable_mine (weapon)
 
function set_player_tactical_grenade (weapon)
 
function set_zombie_var (zvar, value, is_float, column, is_team_based)
 
function shock_onexplosion (damage, shockType, shockLight)
 
function shock_onpain ()
 
function should_watch_for_emp ()
 
function show_grate_pull ()
 
function show_grate_repair ()
 
function slowdown_ai (str_type)
 
function sndSwitchAnnouncerVox (who)
 
function spawn_buildkit_weapon_model (player, weapon, camo, origin, angles)
 
function spawn_path_node (origin, angles, k1, v1, k2, v2)
 
function spawn_path_node_internal (origin, angles, k1, v1, k2, v2)
 
function spawn_weapon_model (weapon, model, origin, angles, options)
 
function speed_change_watcher ()
 
function sq_refresh_player_navcard_hud ()
 
function sq_refresh_player_navcard_hud_internal ()
 
function string_to_float (string)
 
function track_players_intersection_tracker ()
 
function trigger_invisible (enable)
 
function undo_link_changes ()
 
function unitrigger_set_hint_string (ent, default_ref, cost)
 
function unlink_nodes (a, b, bDontLinkOnMigrate=false)
 
function unlink_nodes_wrapper (a, b)
 
function update_on_poi_removal (zombie_poi)
 
function update_poi_on_death (zombie_poi)
 
function update_valid_players (origin, ignore_player)
 
function upload_zm_dash_counters (force_upload=false)
 
function upload_zm_dash_counters_end_game ()
 
function wait_clear_streamer_hint (lifetime)
 
function wait_for_attractor_positions_complete ()
 
function waittill_not_moving ()
 
function waittill_subset (min_num, string1, string2, string3, string4, string5)
 
function watch_for_poi_death ()
 
function zm_dash_stats_game_end ()
 
function zm_dash_stats_game_start ()
 
function zm_dash_stats_wait_for_consumable_use ()
 
function zombie_goto_round (n_target_round)
 

Function Documentation

◆ activate_zombie_point_of_interest()

function activate_zombie_point_of_interest ( )

Definition at line 1020 of file _zm_utility.gsc.

◆ add_gameloc()

function add_gameloc ( gl  ,
dummy1  ,
name  ,
dummy2   
)

Description:
"Function Name: add_gameloc()"
"Summary: dummy - Rex looks for these to populate the location pulldown"
"Single Player / Multi Player: zombies"

Definition at line 5064 of file _zm_utility.gsc.

◆ add_gametype()

function add_gametype ( gt  ,
dummy1  ,
name  ,
dummy2   
)

Description:
"Function Name: add_gametype()"
"Summary: dummy - Rex looks for these to populate the gametype pulldown"
"Single Player / Multi Player: zombies"

Definition at line 5053 of file _zm_utility.gsc.

◆ add_poi_attractor()

function add_poi_attractor ( zombie_poi  )

◆ add_poi_to_ignore_list()

function add_poi_to_ignore_list ( poi  )

Definition at line 1350 of file _zm_utility.gsc.

Referenced by jump_pad_enemy_follow_or_ignore(), and stop_chasing_the_sky().

◆ add_sound()

function add_sound ( ref  ,
alias   
)

Definition at line 3030 of file _zm_utility.gsc.

Referenced by init_sounds().

◆ add_vox_response_chance()

function add_vox_response_chance ( event  ,
chance   
)

Definition at line 5379 of file _zm_utility.gsc.

◆ add_zombie_hint()

function add_zombie_hint ( ref  ,
text   
)

Definition at line 2923 of file _zm_utility.gsc.

Referenced by __init__(), and init_strings().

◆ all_chunks_destroyed()

function all_chunks_destroyed ( barrier  ,
barrier_chunks   
)

◆ all_chunks_intact()

function all_chunks_intact ( barrier  ,
barrier_chunks   
)

◆ anchor_delete_failsafe()

function anchor_delete_failsafe ( ai_zombie  )

Definition at line 307 of file _zm_utility.gsc.

Referenced by move_zombie_spawn_location().

◆ approximate_path_dist()

function approximate_path_dist ( player  )

Definition at line 6092 of file _zm_utility.gsc.

References IS_TRUE.

Referenced by factory_closest_player().

◆ array_check_for_dupes_using_compare()

function array_check_for_dupes_using_compare ( array  ,
single  ,
is_equal_fn   
)

Definition at line 1109 of file _zm_utility.gsc.

References array.

Referenced by add_poi_attractor(), and invalidate_attractor_pos().

◆ array_flag_wait_any()

function array_flag_wait_any ( flag_array  )

Definition at line 4549 of file _zm_utility.gsc.

References array_flag_wait_any_thread().

◆ array_flag_wait_any_thread()

function array_flag_wait_any_thread ( flag_name  ,
condition   
)

Definition at line 4571 of file _zm_utility.gsc.

References wait_till().

Referenced by array_flag_wait_any().

◆ array_limiter()

function array_limiter ( array  ,
total   
)

Definition at line 2880 of file _zm_utility.gsc.

References array.

◆ assign_zombie_point_of_interest()

function assign_zombie_point_of_interest ( origin  ,
poi   
)

Definition at line 1065 of file _zm_utility.gsc.

References add_poi_attractor(), can_attract(), and update_on_poi_removal().

◆ bullet_attack()

function bullet_attack ( type  )

Definition at line 4776 of file _zm_utility.gsc.

Referenced by player_attacks_enemy().

◆ can_attract()

function can_attract ( attractor  )

◆ can_player_purchase_perk()

function can_player_purchase_perk ( )

◆ change_zombie_run_cycle()

function change_zombie_run_cycle ( )

Definition at line 155 of file _zm_utility.gsc.

References set_zombie_run_cycle(), and speed_change_watcher().

Referenced by init_zombie_run_cycle().

◆ check_and_create_node_lists()

function check_and_create_node_lists ( )

Definition at line 5583 of file _zm_utility.gsc.

Referenced by link_nodes(), and unlink_nodes().

◆ check_point_in_enabled_zone()

function check_point_in_enabled_zone ( origin  ,
zone_is_active  ,
player_zones   
)

◆ check_point_in_playable_area()

function check_point_in_playable_area ( origin  )

Definition at line 480 of file _zm_utility.gsc.

References spawn().

Referenced by zombieMoveAway().

◆ clear_fog_threads()

function clear_fog_threads ( )

Definition at line 3695 of file _zm_utility.gsc.

◆ clear_is_drinking()

function clear_is_drinking ( )

Definition at line 3920 of file _zm_utility.gsc.

Referenced by player_laststand().

◆ clear_run_anim()

function clear_run_anim ( )

Description:
"Function Name: clear_run_anim()"
"Summary: Clears any set run anims " "Module: AI" "CallOn: an actor"
"Example:guy clear_run_anim();"
"Single Player / Multi Player: singleplayer"

Definition at line 4913 of file _zm_utility.gsc.

◆ clear_streamer_hint()

function clear_streamer_hint ( )

Definition at line 6045 of file _zm_utility.gsc.

Referenced by create_streamer_hint(), and wait_clear_streamer_hint().

◆ ConvertSecondsToMilliseconds()

function ConvertSecondsToMilliseconds ( seconds  )

Definition at line 60 of file _zm_utility.gsc.

◆ create_counter_hud()

function create_counter_hud ( )

Definition at line 3587 of file _zm_utility.gsc.

References create_simple_hud().

Referenced by round_pause().

◆ create_simple_hud()

function create_simple_hud ( client  ,
team   
)

Definition at line 356 of file _zm_utility.gsc.

Referenced by create_counter_hud().

◆ create_streamer_hint()

function create_streamer_hint ( origin  ,
angles  ,
value  ,
lifetime   
)

Definition at line 6064 of file _zm_utility.gsc.

References clear_streamer_hint(), and wait_clear_streamer_hint().

Referenced by player_intermission().

◆ create_vox_timer()

function create_vox_timer ( type  )

Definition at line 5351 of file _zm_utility.gsc.

Referenced by zmbVoxAdd().

◆ create_zombie_point_of_interest()

function create_zombie_point_of_interest ( attract_dist  ,
num_attractors  ,
added_poi_value  ,
start_turned_on  ,
initial_attract_func  ,
arrival_attract_func  ,
poi_team   
)

◆ create_zombie_point_of_interest_attractor_positions()

function create_zombie_point_of_interest_attractor_positions ( num_attract_dists  ,
attract_dist   
)

Definition at line 717 of file _zm_utility.gsc.

References IS_TRUE.

Referenced by player_throw_cymbal_monkey(), and player_throw_octobomb().

◆ deactivate_zombie_point_of_interest()

function deactivate_zombie_point_of_interest ( dont_remove  )

◆ debug_attack_spots_taken()

function debug_attack_spots_taken ( )

Definition at line 3397 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ debug_blocker()

function debug_blocker ( pos  ,
rad  ,
height   
)

Definition at line 3308 of file _zm_utility.gsc.

References drawcylinder(), and WAIT_SERVER_FRAME.

◆ debug_breadcrumbs()

function debug_breadcrumbs ( )

Definition at line 3370 of file _zm_utility.gsc.

References drawcylinder(), and WAIT_SERVER_FRAME.

Referenced by player_zombie_breadcrumb().

◆ debug_draw_attractor_positions()

function debug_draw_attractor_positions ( )

Definition at line 847 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ debug_draw_claimed_attractor_positions()

function debug_draw_claimed_attractor_positions ( )

Definition at line 870 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ debug_draw_new_attractor_positions()

function debug_draw_new_attractor_positions ( )

Definition at line 694 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ debug_print()

function debug_print ( msg  )

Definition at line 3298 of file _zm_utility.gsc.

◆ debug_round_advancer()

function debug_round_advancer ( )

Definition at line 3225 of file _zm_utility.gsc.

References get_round_enemy_array().

◆ decrement_ignoreme()

function decrement_ignoreme ( )

Definition at line 3840 of file _zm_utility.gsc.

References DEFAULT.

Referenced by player_spawn_protection(), and set_ignoreme().

◆ decrement_is_drinking()

◆ decrement_no_end_game_check()

function decrement_no_end_game_check ( )

Definition at line 3939 of file _zm_utility.gsc.

References checkForAllDead(), and DEFAULT.

◆ default_validate_enemy_path_length()

function default_validate_enemy_path_length ( player  )

Definition at line 1380 of file _zm_utility.gsc.

Referenced by init_function_overrides().

◆ delete_spawned_path_nodes()

function delete_spawned_path_nodes ( )

Definition at line 5720 of file _zm_utility.gsc.

Referenced by undo_link_changes().

◆ destroy_ent()

function destroy_ent ( )

Definition at line 4801 of file _zm_utility.gsc.

Referenced by pick_up().

◆ destroy_hud()

function destroy_hud ( )

Definition at line 384 of file _zm_utility.gsc.

Referenced by perk_hud_destroy(), and round_pause().

◆ disable_player_move_states()

function disable_player_move_states ( forceStanceChange  )

◆ disable_react()

function disable_react ( )

Definition at line 4747 of file _zm_utility.gsc.

Referenced by dog_init(), and zombie_spawn_init().

◆ display_message()

function display_message ( titleText  ,
notifyText  ,
duration   
)

Definition at line 3705 of file _zm_utility.gsc.

References notifyMessage().

◆ do_player_general_vox()

◆ do_player_vo()

function do_player_vo ( snd  ,
variation_count   
)

Definition at line 3448 of file _zm_utility.gsc.

References get_player_index().

Referenced by electric_perks_dialog().

◆ does_player_have_correct_navcard()

function does_player_have_correct_navcard ( player  )

Definition at line 5434 of file _zm_utility.gsc.

References get_global_stat().

◆ does_player_have_map_navcard()

function does_player_have_map_navcard ( player  )

Definition at line 5429 of file _zm_utility.gsc.

References get_global_stat().

◆ draw_line_ent_to_ent()

function draw_line_ent_to_ent ( ent1  ,
ent2   
)

Definition at line 3253 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ draw_line_ent_to_pos()

function draw_line_ent_to_pos ( ent  ,
pos  ,
end_on   
)

Definition at line 3272 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

Referenced by fake_physicslaunch(), zombie_assure_node(), and zombie_findnodes().

◆ drawcylinder()

function drawcylinder ( pos  ,
rad  ,
height   
)

Definition at line 3328 of file _zm_utility.gsc.

Referenced by debug_blocker(), and debug_breadcrumbs().

◆ enable_player_move_states()

◆ enable_react()

function enable_react ( )

Definition at line 4767 of file _zm_utility.gsc.

◆ ent_flag_init_ai_standards()

function ent_flag_init_ai_standards ( )

Definition at line 4858 of file _zm_utility.gsc.

References ent_flag_wait_ai_standards(), and init().

◆ ent_flag_wait_ai_standards()

function ent_flag_wait_ai_standards ( message  )

Definition at line 4872 of file _zm_utility.gsc.

Referenced by ent_flag_init_ai_standards().

◆ fake_physicslaunch()

function fake_physicslaunch ( target_pos  ,
power   
)

Definition at line 2896 of file _zm_utility.gsc.

References draw_line_ent_to_pos().

Referenced by remove_chunk().

◆ flat_angle()

function flat_angle ( angle  )

Description:
"Function Name: flat_angle( <angle> )"
"Summary: Returns the specified angle as a flat angle.( 45, 90, 30 ) becomes( 0, 90, 0 ). Useful if you just need an angle around Y - axis." "Module: Vector" "CallOn: "
"Mandatory Argument(s): <angle> : angles to flatten"
"Example:yaw = flat_angle( node.angles );"
"Single Player / Multi Player: singleplayer"

Definition at line 4898 of file _zm_utility.gsc.

◆ float_print3d()

function float_print3d ( msg  ,
time   
)

Definition at line 3433 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ general_vox_timer()

function general_vox_timer ( timer  ,
type   
)

Definition at line 5334 of file _zm_utility.gsc.

References timer().

Referenced by do_player_general_vox().

◆ generated_radius_attract_positions()

function generated_radius_attract_positions ( forward  ,
offset  ,
num_positions  ,
attract_radius   
)

Definition at line 784 of file _zm_utility.gsc.

References ARRAY_ADD, IS_TRUE, and server_safe_ground_trace().

◆ get_chunk_state()

◆ get_closest_2d()

function get_closest_2d ( origin  ,
ents   
)

Definition at line 2304 of file _zm_utility.gsc.

References ARRAY_ADD.

Referenced by non_destroyed_bar_board_order().

◆ get_closest_index()

function get_closest_index ( org  ,
array  ,
dist   
)

Description:
"Function Name: get_closest_index( <org> , <array> , <dist> )"
"Summary: same as getClosest but returns the closest entity's array index instead of the actual entity." "Module: Distance" "CallOn: "
"Mandatory Argument(s): <org> : Origin to be closest to."
"Mandatory Argument(s): <array> : Array of entities to check distance on."
"Optional Argument(s): <dist> : Maximum distance to check"
"Example:"
"Single Player / Multi Player: mp"

Definition at line 5080 of file _zm_utility.gsc.

References array.

◆ get_closest_index_to_entity()

function get_closest_index_to_entity ( entity  ,
array  ,
dist  ,
extra_check   
)

Description:
"Function Name: get_closest_index( <org> , <array> , <dist> )"
"Summary: same as getClosest but returns the closest entity's array index instead of the actual entity." "Module: Distance" "CallOn: "
"Mandatory Argument(s): <org> : Origin to be closest to."
"Mandatory Argument(s): <array> : Array of entities to check distance on."
"Optional Argument(s): <dist> : Maximum distance to check"
"Example:"
"Single Player / Multi Player: mp"

Definition at line 5134 of file _zm_utility.gsc.

References array.

◆ get_closest_node()

function get_closest_node ( org  ,
nodes   
)

Definition at line 1714 of file _zm_utility.gsc.

◆ get_closest_non_destroyed_chunk()

function get_closest_non_destroyed_chunk ( origin  ,
barrier  ,
barrier_chunks   
)

◆ get_closest_player()

function get_closest_player ( org  )

Description:
"Function Name: get_closest_player( <org> )"
"Summary: Returns the closest player to the given origin." "Module: Coop"
"Mandatory Argument(s): <origin>: The vector to use to compare the distances to"
"Example:closest_player = get_closest_player( objective.origin );"
"Single Player / Multi Player: singleplayer"

Definition at line 4850 of file _zm_utility.gsc.

◆ get_closest_valid_player()

function get_closest_valid_player ( origin  ,
ignore_player   
)

Definition at line 1393 of file _zm_utility.gsc.

References add(), and IS_TRUE.

◆ get_current_zone()

function get_current_zone ( return_zone  )

◆ get_destroyed_chunks()

function get_destroyed_chunks ( barrier_chunks  )

Definition at line 2702 of file _zm_utility.gsc.

References array, and get_chunk_state().

Referenced by get_random_destroyed_chunk().

◆ get_destroyed_repair_grates()

function get_destroyed_repair_grates ( barrier_chunks  )

Definition at line 2480 of file _zm_utility.gsc.

References array.

Referenced by get_random_destroyed_chunk().

◆ get_game_var()

function get_game_var ( gvar  )

Definition at line 5198 of file _zm_utility.gsc.

Referenced by getFreeSpawnpoint(), and updatePlayerNum().

◆ get_gamemode_var()

function get_gamemode_var ( gvar  )

Definition at line 5208 of file _zm_utility.gsc.

Referenced by zombie_spawn_init().

◆ get_hint_string()

function get_hint_string ( ent  ,
default_ref  ,
cost   
)

Definition at line 2974 of file _zm_utility.gsc.

References get_zombie_hint(), and IS_TRUE.

Referenced by blocker_trigger_think(), and boxstub_update_prompt().

◆ get_non_destroyed_chunks()

function get_non_destroyed_chunks ( barrier  ,
barrier_chunks   
)

◆ get_non_destroyed_chunks_grate()

function get_non_destroyed_chunks_grate ( barrier  ,
barrier_chunks   
)

Definition at line 2585 of file _zm_utility.gsc.

References array.

Referenced by get_closest_non_destroyed_chunk().

◆ get_non_destroyed_variant1()

function get_non_destroyed_variant1 ( barrier_chunks  )

Definition at line 2614 of file _zm_utility.gsc.

References array.

◆ get_non_destroyed_variant2()

function get_non_destroyed_variant2 ( barrier_chunks  )

Definition at line 2636 of file _zm_utility.gsc.

References array.

◆ get_non_destroyed_variant4()

function get_non_destroyed_variant4 ( barrier_chunks  )

Definition at line 2658 of file _zm_utility.gsc.

References array.

◆ get_non_destroyed_variant5()

function get_non_destroyed_variant5 ( barrier_chunks  )

Definition at line 2680 of file _zm_utility.gsc.

References array.

◆ get_number_of_valid_players()

function get_number_of_valid_players ( )

Definition at line 1666 of file _zm_utility.gsc.

References is_player_valid().

Referenced by dog_round_spawning().

◆ get_player_closest_to()

function get_player_closest_to ( e_target  )

Definition at line 6213 of file _zm_utility.gsc.

References e_target.

◆ get_player_hero_weapon()

function get_player_hero_weapon ( )

Definition at line 4430 of file _zm_utility.gsc.

Referenced by player_hero_power_event(), and weapon_give().

◆ get_player_index()

function get_player_index ( player  )

◆ get_player_lethal_grenade()

◆ get_player_melee_weapon()

◆ get_player_perk_purchase_limit()

function get_player_perk_purchase_limit ( )

◆ get_player_placeable_mine()

function get_player_placeable_mine ( )

◆ get_player_tactical_grenade()

◆ get_player_weapon_limit()

function get_player_weapon_limit ( player  )

◆ get_random_destroyed_chunk()

function get_random_destroyed_chunk ( barrier  ,
barrier_chunks   
)

◆ get_specific_character()

function get_specific_character ( n_character_index  )

Definition at line 5974 of file _zm_utility.gsc.

◆ get_table_var()

function get_table_var ( table  ,
var_name  ,
value  ,
is_float  ,
column   
)

Definition at line 3174 of file _zm_utility.gsc.

References string_to_float().

◆ get_zombie_hint()

function get_zombie_hint ( ref  )

Definition at line 2933 of file _zm_utility.gsc.

Referenced by get_hint_string(), set_hint_string(), and unitrigger_set_hint_string().

◆ get_zombie_point_of_interest()

function get_zombie_point_of_interest ( origin  ,
poi_array   
)

◆ getWeaponClassZM()

function getWeaponClassZM ( weapon  )

Definition at line 4036 of file _zm_utility.gsc.

References getStatsTableName(), and STATS_TABLE_COL_GROUP.

◆ GetYaw()

function GetYaw ( org  )

Definition at line 4720 of file _zm_utility.gsc.

Referenced by GetYawToSpot().

◆ GetYawToSpot()

function GetYawToSpot ( spot  )

Definition at line 4727 of file _zm_utility.gsc.

References GetYaw().

◆ give_player_all_perks()

function give_player_all_perks ( b_exclude_quick_revive  = false)

Definition at line 5917 of file _zm_utility.gsc.

References give_perk(), and PERK_QUICK_REVIVE.

◆ give_start_weapon()

◆ giveachievement_wrapper()

function giveachievement_wrapper ( achievement  ,
all_players   
)

Description:
"Function Name: giveachievement_wrapper( <achievment>, [all_players] )"
"Summary: Gives an Achievement to the specified player" "Module: Mp"
"Mandatory Argument(s): <achievment>: The code string for the achievement"
"Optional Argument(s): [all_players]: If true, then give everyone the achievement"
"Example:player giveachievement_wrapper( "MAK_ACHIEVEMENT_RYAN" );"
"Single Player / Multi Player: singleplayer"

Definition at line 4649 of file _zm_utility.gsc.

References IS_TRUE.

◆ grate_order_destroyed()

function grate_order_destroyed ( chunks_repair_grate  )

Definition at line 2745 of file _zm_utility.gsc.

References show_grate_repair().

Referenced by get_random_destroyed_chunk().

◆ groundpos()

function groundpos ( origin  )

◆ groundpos_ignore_water()

function groundpos_ignore_water ( origin  )

Definition at line 4585 of file _zm_utility.gsc.

Referenced by _server_safe_ground_trace_ignore_water().

◆ groundpos_ignore_water_new()

function groundpos_ignore_water_new ( origin  )

◆ halve_score()

function halve_score ( n_score  )

Definition at line 579 of file _zm_utility.gsc.

References round_up_score().

◆ has_hero_weapon()

function has_hero_weapon ( )

Definition at line 4524 of file _zm_utility.gsc.

References IS_TRUE.

◆ has_player_hero_weapon()

function has_player_hero_weapon ( )

Definition at line 4459 of file _zm_utility.gsc.

Referenced by hero_power_event().

◆ has_powerup_weapon()

function has_powerup_weapon ( )

◆ hudelem_count()

function hudelem_count ( )

Definition at line 3207 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ ignore_triggers()

function ignore_triggers ( timer  )

Description:
"Function Name: ignore_triggers( <timer> )"
"Summary: Makes the entity that this is threaded on not able to set off triggers for a certain length of time." "Module: Utility" "CallOn: an entity"
"Example:guy thread ignore_triggers( 0.2 );"
"Single Player / Multi Player: singleplayer"

Definition at line 4621 of file _zm_utility.gsc.

References timer().

◆ in_playable_area()

function in_playable_area ( )

Definition at line 2368 of file _zm_utility.gsc.

◆ in_revive_trigger()

◆ include_weapon()

function include_weapon ( weapon_name  ,
in_box   
)

Definition at line 3515 of file _zm_utility.gsc.

References include_zombie_weapon().

Referenced by load_weapon_spec_from_table().

◆ increment_ignoreme()

function increment_ignoreme ( )

Definition at line 3833 of file _zm_utility.gsc.

References DEFAULT.

Referenced by player_spawn_protection(), and set_ignoreme().

◆ increment_is_drinking()

◆ increment_no_end_game_check()

function increment_no_end_game_check ( )

Definition at line 3932 of file _zm_utility.gsc.

References DEFAULT.

◆ increment_zm_dash_counter()

function increment_zm_dash_counter ( counter_name  ,
amount   
)

◆ init_player_hero_weapon()

function init_player_hero_weapon ( )

Definition at line 4454 of file _zm_utility.gsc.

References set_player_hero_weapon().

Referenced by init_player_offhand_weapons().

◆ init_player_lethal_grenade()

function init_player_lethal_grenade ( )

Definition at line 4192 of file _zm_utility.gsc.

References set_player_lethal_grenade().

Referenced by init_player_offhand_weapons(), and widows_wine_perk_lost().

◆ init_player_melee_weapon()

function init_player_melee_weapon ( )

Definition at line 4386 of file _zm_utility.gsc.

References set_player_melee_weapon().

Referenced by init_player_offhand_weapons(), and widows_wine_perk_lost().

◆ init_player_offhand_weapons()

◆ init_player_placeable_mine()

function init_player_placeable_mine ( )

Definition at line 4316 of file _zm_utility.gsc.

References set_player_placeable_mine().

Referenced by init_player_offhand_weapons().

◆ init_player_tactical_grenade()

function init_player_tactical_grenade ( )

Definition at line 4262 of file _zm_utility.gsc.

References set_player_tactical_grenade().

Referenced by init_player_offhand_weapons().

◆ init_utility()

function init_utility ( )

Definition at line 35 of file _zm_utility.gsc.

◆ init_zombie_run_cycle()

function init_zombie_run_cycle ( )

◆ invalidate_attractor_pos()

function invalidate_attractor_pos ( attractor_pos  ,
zombie   
)

◆ is_Classic()

function is_Classic ( )

◆ is_Encounter()

function is_Encounter ( )

Definition at line 450 of file _zm_utility.gsc.

◆ is_explosive_damage()

function is_explosive_damage ( mod  )

◆ is_facing()

function is_facing ( facee  ,
requiredDot  = 0.5,
b_2d  = true 
)

Definition at line 6228 of file _zm_utility.gsc.

◆ is_favorite_weapon()

function is_favorite_weapon ( weapon_to_check  )

Definition at line 5361 of file _zm_utility.gsc.

◆ is_gametype_active()

function is_gametype_active ( a_gametypes  )

Definition at line 5835 of file _zm_utility.gsc.

◆ is_headshot()

function is_headshot ( weapon  ,
sHitLoc  ,
sMeansOfDeath   
)

◆ is_hero_weapon()

◆ is_jumping()

function is_jumping ( )

Definition at line 5286 of file _zm_utility.gsc.

◆ is_leaper()

function is_leaper ( )

Definition at line 3725 of file _zm_utility.gsc.

◆ is_lethal_grenade()

◆ is_limited_weapon()

function is_limited_weapon ( weapon  )

Definition at line 4117 of file _zm_utility.gsc.

◆ is_magic_bullet_shield_enabled()

function is_magic_bullet_shield_enabled ( ent  )

◆ is_melee_weapon()

◆ is_multiple_drinking()

function is_multiple_drinking ( )

Definition at line 3891 of file _zm_utility.gsc.

Referenced by do_melee_weapon_flourish_end(), and perk_give_bottle_end().

◆ is_offhand_weapon()

◆ is_placeable_mine()

◆ is_player()

function is_player ( )

Definition at line 65 of file _zm_utility.gsc.

References IS_TRUE.

Referenced by areNearbySpeakersActive(), and shouldPlayerSpeak().

◆ is_player_hero_weapon()

function is_player_hero_weapon ( weapon  )

Definition at line 4419 of file _zm_utility.gsc.

Referenced by is_player_offhand_weapon().

◆ is_player_lethal_grenade()

function is_player_lethal_grenade ( weapon  )

Definition at line 4156 of file _zm_utility.gsc.

Referenced by is_player_offhand_weapon().

◆ is_player_looking_at()

function is_player_looking_at ( origin  ,
dot  ,
do_trace  ,
ignore_ent   
)

Description:
"Function Name: is_player_looking_at( <origin>, <dot>, <do_trace> )"
"Summary: Checks to see if the player can dot and trace to a point" "Module: Player" "CallOn: A Player"
"Mandatory Argument(s): <org> The position you're checking if the player is looking at"
"Optional Argument(s): <dot> Optional override dot (between 0 and 1) the higher the number, the more the player has to be looking right at the spot."
"Optional Argument(s): <do_trace> Set to false to skip the bullet trace check"
"Optional Argument(s): <ignore_ent> Ignore ent passed to trace check"
"Example:if ( GetPlayers()[0] is_player_looking_at( org.origin ) )"
"Single Player / Multi Player: zombies"

Definition at line 5009 of file _zm_utility.gsc.

References get_eye().

◆ is_player_melee_weapon()

function is_player_melee_weapon ( weapon  )

Definition at line 4350 of file _zm_utility.gsc.

Referenced by is_player_offhand_weapon().

◆ is_player_offhand_weapon()

◆ is_player_placeable_mine()

function is_player_placeable_mine ( weapon  )

Definition at line 4280 of file _zm_utility.gsc.

Referenced by is_player_offhand_weapon(), and replenish_after_rounds().

◆ is_player_revive_tool()

function is_player_revive_tool ( weapon  )

Definition at line 4107 of file _zm_utility.gsc.

References IS_EQUAL.

Referenced by treasure_chest_think(), and wait_for_player_to_take().

◆ is_player_tactical_grenade()

function is_player_tactical_grenade ( weapon  )

Definition at line 4226 of file _zm_utility.gsc.

Referenced by is_player_offhand_weapon(), and offhand_weapon_give_override().

◆ is_player_valid()

function is_player_valid ( player  ,
checkIgnoreMeFlag  ,
ignore_laststand_players   
)

Definition at line 1600 of file _zm_utility.gsc.

References IS_TRUE, and player_is_in_laststand().

Referenced by get_number_of_valid_players(), and place_navcard().

◆ is_point_inside_enabled_zone()

function is_point_inside_enabled_zone ( v_origin  ,
ignore_zone   
)

Definition at line 6012 of file _zm_utility.gsc.

References Spawn().

◆ is_quad()

function is_quad ( )

Definition at line 3720 of file _zm_utility.gsc.

◆ is_solo_ranked_game()

function is_solo_ranked_game ( )

Definition at line 6253 of file _zm_utility.gsc.

Referenced by updateEndOfMatchCounters().

◆ is_Standard()

function is_Standard ( )

Definition at line 47 of file _zm_utility.gsc.

Referenced by should_delete_zbarriers().

◆ is_Survival()

function is_Survival ( )

Definition at line 445 of file _zm_utility.gsc.

◆ is_tactical_grenade()

◆ is_valid_zombie_spawn_point()

function is_valid_zombie_spawn_point ( point  )

Definition at line 5105 of file _zm_utility.gsc.

◆ lerp()

◆ link_changes_internal()

function link_changes_internal ( func_for_link_list  ,
func_for_unlink_list   
)

Definition at line 5781 of file _zm_utility.gsc.

References link_changes_internal_internal().

Referenced by redo_link_changes(), and undo_link_changes().

◆ link_changes_internal_internal()

function link_changes_internal_internal ( list  ,
func   
)

Definition at line 5752 of file _zm_utility.gsc.

References IS_TRUE.

Referenced by link_changes_internal().

◆ link_nodes()

function link_nodes ( a  ,
,
bDontUnlinkOnMigrate  = false 
)

Definition at line 5596 of file _zm_utility.gsc.

References a, and check_and_create_node_lists().

◆ link_nodes_wrapper()

function link_nodes_wrapper ( a  ,
 
)

Definition at line 5796 of file _zm_utility.gsc.

References a.

Referenced by redo_link_changes(), and undo_link_changes().

◆ make_supersprinter()

function make_supersprinter ( )

Definition at line 173 of file _zm_utility.gsc.

References set_zombie_run_cycle().

◆ move_zombie_spawn_location()

function move_zombie_spawn_location ( spot  )

◆ no_valid_repairable_boards()

function no_valid_repairable_boards ( barrier  ,
barrier_chunks   
)

Definition at line 419 of file _zm_utility.gsc.

References get_chunk_state().

Referenced by blocker_think(), and blocker_trigger_think().

◆ non_destroyed_bar_board_order()

function non_destroyed_bar_board_order ( origin  ,
chunks   
)

Definition at line 1720 of file _zm_utility.gsc.

References get_closest_2d().

Referenced by get_closest_non_destroyed_chunk().

◆ non_destroyed_grate_order()

function non_destroyed_grate_order ( origin  ,
chunks_grate   
)

Definition at line 1808 of file _zm_utility.gsc.

References show_grate_pull().

Referenced by get_closest_non_destroyed_chunk().

◆ non_destroyed_variant1_order()

function non_destroyed_variant1_order ( origin  ,
chunks_variant1   
)

Definition at line 1928 of file _zm_utility.gsc.

◆ non_destroyed_variant2_order()

function non_destroyed_variant2_order ( origin  ,
chunks_variant2   
)

Definition at line 2023 of file _zm_utility.gsc.

◆ non_destroyed_variant4_order()

function non_destroyed_variant4_order ( origin  ,
chunks_variant4   
)

Definition at line 2116 of file _zm_utility.gsc.

◆ non_destroyed_variant5_order()

function non_destroyed_variant5_order ( origin  ,
chunks_variant5   
)

Definition at line 2209 of file _zm_utility.gsc.

◆ pick_up()

function pick_up ( )

Definition at line 4787 of file _zm_utility.gsc.

References destroy_ent().

◆ place_navcard()

function place_navcard ( str_model  ,
str_stat  ,
org  ,
angles   
)

◆ places_before_decimal()

function places_before_decimal ( num  )

Definition at line 608 of file _zm_utility.gsc.

◆ play_loopsound_on_ent()

function play_loopsound_on_ent ( ref  )

Definition at line 3097 of file _zm_utility.gsc.

◆ play_sound_2D()

function play_sound_2D ( sound  )

Definition at line 3493 of file _zm_utility.gsc.

References really_play_2D_sound().

Referenced by player_teleporting().

◆ play_sound_at_pos()

◆ play_sound_on_ent()

◆ play_vox_to_player()

function play_vox_to_player ( category  ,
type  ,
force_variant   
)

Definition at line 5356 of file _zm_utility.gsc.

◆ poi_locations_equal()

function poi_locations_equal ( loc1  ,
loc2   
)

Definition at line 1122 of file _zm_utility.gsc.

Referenced by add_poi_attractor(), and invalidate_attractor_pos().

◆ print3d_at_pos()

function print3d_at_pos ( msg  ,
pos  ,
thread_endon  ,
offset   
)

Definition at line 3346 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ print3d_ent()

function print3d_ent ( text  ,
color  ,
scale  ,
offset  ,
end_msg  ,
overwrite   
)

Definition at line 3541 of file _zm_utility.gsc.

References IS_TRUE, and WAIT_SERVER_FRAME.

◆ print_run_speed()

function print_run_speed ( speed  )

Definition at line 3241 of file _zm_utility.gsc.

References WAIT_SERVER_FRAME.

◆ random_tan()

function random_tan ( )

Definition at line 587 of file _zm_utility.gsc.

◆ really_play_2D_sound()

function really_play_2D_sound ( sound  )

Definition at line 3483 of file _zm_utility.gsc.

References spawn(), and WAIT_SERVER_FRAME.

Referenced by play_sound_2D().

◆ recalc_zombie_array()

function recalc_zombie_array ( )

Definition at line 96 of file _zm_utility.gsc.

Referenced by zombie_death_animscript(), zombie_death_event(), and zombie_spawn_init().

◆ redo_link_changes()

function redo_link_changes ( )

◆ register_custom_spawner_entry()

function register_custom_spawner_entry ( spot_noteworthy  ,
func   
)

Definition at line 5855 of file _zm_utility.gsc.

◆ register_hero_weapon_for_level()

function register_hero_weapon_for_level ( weaponname  )

Definition at line 4392 of file _zm_utility.gsc.

References is_hero_weapon().

Referenced by register_hero_weapon().

◆ register_lethal_grenade_for_level()

function register_lethal_grenade_for_level ( weaponname  )

◆ register_map_navcard()

function register_map_navcard ( navcard_on_map  ,
navcard_needed_for_computer   
)

Definition at line 5423 of file _zm_utility.gsc.

◆ register_melee_weapon_for_level()

function register_melee_weapon_for_level ( weaponname  )

◆ register_offhand_weapons_for_level_defaults()

function register_offhand_weapons_for_level_defaults ( )

◆ register_slowdown()

function register_slowdown ( str_type  ,
n_rate  ,
n_duration   
)

Definition at line 6131 of file _zm_utility.gsc.

Referenced by __init__().

◆ register_tactical_grenade_for_level()

function register_tactical_grenade_for_level ( weaponname  )

◆ remove_mod_from_methodofdeath()

function remove_mod_from_methodofdeath ( mod  )

Definition at line 3683 of file _zm_utility.gsc.

Referenced by check_for_instakill().

◆ remove_poi_attractor()

function remove_poi_attractor ( zombie_poi  )

Definition at line 1087 of file _zm_utility.gsc.

Referenced by update_poi_on_death().

◆ remove_poi_from_ignore_list()

function remove_poi_from_ignore_list ( poi  )

Definition at line 1335 of file _zm_utility.gsc.

Referenced by jump_pad_ignore_poi_cleanup().

◆ respawn_path_nodes()

function respawn_path_nodes ( )

Definition at line 5736 of file _zm_utility.gsc.

References spawn_path_node_internal().

Referenced by redo_link_changes().

◆ round_up_score()

function round_up_score ( score  ,
value   
)

Definition at line 567 of file _zm_utility.gsc.

Referenced by halve_score().

◆ round_up_to_ten()

function round_up_to_ten ( score  )

Definition at line 557 of file _zm_utility.gsc.

◆ run_spawn_functions()

function run_spawn_functions ( )

Definition at line 319 of file _zm_utility.gsc.

References single_thread().

◆ self_delete()

function self_delete ( )

Description:
"Function Name: self_delete()"
"Summary: Just calls the delete() script command on self. Reason for this is so that we can use array::thread_all to delete entities" "Module: Entity" "CallOn: An entity"
"Example:ai[ 0 ] thread self_delete();"
"Single Player / Multi Player: singleplayer"

Definition at line 4604 of file _zm_utility.gsc.

◆ set_demo_intermission_point()

function set_demo_intermission_point ( )

Definition at line 5384 of file _zm_utility.gsc.

Referenced by init().

◆ set_game_var()

function set_game_var ( gvar  ,
val   
)

Definition at line 5185 of file _zm_utility.gsc.

Referenced by getFreeSpawnpoint(), main(), and updatePlayerNum().

◆ set_game_var_once()

function set_game_var_once ( gvar  ,
val   
)

Definition at line 5190 of file _zm_utility.gsc.

Referenced by main().

◆ set_gamemode_var()

function set_gamemode_var ( gvar  ,
val   
)

Definition at line 5162 of file _zm_utility.gsc.

Referenced by main().

◆ set_gamemode_var_once()

function set_gamemode_var_once ( gvar  ,
val   
)

Definition at line 5172 of file _zm_utility.gsc.

Referenced by main().

◆ set_hint_string()

function set_hint_string ( ent  ,
default_ref  ,
cost   
)

Definition at line 2948 of file _zm_utility.gsc.

References get_zombie_hint(), and IS_TRUE.

Referenced by debris_init(), door_init(), door_opened(), door_think(), and reset_wallbuy_internal().

◆ set_player_hero_weapon()

function set_player_hero_weapon ( weapon  )

Definition at line 4443 of file _zm_utility.gsc.

Referenced by init_player_hero_weapon(), and weapon_give().

◆ set_player_lethal_grenade()

◆ set_player_melee_weapon()

function set_player_melee_weapon ( weapon  )

◆ set_player_placeable_mine()

function set_player_placeable_mine ( weapon  )

◆ set_player_tactical_grenade()

◆ set_zombie_var()

function set_zombie_var ( zvar  ,
value  ,
is_float  ,
column  ,
is_team_based   
)

Definition at line 3145 of file _zm_utility.gsc.

References IS_TRUE.

◆ shock_onexplosion()

function shock_onexplosion ( damage  ,
shockType  ,
shockLight   
)

Definition at line 3794 of file _zm_utility.gsc.

References damage().

Referenced by shock_onpain().

◆ shock_onpain()

function shock_onpain ( )

Definition at line 3730 of file _zm_utility.gsc.

References damage(), IS_TRUE, and shock_onexplosion().

◆ should_watch_for_emp()

function should_watch_for_emp ( )

Definition at line 4466 of file _zm_utility.gsc.

References IS_TRUE.

Referenced by powerup_emp(), watch_for_emp(), and watch_for_emp_close().

◆ show_grate_pull()

function show_grate_pull ( )

Definition at line 2295 of file _zm_utility.gsc.

Referenced by non_destroyed_grate_order().

◆ show_grate_repair()

function show_grate_repair ( )

Definition at line 2867 of file _zm_utility.gsc.

Referenced by grate_order_destroyed().

◆ slowdown_ai()

function slowdown_ai ( str_type  )

Definition at line 6148 of file _zm_utility.gsc.

Referenced by raygun_mark3_damage_response().

◆ sndSwitchAnnouncerVox()

function sndSwitchAnnouncerVox ( who  )

Definition at line 5305 of file _zm_utility.gsc.

◆ spawn_buildkit_weapon_model()

function spawn_buildkit_weapon_model ( player  ,
weapon  ,
camo  ,
origin  ,
angles   
)

Definition at line 4087 of file _zm_utility.gsc.

References get_pack_a_punch_camo_index(), is_weapon_upgraded(), and spawn().

◆ spawn_path_node()

function spawn_path_node ( origin  ,
angles  ,
k1  ,
v1  ,
k2  ,
v2   
)

Definition at line 5679 of file _zm_utility.gsc.

References spawn_path_node_internal().

◆ spawn_path_node_internal()

function spawn_path_node_internal ( origin  ,
angles  ,
k1  ,
v1  ,
k2  ,
v2   
)

Definition at line 5702 of file _zm_utility.gsc.

Referenced by respawn_path_nodes(), and spawn_path_node().

◆ spawn_weapon_model()

function spawn_weapon_model ( weapon  ,
model  ,
origin  ,
angles  ,
options   
)

Definition at line 4061 of file _zm_utility.gsc.

References spawn().

◆ speed_change_watcher()

function speed_change_watcher ( )

Definition at line 178 of file _zm_utility.gsc.

Referenced by change_zombie_run_cycle().

◆ sq_refresh_player_navcard_hud()

function sq_refresh_player_navcard_hud ( )

Definition at line 5500 of file _zm_utility.gsc.

References sq_refresh_player_navcard_hud_internal().

Referenced by place_navcard().

◆ sq_refresh_player_navcard_hud_internal()

function sq_refresh_player_navcard_hud_internal ( )

Definition at line 5511 of file _zm_utility.gsc.

References get_global_stat(), set(), and wait_network_frame().

Referenced by sq_refresh_player_navcard_hud().

◆ string_to_float()

function string_to_float ( string  )

Definition at line 3119 of file _zm_utility.gsc.

Referenced by get_table_var().

◆ track_players_intersection_tracker()

function track_players_intersection_tracker ( )

Definition at line 4923 of file _zm_utility.gsc.

References increment_client_stat(), increment_map_cheat_stat(), and player_is_in_laststand().

Referenced by init().

◆ trigger_invisible()

function trigger_invisible ( enable  )

Definition at line 3527 of file _zm_utility.gsc.

References enable().

◆ undo_link_changes()

function undo_link_changes ( )

◆ unitrigger_set_hint_string()

function unitrigger_set_hint_string ( ent  ,
default_ref  ,
cost   
)

Definition at line 2988 of file _zm_utility.gsc.

References get_zombie_hint(), and IS_TRUE.

Referenced by fire_sale_fix().

◆ unlink_nodes()

function unlink_nodes ( a  ,
,
bDontLinkOnMigrate  = false 
)

Definition at line 5636 of file _zm_utility.gsc.

References a, and check_and_create_node_lists().

◆ unlink_nodes_wrapper()

function unlink_nodes_wrapper ( a  ,
 
)

Definition at line 5804 of file _zm_utility.gsc.

References a.

Referenced by redo_link_changes(), and undo_link_changes().

◆ update_on_poi_removal()

function update_on_poi_removal ( zombie_poi  )

Definition at line 1271 of file _zm_utility.gsc.

Referenced by assign_zombie_point_of_interest().

◆ update_poi_on_death()

function update_poi_on_death ( zombie_poi  )

Definition at line 1260 of file _zm_utility.gsc.

References remove_poi_attractor().

Referenced by add_poi_attractor().

◆ update_valid_players()

function update_valid_players ( origin  ,
ignore_player   
)

Definition at line 1519 of file _zm_utility.gsc.

References add(), and IS_TRUE.

Referenced by zombieFindFleshCode().

◆ upload_zm_dash_counters()

function upload_zm_dash_counters ( force_upload  = false)

◆ upload_zm_dash_counters_end_game()

function upload_zm_dash_counters_end_game ( )

Definition at line 6260 of file _zm_utility.gsc.

Referenced by end_game().

◆ wait_clear_streamer_hint()

function wait_clear_streamer_hint ( lifetime  )

Definition at line 6055 of file _zm_utility.gsc.

References clear_streamer_hint().

Referenced by create_streamer_hint().

◆ wait_for_attractor_positions_complete()

function wait_for_attractor_positions_complete ( )

Definition at line 5941 of file _zm_utility.gsc.

Referenced by player_throw_cymbal_monkey(), and player_throw_octobomb().

◆ waittill_not_moving()

function waittill_not_moving ( )

Description:
"Function Name: waittill_not_moving()"
"Summary: waits for the object to stop moving" "Module: Utility" "CallOn: Object that moves like a thrown grenade"
"Example:self waittill_not_moving();"
"Single Player / Multi Player: singleplayer"

Definition at line 4816 of file _zm_utility.gsc.

◆ waittill_subset()

function waittill_subset ( min_num  ,
string1  ,
string2  ,
string3  ,
string4  ,
string5   
)

Definition at line 5218 of file _zm_utility.gsc.

References waittill_string().

◆ watch_for_poi_death()

function watch_for_poi_death ( )

Definition at line 683 of file _zm_utility.gsc.

Referenced by create_zombie_point_of_interest().

◆ zm_dash_stats_game_end()

function zm_dash_stats_game_end ( )

Definition at line 6266 of file _zm_utility.gsc.

Referenced by end_game().

◆ zm_dash_stats_game_start()

function zm_dash_stats_game_start ( )

Definition at line 6264 of file _zm_utility.gsc.

Referenced by zm_on_player_connect().

◆ zm_dash_stats_wait_for_consumable_use()

function zm_dash_stats_wait_for_consumable_use ( )

Definition at line 6268 of file _zm_utility.gsc.

Referenced by zm_on_player_connect().

◆ zombie_goto_round()

function zombie_goto_round ( n_target_round  )