![]() |
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 | 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 activate_zombie_point_of_interest | ( | ) |
Definition at line 1020 of file _zm_utility.gsc.
| 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.
| 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.
| function add_poi_attractor | ( | zombie_poi | ) |
Definition at line 1128 of file _zm_utility.gsc.
References ARRAY_ADD, array_check_for_dupes_using_compare(), end(), IS_TRUE, poi_locations_equal(), and update_poi_on_death().
Referenced by assign_zombie_point_of_interest(), and get_zombie_point_of_interest().
| 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().
| function add_sound | ( | ref | , |
| alias | |||
| ) |
Definition at line 3030 of file _zm_utility.gsc.
Referenced by init_sounds().
| function add_vox_response_chance | ( | event | , |
| chance | |||
| ) |
Definition at line 5379 of file _zm_utility.gsc.
| function add_zombie_hint | ( | ref | , |
| text | |||
| ) |
Definition at line 2923 of file _zm_utility.gsc.
Referenced by __init__(), and init_strings().
| function all_chunks_destroyed | ( | barrier | , |
| barrier_chunks | |||
| ) |
Definition at line 455 of file _zm_utility.gsc.
References get_chunk_state().
Referenced by get_num_window_destroyed(), tear_into_building(), zombieShouldEnterPlayableCondition(), and zombieShouldTearCondition().
| function all_chunks_intact | ( | barrier | , |
| barrier_chunks | |||
| ) |
Definition at line 392 of file _zm_utility.gsc.
References get_chunk_state().
Referenced by blocker_think(), blocker_trigger_think(), get_closest_window_repair(), repair_far_boards(), start_carpenter(), and start_carpenter_new().
| function anchor_delete_failsafe | ( | ai_zombie | ) |
Definition at line 307 of file _zm_utility.gsc.
Referenced by move_zombie_spawn_location().
| function approximate_path_dist | ( | player | ) |
Definition at line 6092 of file _zm_utility.gsc.
References IS_TRUE.
Referenced by factory_closest_player().
| 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().
| function array_flag_wait_any | ( | flag_array | ) |
Definition at line 4549 of file _zm_utility.gsc.
References 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().
| function array_limiter | ( | array | , |
| total | |||
| ) |
Definition at line 2880 of file _zm_utility.gsc.
References array.
| 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().
| function bullet_attack | ( | type | ) |
Definition at line 4776 of file _zm_utility.gsc.
Referenced by player_attacks_enemy().
| function can_attract | ( | attractor | ) |
Definition at line 1236 of file _zm_utility.gsc.
Referenced by assign_zombie_point_of_interest(), and get_zombie_point_of_interest().
| function can_player_purchase_perk | ( | ) |
Definition at line 5899 of file _zm_utility.gsc.
References get_player_perk_purchase_limit(), and is_enabled().
Referenced by grab_check(), perk_random_machine_stub_update_prompt(), and vending_trigger_think().
| 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().
| function check_and_create_node_lists | ( | ) |
Definition at line 5583 of file _zm_utility.gsc.
Referenced by link_nodes(), and unlink_nodes().
| function check_point_in_enabled_zone | ( | origin | , |
| zone_is_active | , | ||
| player_zones | |||
| ) |
Definition at line 512 of file _zm_utility.gsc.
References IS_TRUE, and spawn().
Referenced by calculate_spawn_position(), check_for_valid_spawn_near_team(), find_alternate_player_place(), parasite_drop_item(), player_throw_cymbal_monkey(), and player_throw_octobomb().
| function check_point_in_playable_area | ( | origin | ) |
| function clear_fog_threads | ( | ) |
Definition at line 3695 of file _zm_utility.gsc.
| function clear_is_drinking | ( | ) |
Definition at line 3920 of file _zm_utility.gsc.
Referenced by player_laststand().
| 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.
| function clear_streamer_hint | ( | ) |
Definition at line 6045 of file _zm_utility.gsc.
Referenced by create_streamer_hint(), and wait_clear_streamer_hint().
| function ConvertSecondsToMilliseconds | ( | seconds | ) |
Definition at line 60 of file _zm_utility.gsc.
| function create_counter_hud | ( | x | ) |
Definition at line 3587 of file _zm_utility.gsc.
References create_simple_hud().
Referenced by round_pause().
| function create_simple_hud | ( | client | , |
| team | |||
| ) |
Definition at line 356 of file _zm_utility.gsc.
Referenced by create_counter_hud().
| 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().
| function create_vox_timer | ( | type | ) |
Definition at line 5351 of file _zm_utility.gsc.
Referenced by zmbVoxAdd().
| function create_zombie_point_of_interest | ( | attract_dist | , |
| num_attractors | , | ||
| added_poi_value | , | ||
| start_turned_on | , | ||
| initial_attract_func | , | ||
| arrival_attract_func | , | ||
| poi_team | |||
| ) |
Definition at line 624 of file _zm_utility.gsc.
References ARRAY_ADD, and watch_for_poi_death().
Referenced by jump_pad_move(), player_throw_cymbal_monkey(), player_throw_octobomb(), and powerup_zombie_grab().
| 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().
| function deactivate_zombie_point_of_interest | ( | dont_remove | ) |
Definition at line 1030 of file _zm_utility.gsc.
References IS_TRUE, and remove_undefined().
Referenced by disconnect_failsafe_pad_poi_clean(), failsafe_pad_poi_clean(), jump_pad_move(), and watch_for_emp().
| function debug_attack_spots_taken | ( | ) |
Definition at line 3397 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| function debug_blocker | ( | pos | , |
| rad | , | ||
| height | |||
| ) |
Definition at line 3308 of file _zm_utility.gsc.
References drawcylinder(), and WAIT_SERVER_FRAME.
| function debug_breadcrumbs | ( | ) |
Definition at line 3370 of file _zm_utility.gsc.
References drawcylinder(), and WAIT_SERVER_FRAME.
Referenced by player_zombie_breadcrumb().
| function debug_draw_attractor_positions | ( | ) |
Definition at line 847 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| function debug_draw_claimed_attractor_positions | ( | ) |
Definition at line 870 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| function debug_draw_new_attractor_positions | ( | ) |
Definition at line 694 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| function debug_print | ( | msg | ) |
Definition at line 3298 of file _zm_utility.gsc.
| function debug_round_advancer | ( | ) |
Definition at line 3225 of file _zm_utility.gsc.
References get_round_enemy_array().
| function decrement_ignoreme | ( | ) |
Definition at line 3840 of file _zm_utility.gsc.
References DEFAULT.
Referenced by player_spawn_protection(), and set_ignoreme().
| function decrement_is_drinking | ( | ) |
Definition at line 3898 of file _zm_utility.gsc.
Referenced by craftable_use_hold_think_internal(), do_melee_weapon_flourish_end(), perk_abort_drinking(), perk_give_bottle_end(), player_too_many_weapons_monitor_takeaway_sequence(), player_too_many_weapons_monitor_takeaway_simultaneous(), upgrade_knuckle_crack_end(), weapon_powerup_remove(), and weapon_powerup_replace().
| function decrement_no_end_game_check | ( | ) |
Definition at line 3939 of file _zm_utility.gsc.
References checkForAllDead(), and DEFAULT.
| function default_validate_enemy_path_length | ( | player | ) |
Definition at line 1380 of file _zm_utility.gsc.
Referenced by init_function_overrides().
| function delete_spawned_path_nodes | ( | ) |
Definition at line 5720 of file _zm_utility.gsc.
Referenced by undo_link_changes().
| function destroy_ent | ( | ) |
Definition at line 4801 of file _zm_utility.gsc.
Referenced by pick_up().
| function destroy_hud | ( | ) |
Definition at line 384 of file _zm_utility.gsc.
Referenced by perk_hud_destroy(), and round_pause().
| function disable_player_move_states | ( | forceStanceChange | ) |
Definition at line 5536 of file _zm_utility.gsc.
Referenced by craftable_use_hold_think_internal(), do_melee_weapon_flourish_begin(), perk_give_bottle_begin(), and upgrade_knuckle_crack_begin().
| function disable_react | ( | ) |
Definition at line 4747 of file _zm_utility.gsc.
Referenced by dog_init(), and zombie_spawn_init().
| function display_message | ( | titleText | , |
| notifyText | , | ||
| duration | |||
| ) |
Definition at line 3705 of file _zm_utility.gsc.
References notifyMessage().
| function do_player_general_vox | ( | category | , |
| type | , | ||
| timer | , | ||
| chance | |||
| ) |
Definition at line 5317 of file _zm_utility.gsc.
References create_and_play_dialog(), general_vox_timer(), and timer().
Referenced by player_take_piece(), track_craftable_piece_pickedup(), track_craftable_pieces_crafted(), track_craftables_crafted(), track_craftables_pickedup(), and track_placed_craftables().
| 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().
| function does_player_have_correct_navcard | ( | player | ) |
Definition at line 5434 of file _zm_utility.gsc.
References get_global_stat().
| function does_player_have_map_navcard | ( | player | ) |
Definition at line 5429 of file _zm_utility.gsc.
References get_global_stat().
| function draw_line_ent_to_ent | ( | ent1 | , |
| ent2 | |||
| ) |
Definition at line 3253 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| 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().
| function drawcylinder | ( | pos | , |
| rad | , | ||
| height | |||
| ) |
Definition at line 3328 of file _zm_utility.gsc.
Referenced by debug_blocker(), and debug_breadcrumbs().
| function enable_player_move_states | ( | ) |
Definition at line 5554 of file _zm_utility.gsc.
Referenced by craftable_use_hold_think_internal(), do_melee_weapon_flourish_end(), perk_abort_drinking(), perk_give_bottle_end(), and upgrade_knuckle_crack_end().
| function enable_react | ( | ) |
Definition at line 4767 of file _zm_utility.gsc.
| function ent_flag_init_ai_standards | ( | ) |
Definition at line 4858 of file _zm_utility.gsc.
References ent_flag_wait_ai_standards(), and init().
| function ent_flag_wait_ai_standards | ( | message | ) |
Definition at line 4872 of file _zm_utility.gsc.
Referenced by ent_flag_init_ai_standards().
| 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().
| 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.
| function float_print3d | ( | msg | , |
| time | |||
| ) |
Definition at line 3433 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| function general_vox_timer | ( | timer | , |
| type | |||
| ) |
Definition at line 5334 of file _zm_utility.gsc.
References timer().
Referenced by do_player_general_vox().
| 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().
| function get_chunk_state | ( | ) |
Definition at line 2873 of file _zm_utility.gsc.
Referenced by all_chunks_destroyed(), all_chunks_intact(), get_destroyed_chunks(), get_non_destroyed_chunks(), and no_valid_repairable_boards().
| 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().
| 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.
| 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.
| function get_closest_node | ( | org | , |
| nodes | |||
| ) |
Definition at line 1714 of file _zm_utility.gsc.
| function get_closest_non_destroyed_chunk | ( | origin | , |
| barrier | , | ||
| barrier_chunks | |||
| ) |
Definition at line 2392 of file _zm_utility.gsc.
References get_non_destroyed_chunks(), get_non_destroyed_chunks_grate(), non_destroyed_bar_board_order(), and non_destroyed_grate_order().
Referenced by getChunkService(), and tear_into_building().
| 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.
| function get_closest_valid_player | ( | origin | , |
| ignore_player | |||
| ) |
Definition at line 1393 of file _zm_utility.gsc.
| function get_current_zone | ( | return_zone | ) |
Definition at line 3614 of file _zm_utility.gsc.
References IS_EQUAL, IS_TRUE, and wait_till().
Referenced by get_player_zone(), increment_downed_stat(), parasite_drop_item(), recordRoundEndStats(), recordRoundStartStats(), and update_zone_name().
| 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().
| function get_destroyed_repair_grates | ( | barrier_chunks | ) |
Definition at line 2480 of file _zm_utility.gsc.
References array.
Referenced by get_random_destroyed_chunk().
| function get_game_var | ( | gvar | ) |
Definition at line 5198 of file _zm_utility.gsc.
Referenced by getFreeSpawnpoint(), and updatePlayerNum().
| function get_gamemode_var | ( | gvar | ) |
Definition at line 5208 of file _zm_utility.gsc.
Referenced by zombie_spawn_init().
| 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().
| function get_non_destroyed_chunks | ( | barrier | , |
| barrier_chunks | |||
| ) |
Definition at line 2506 of file _zm_utility.gsc.
References array, and get_chunk_state().
Referenced by get_closest_non_destroyed_chunk(), razGetNonDestroyedChuncks(), and zombieShouldAttackThroughBoardsCondition().
| 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().
| function get_non_destroyed_variant1 | ( | barrier_chunks | ) |
Definition at line 2614 of file _zm_utility.gsc.
References array.
| function get_non_destroyed_variant2 | ( | barrier_chunks | ) |
Definition at line 2636 of file _zm_utility.gsc.
References array.
| function get_non_destroyed_variant4 | ( | barrier_chunks | ) |
Definition at line 2658 of file _zm_utility.gsc.
References array.
| function get_non_destroyed_variant5 | ( | barrier_chunks | ) |
Definition at line 2680 of file _zm_utility.gsc.
References array.
| function get_number_of_valid_players | ( | ) |
Definition at line 1666 of file _zm_utility.gsc.
References is_player_valid().
Referenced by dog_round_spawning().
| function get_player_closest_to | ( | e_target | ) |
Definition at line 6213 of file _zm_utility.gsc.
References e_target.
| function get_player_hero_weapon | ( | ) |
Definition at line 4430 of file _zm_utility.gsc.
Referenced by player_hero_power_event(), and weapon_give().
| function get_player_index | ( | player | ) |
Definition at line 5949 of file _zm_utility.gsc.
Referenced by do_player_vo(), shouldPlayerSpeak(), spawn_vo(), trap_dialog(), vending_trigger_think(), and vending_weapon_upgrade().
| function get_player_lethal_grenade | ( | ) |
Definition at line 4167 of file _zm_utility.gsc.
Referenced by award_grenades_for_survivors(), last_stand_grenade_save_and_return(), onPlayerSpawned(), weapon_give(), weapon_spawn_think(), widows_wine_perk_activate(), and widows_wine_perk_lost().
| function get_player_melee_weapon | ( | ) |
Definition at line 4361 of file _zm_utility.gsc.
Referenced by change_melee_weapon(), determine_fallback_weapon(), give_ballistic_knife(), player_can_see_weapon_prompt(), and widows_wine_perk_activate().
| function get_player_perk_purchase_limit | ( | ) |
Definition at line 5886 of file _zm_utility.gsc.
Referenced by can_player_purchase_perk(), and perk_random_machine_stub_update_prompt().
| function get_player_placeable_mine | ( | ) |
Definition at line 4291 of file _zm_utility.gsc.
Referenced by pickup_placeable_mine(), placeable_mine_can_buy_weapon_extra_check_func(), spectator_respawn(), and weapon_give().
| function get_player_tactical_grenade | ( | ) |
Definition at line 4237 of file _zm_utility.gsc.
Referenced by last_stand_grenade_save_and_return(), offhand_weapon_give_override(), player_give_cymbal_monkey_upgraded(), player_give_octobomb(), and weapon_give().
| function get_player_weapon_limit | ( | player | ) |
Definition at line 5865 of file _zm_utility.gsc.
References PERK_ADDITIONAL_PRIMARY_WEAPON.
Referenced by player_too_many_weapons_monitor(), wait_for_player_to_take(), and weapon_give().
| function get_random_destroyed_chunk | ( | barrier | , |
| barrier_chunks | |||
| ) |
Definition at line 2438 of file _zm_utility.gsc.
References get_destroyed_chunks(), get_destroyed_repair_grates(), and grate_order_destroyed().
Referenced by blocker_trigger_think(), start_carpenter(), and start_carpenter_new().
| function get_specific_character | ( | n_character_index | ) |
Definition at line 5974 of file _zm_utility.gsc.
| function get_table_var | ( | table | , |
| var_name | , | ||
| value | , | ||
| is_float | , | ||
| column | |||
| ) |
Definition at line 3174 of file _zm_utility.gsc.
References string_to_float().
| 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().
| function get_zombie_point_of_interest | ( | origin | , |
| poi_array | |||
| ) |
Definition at line 893 of file _zm_utility.gsc.
References add_poi_attractor(), can_attract(), groundpos(), groundpos_ignore_water_new(), ignore(), and IS_TRUE.
Referenced by invalidate_attractor_pos(), razTargetService(), zombieFindFlesh(), and zombieFindFleshCode().
| function getWeaponClassZM | ( | weapon | ) |
Definition at line 4036 of file _zm_utility.gsc.
References getStatsTableName(), and STATS_TABLE_COL_GROUP.
| function GetYaw | ( | org | ) |
Definition at line 4720 of file _zm_utility.gsc.
Referenced by GetYawToSpot().
| function GetYawToSpot | ( | spot | ) |
Definition at line 4727 of file _zm_utility.gsc.
References GetYaw().
| 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.
| function give_start_weapon | ( | b_switch_weapon | ) |
Definition at line 4530 of file _zm_utility.gsc.
References DEFAULT, get_global_stat(), and weapon_give().
Referenced by give_start_weapons(), giveCustomLoadout(), onPlayerSpawned(), player_too_many_weapons_monitor_takeaway_sequence(), and player_too_many_weapons_monitor_takeaway_simultaneous().
| 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.
| 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().
| function groundpos | ( | origin | ) |
Definition at line 4580 of file _zm_utility.gsc.
Referenced by _server_safe_ground_trace(), blocker_init(), blocker_trigger_think(), and get_zombie_point_of_interest().
| function groundpos_ignore_water | ( | origin | ) |
Definition at line 4585 of file _zm_utility.gsc.
Referenced by _server_safe_ground_trace_ignore_water().
| function groundpos_ignore_water_new | ( | origin | ) |
Definition at line 4590 of file _zm_utility.gsc.
Referenced by blocker_attack_spots(), fallerDropActionUpdate(), get_zombie_point_of_interest(), zombie_fall_loop(), and zombie_faller_do_fall().
| function halve_score | ( | n_score | ) |
Definition at line 579 of file _zm_utility.gsc.
References round_up_score().
| function has_hero_weapon | ( | ) |
Definition at line 4524 of file _zm_utility.gsc.
References IS_TRUE.
| function has_player_hero_weapon | ( | ) |
Definition at line 4459 of file _zm_utility.gsc.
Referenced by hero_power_event().
| function has_powerup_weapon | ( | ) |
Definition at line 4519 of file _zm_utility.gsc.
References IS_TRUE.
Referenced by can_revive(), last_stand_pistol_swap(), melee_weapon_think(), player_too_many_weapons_monitor(), and weapon_spawn_think().
| function hudelem_count | ( | ) |
Definition at line 3207 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| 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().
| function in_playable_area | ( | ) |
Definition at line 2368 of file _zm_utility.gsc.
| function in_revive_trigger | ( | ) |
Definition at line 1684 of file _zm_utility.gsc.
Referenced by anystub_update_prompt(), blockerstub_update_prompt(), can_buy_perk(), can_buy_weapon(), check_player_has_perk(), debris_think(), door_buy(), equipment_spawn_think(), gravity_trap_trigger_think(), melee_weapon_think(), player_continue_crafting(), player_fails_blocker_repair_trigger_preamble(), powerup_grab(), shield_recharge_trigger_think(), trap_use_think(), treasure_chest_think(), unitrigger_logic(), and vending_trigger_can_player_use().
| 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().
| function increment_ignoreme | ( | ) |
Definition at line 3833 of file _zm_utility.gsc.
References DEFAULT.
Referenced by player_spawn_protection(), and set_ignoreme().
| function increment_is_drinking | ( | ) |
Definition at line 3859 of file _zm_utility.gsc.
References IS_TRUE.
Referenced by craftable_use_hold_think_internal(), do_melee_weapon_flourish_begin(), perk_give_bottle_begin(), player_too_many_weapons_monitor_takeaway_sequence(), upgrade_knuckle_crack_begin(), and weapon_powerup().
| function increment_no_end_game_check | ( | ) |
Definition at line 3932 of file _zm_utility.gsc.
References DEFAULT.
| function increment_zm_dash_counter | ( | counter_name | , |
| amount | |||
| ) |
Definition at line 6262 of file _zm_utility.gsc.
Referenced by first_consumables_used_watcher(), players_reached_rounds_counter_watcher(), post_all_players_connected(), updateEndOfMatchCounters(), zm_on_player_connect(), and zm_on_player_disconnect().
| 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().
| 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().
| 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().
| function init_player_offhand_weapons | ( | ) |
Definition at line 4496 of file _zm_utility.gsc.
References init_player_equipment(), init_player_hero_weapon(), init_player_lethal_grenade(), init_player_melee_weapon(), init_player_placeable_mine(), and init_player_tactical_grenade().
Referenced by onPlayerSpawned().
| 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().
| 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().
| function init_utility | ( | ) |
Definition at line 35 of file _zm_utility.gsc.
| function init_zombie_run_cycle | ( | ) |
Definition at line 116 of file _zm_utility.gsc.
References change_zombie_run_cycle(), get_current_zombie_count(), and set_zombie_run_cycle().
Referenced by zombie_spawn_init().
| function invalidate_attractor_pos | ( | attractor_pos | , |
| zombie | |||
| ) |
Definition at line 1290 of file _zm_utility.gsc.
References array_check_for_dupes_using_compare(), get_zombie_point_of_interest(), and poi_locations_equal().
Referenced by zombie_pathing().
| function is_Classic | ( | ) |
Definition at line 42 of file _zm_utility.gsc.
Referenced by __main__(), checkforbleedout(), grab_carpenter(), insta_kill_powerup(), should_delete_zbarriers(), and zombie_death_event().
| function is_Encounter | ( | ) |
Definition at line 450 of file _zm_utility.gsc.
| function is_explosive_damage | ( | mod | ) |
Definition at line 5294 of file _zm_utility.gsc.
Referenced by actor_damage_override(), get_mod_type(), and player_damage_update_explosive_info().
| function is_facing | ( | facee | , |
| requiredDot | = 0.5, |
||
| b_2d | = true |
||
| ) |
Definition at line 6228 of file _zm_utility.gsc.
| function is_favorite_weapon | ( | weapon_to_check | ) |
Definition at line 5361 of file _zm_utility.gsc.
| function is_gametype_active | ( | a_gametypes | ) |
Definition at line 5835 of file _zm_utility.gsc.
| function is_headshot | ( | weapon | , |
| sHitLoc | , | ||
| sMeansOfDeath | |||
| ) |
Definition at line 5265 of file _zm_utility.gsc.
Referenced by actor_damage_override(), actor_killed_override(), death_check_for_challenge_updates(), get_mod_type(), player_last_stand_stats(), and zombie_death_event().
| function is_hero_weapon | ( | weapon | ) |
Definition at line 4408 of file _zm_utility.gsc.
Referenced by full_ammo_powerup(), is_offhand_weapon(), laststand_disable_player_weapons(), laststand_enable_player_weapons(), register_hero_weapon_for_level(), treasure_chest_give_weapon(), watch_for_glitches(), watch_hero_weapon_change(), watch_hero_weapon_give(), watch_hero_weapon_take(), weapon_change_watcher(), weapon_drop_watcher(), and weapon_give().
| function is_jumping | ( | ) |
Definition at line 5286 of file _zm_utility.gsc.
| function is_leaper | ( | ) |
Definition at line 3725 of file _zm_utility.gsc.
| function is_lethal_grenade | ( | weapon | ) |
Definition at line 4145 of file _zm_utility.gsc.
Referenced by full_ammo_powerup(), is_offhand_weapon(), register_lethal_grenade_for_level(), switch_back_primary_weapon(), watchForScriptExplosion(), weapon_give(), weapon_spawn_think(), and widows_wine_override_wallbuy_purchase().
| function is_limited_weapon | ( | weapon | ) |
Definition at line 4117 of file _zm_utility.gsc.
| function is_magic_bullet_shield_enabled | ( | ent | ) |
Definition at line 3474 of file _zm_utility.gsc.
References IS_TRUE.
Referenced by check_for_instakill(), dog_spawn_fx(), findZombieEnemy(), lc_get_enemies_in_area(), nuke_powerup(), teleport_nuke(), zombie_damage(), and zombie_damage_ads().
| function is_melee_weapon | ( | weapon | ) |
Definition at line 4339 of file _zm_utility.gsc.
Referenced by is_offhand_weapon(), perk_give_bottle_end(), register_melee_weapon_for_level(), show_all_weapon_buys(), switch_back_primary_weapon(), weapon_give(), weapon_spawn_think(), and widows_wine_override_melee_wallbuy_purchase().
| 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().
| function is_offhand_weapon | ( | weapon | ) |
Definition at line 4507 of file _zm_utility.gsc.
References is_equipment(), is_hero_weapon(), is_lethal_grenade(), is_melee_weapon(), is_placeable_mine(), and is_tactical_grenade().
Referenced by ammo_give(), default_magic_box_check_equipment(), laststand_disable_player_weapons(), player_give_loadout(), and weapon_give().
| function is_placeable_mine | ( | weapon | ) |
Definition at line 4267 of file _zm_utility.gsc.
References DEFAULT.
Referenced by add_dynamic_wallbuy(), can_buy_perk(), can_buy_weapon(), craftable_place_think(), decide_hide_show_hint(), do_melee_weapon_flourish_end(), get_mod_type(), is_offhand_weapon(), laststand_enable_player_weapons(), melee_weapon_think(), perk_give_bottle_end(), player_damage_override(), revive_give_back_weapons(), switch_back_primary_weapon(), treasure_chest_think(), trigger_visible_to_player(), upgrade_knuckle_crack_begin(), wait_for_player_to_take(), watchForGrenadeDuds(), weapon_give(), weapon_spawn_think(), zombie_damage(), and zombie_death_event().
| function is_player | ( | ) |
Definition at line 65 of file _zm_utility.gsc.
References IS_TRUE.
Referenced by areNearbySpeakersActive(), and shouldPlayerSpeak().
| function is_player_hero_weapon | ( | weapon | ) |
Definition at line 4419 of file _zm_utility.gsc.
Referenced by is_player_offhand_weapon().
| function is_player_lethal_grenade | ( | weapon | ) |
Definition at line 4156 of file _zm_utility.gsc.
Referenced by is_player_offhand_weapon().
| 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().
| function is_player_melee_weapon | ( | weapon | ) |
Definition at line 4350 of file _zm_utility.gsc.
Referenced by is_player_offhand_weapon().
| function is_player_offhand_weapon | ( | weapon | ) |
Definition at line 4513 of file _zm_utility.gsc.
References is_player_equipment(), is_player_hero_weapon(), is_player_lethal_grenade(), is_player_melee_weapon(), is_player_placeable_mine(), and is_player_tactical_grenade().
| 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().
| 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().
| 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().
| 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().
| function is_point_inside_enabled_zone | ( | v_origin | , |
| ignore_zone | |||
| ) |
Definition at line 6012 of file _zm_utility.gsc.
References Spawn().
| function is_quad | ( | ) |
Definition at line 3720 of file _zm_utility.gsc.
| function is_solo_ranked_game | ( | ) |
Definition at line 6253 of file _zm_utility.gsc.
Referenced by updateEndOfMatchCounters().
| function is_Standard | ( | ) |
Definition at line 47 of file _zm_utility.gsc.
Referenced by should_delete_zbarriers().
| function is_Survival | ( | ) |
Definition at line 445 of file _zm_utility.gsc.
| function is_tactical_grenade | ( | weapon | ) |
Definition at line 4215 of file _zm_utility.gsc.
Referenced by is_offhand_weapon(), offhand_weapon_give_override(), register_tactical_grenade_for_level(), switch_back_primary_weapon(), weapon_give(), and zombie_can_drop_powerups().
| function is_valid_zombie_spawn_point | ( | point | ) |
Definition at line 5105 of file _zm_utility.gsc.
| function lerp | ( | chunk | ) |
Definition at line 71 of file _zm_utility.gsc.
References Spawn(), and waittill_multiple().
Referenced by duration_lerp_thread(), duration_lerp_thread_per_player(), ramp_in_out_thread(), ramp_in_out_thread_per_player_internal(), ramp_in_thread_per_player(), and set_state_active().
| 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().
| function link_changes_internal_internal | ( | list | , |
| func | |||
| ) |
Definition at line 5752 of file _zm_utility.gsc.
References IS_TRUE.
Referenced by link_changes_internal().
| function link_nodes | ( | a | , |
| b | , | ||
| bDontUnlinkOnMigrate | = false |
||
| ) |
Definition at line 5596 of file _zm_utility.gsc.
References a, and check_and_create_node_lists().
| function link_nodes_wrapper | ( | a | , |
| b | |||
| ) |
Definition at line 5796 of file _zm_utility.gsc.
References a.
Referenced by redo_link_changes(), and undo_link_changes().
| function make_supersprinter | ( | ) |
Definition at line 173 of file _zm_utility.gsc.
References set_zombie_run_cycle().
| function move_zombie_spawn_location | ( | spot | ) |
Definition at line 188 of file _zm_utility.gsc.
References anchor_delete_failsafe(), do_zombie_fall(), do_zombie_rise(), get_desired_origin(), IS_TRUE, and spawn().
Referenced by round_start().
| 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().
| 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().
| 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().
| function non_destroyed_variant1_order | ( | origin | , |
| chunks_variant1 | |||
| ) |
Definition at line 1928 of file _zm_utility.gsc.
| function non_destroyed_variant2_order | ( | origin | , |
| chunks_variant2 | |||
| ) |
Definition at line 2023 of file _zm_utility.gsc.
| function non_destroyed_variant4_order | ( | origin | , |
| chunks_variant4 | |||
| ) |
Definition at line 2116 of file _zm_utility.gsc.
| function non_destroyed_variant5_order | ( | origin | , |
| chunks_variant5 | |||
| ) |
Definition at line 2209 of file _zm_utility.gsc.
| function pick_up | ( | ) |
Definition at line 4787 of file _zm_utility.gsc.
References destroy_ent().
| function place_navcard | ( | str_model | , |
| str_stat | , | ||
| org | , | ||
| angles | |||
| ) |
Definition at line 5443 of file _zm_utility.gsc.
References array, get_global_stat(), is_player_valid(), set_global_stat(), spawn(), Spawn(), sq_refresh_player_navcard_hud(), and wait_network_frame().
| function places_before_decimal | ( | num | ) |
Definition at line 608 of file _zm_utility.gsc.
| function play_loopsound_on_ent | ( | ref | ) |
Definition at line 3097 of file _zm_utility.gsc.
| function play_sound_2D | ( | sound | ) |
Definition at line 3493 of file _zm_utility.gsc.
References really_play_2D_sound().
Referenced by player_teleporting().
| function play_sound_at_pos | ( | ref | , |
| pos | , | ||
| ent | |||
| ) |
Definition at line 3040 of file _zm_utility.gsc.
Referenced by check_for_change(), debris_think(), door_activate(), door_buy(), door_opened(), melee_weapon_show(), replace_chunk(), trap_use_think(), treasure_chest_lid_close(), treasure_chest_lid_open(), treasure_chest_think(), and weapon_show().
| function play_sound_on_ent | ( | ref | ) |
Definition at line 3070 of file _zm_utility.gsc.
Referenced by ammo_give(), blocker_trigger_think(), debris_move(), handle_post_board_repair_rewards(), melee_weapon_think(), playerzombie_play_sound(), weapon_give(), weapon_spawn_think(), widows_wine_override_melee_wallbuy_purchase(), widows_wine_override_wallbuy_purchase(), zombie_bartear_audio_offset(), zombie_bartear_audio_plus_fx_offset_repair_horizontal(), zombie_bartear_audio_plus_fx_offset_repair_verticle(), zombie_boardtear_audio_offset(), zombie_boardtear_audio_plus_fx_offset_repair_horizontal(), zombie_boardtear_audio_plus_fx_offset_repair_verticle(), and zombie_gratetear_audio_plus_fx_offset_repair_horizontal().
| function play_vox_to_player | ( | category | , |
| type | , | ||
| force_variant | |||
| ) |
Definition at line 5356 of file _zm_utility.gsc.
| function poi_locations_equal | ( | loc1 | , |
| loc2 | |||
| ) |
Definition at line 1122 of file _zm_utility.gsc.
Referenced by add_poi_attractor(), and invalidate_attractor_pos().
| function print3d_at_pos | ( | msg | , |
| pos | , | ||
| thread_endon | , | ||
| offset | |||
| ) |
Definition at line 3346 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| 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.
| function print_run_speed | ( | speed | ) |
Definition at line 3241 of file _zm_utility.gsc.
References WAIT_SERVER_FRAME.
| function random_tan | ( | ) |
Definition at line 587 of file _zm_utility.gsc.
| 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().
| 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().
| function redo_link_changes | ( | ) |
Definition at line 5824 of file _zm_utility.gsc.
References link_changes_internal(), link_nodes_wrapper(), respawn_path_nodes(), and unlink_nodes_wrapper().
Referenced by Callback_HostMigration().
| function register_custom_spawner_entry | ( | spot_noteworthy | , |
| func | |||
| ) |
Definition at line 5855 of file _zm_utility.gsc.
| 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().
| function register_lethal_grenade_for_level | ( | weaponname | ) |
Definition at line 4128 of file _zm_utility.gsc.
References is_lethal_grenade().
Referenced by init_widows_wine(), offhand_weapon_overrride(), and register_offhand_weapons_for_level_defaults().
| function register_map_navcard | ( | navcard_on_map | , |
| navcard_needed_for_computer | |||
| ) |
Definition at line 5423 of file _zm_utility.gsc.
| function register_melee_weapon_for_level | ( | weaponname | ) |
Definition at line 4322 of file _zm_utility.gsc.
References is_melee_weapon().
Referenced by init(), init_widows_wine(), offhand_weapon_overrride(), and register_offhand_weapons_for_level_defaults().
| function register_offhand_weapons_for_level_defaults | ( | ) |
Definition at line 4471 of file _zm_utility.gsc.
References register_lethal_grenade_for_level(), register_melee_weapon_for_level(), and register_tactical_grenade_for_level().
Referenced by init().
| function register_slowdown | ( | str_type | , |
| n_rate | , | ||
| n_duration | |||
| ) |
Definition at line 6131 of file _zm_utility.gsc.
Referenced by __init__().
| function register_tactical_grenade_for_level | ( | weaponname | ) |
Definition at line 4198 of file _zm_utility.gsc.
References is_tactical_grenade().
Referenced by offhand_weapon_overrride(), and register_offhand_weapons_for_level_defaults().
| function remove_mod_from_methodofdeath | ( | mod | ) |
Definition at line 3683 of file _zm_utility.gsc.
Referenced by check_for_instakill().
| function remove_poi_attractor | ( | zombie_poi | ) |
Definition at line 1087 of file _zm_utility.gsc.
Referenced by update_poi_on_death().
| function remove_poi_from_ignore_list | ( | poi | ) |
Definition at line 1335 of file _zm_utility.gsc.
Referenced by jump_pad_ignore_poi_cleanup().
| function respawn_path_nodes | ( | ) |
Definition at line 5736 of file _zm_utility.gsc.
References spawn_path_node_internal().
Referenced by redo_link_changes().
| function round_up_score | ( | score | , |
| value | |||
| ) |
Definition at line 567 of file _zm_utility.gsc.
Referenced by halve_score().
| function round_up_to_ten | ( | score | ) |
Definition at line 557 of file _zm_utility.gsc.
| function run_spawn_functions | ( | ) |
Definition at line 319 of file _zm_utility.gsc.
References single_thread().
| 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.
| function set_demo_intermission_point | ( | ) |
Definition at line 5384 of file _zm_utility.gsc.
Referenced by init().
| function set_game_var | ( | gvar | , |
| val | |||
| ) |
Definition at line 5185 of file _zm_utility.gsc.
Referenced by getFreeSpawnpoint(), main(), and updatePlayerNum().
| function set_game_var_once | ( | gvar | , |
| val | |||
| ) |
Definition at line 5190 of file _zm_utility.gsc.
Referenced by main().
| function set_gamemode_var | ( | gvar | , |
| val | |||
| ) |
Definition at line 5162 of file _zm_utility.gsc.
Referenced by main().
| function set_gamemode_var_once | ( | gvar | , |
| val | |||
| ) |
Definition at line 5172 of file _zm_utility.gsc.
Referenced by main().
| 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().
| function set_player_hero_weapon | ( | weapon | ) |
Definition at line 4443 of file _zm_utility.gsc.
Referenced by init_player_hero_weapon(), and weapon_give().
| function set_player_lethal_grenade | ( | weapon | ) |
Definition at line 4180 of file _zm_utility.gsc.
Referenced by init_player_lethal_grenade(), last_stand_grenade_save_and_return(), weapon_give(), weapon_spawn_think(), widows_wine_perk_activate(), and widows_wine_perk_lost().
| function set_player_melee_weapon | ( | weapon | ) |
Definition at line 4374 of file _zm_utility.gsc.
Referenced by change_melee_weapon(), init_player_melee_weapon(), widows_wine_perk_activate(), and widows_wine_perk_lost().
| function set_player_placeable_mine | ( | weapon | ) |
Definition at line 4304 of file _zm_utility.gsc.
Referenced by init_player_placeable_mine(), pickup_placeable_mine(), replenish_after_rounds(), setup_for_player(), spectator_respawn(), and weapon_give().
| function set_player_tactical_grenade | ( | weapon | ) |
Definition at line 4250 of file _zm_utility.gsc.
Referenced by init_player_tactical_grenade(), last_stand_grenade_save_and_return(), player_give_cymbal_monkey(), player_give_cymbal_monkey_upgraded(), player_give_octobomb(), and weapon_give().
| function set_zombie_var | ( | zvar | , |
| value | , | ||
| is_float | , | ||
| column | , | ||
| is_team_based | |||
| ) |
Definition at line 3145 of file _zm_utility.gsc.
References IS_TRUE.
| function shock_onexplosion | ( | damage | , |
| shockType | , | ||
| shockLight | |||
| ) |
| function shock_onpain | ( | ) |
Definition at line 3730 of file _zm_utility.gsc.
References damage(), IS_TRUE, and shock_onexplosion().
| 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().
| function show_grate_pull | ( | ) |
Definition at line 2295 of file _zm_utility.gsc.
Referenced by non_destroyed_grate_order().
| function show_grate_repair | ( | ) |
Definition at line 2867 of file _zm_utility.gsc.
Referenced by grate_order_destroyed().
| function slowdown_ai | ( | str_type | ) |
Definition at line 6148 of file _zm_utility.gsc.
Referenced by raygun_mark3_damage_response().
| function sndSwitchAnnouncerVox | ( | who | ) |
Definition at line 5305 of file _zm_utility.gsc.
| 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().
| function spawn_path_node | ( | origin | , |
| angles | , | ||
| k1 | , | ||
| v1 | , | ||
| k2 | , | ||
| v2 | |||
| ) |
Definition at line 5679 of file _zm_utility.gsc.
References 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().
| function spawn_weapon_model | ( | weapon | , |
| model | , | ||
| origin | , | ||
| angles | , | ||
| options | |||
| ) |
Definition at line 4061 of file _zm_utility.gsc.
References spawn().
| function speed_change_watcher | ( | ) |
Definition at line 178 of file _zm_utility.gsc.
Referenced by change_zombie_run_cycle().
| 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().
| 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().
| function string_to_float | ( | string | ) |
Definition at line 3119 of file _zm_utility.gsc.
Referenced by get_table_var().
| 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().
| function trigger_invisible | ( | enable | ) |
Definition at line 3527 of file _zm_utility.gsc.
References enable().
| function undo_link_changes | ( | ) |
Definition at line 5812 of file _zm_utility.gsc.
References delete_spawned_path_nodes(), link_changes_internal(), link_nodes_wrapper(), and unlink_nodes_wrapper().
Referenced by Callback_PreHostMigrationSave().
| 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().
| function unlink_nodes | ( | a | , |
| b | , | ||
| bDontLinkOnMigrate | = false |
||
| ) |
Definition at line 5636 of file _zm_utility.gsc.
References a, and check_and_create_node_lists().
| function unlink_nodes_wrapper | ( | a | , |
| b | |||
| ) |
Definition at line 5804 of file _zm_utility.gsc.
References a.
Referenced by redo_link_changes(), and undo_link_changes().
| function update_on_poi_removal | ( | zombie_poi | ) |
Definition at line 1271 of file _zm_utility.gsc.
Referenced by assign_zombie_point_of_interest().
| 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().
| function update_valid_players | ( | origin | , |
| ignore_player | |||
| ) |
Definition at line 1519 of file _zm_utility.gsc.
References add(), and IS_TRUE.
Referenced by zombieFindFleshCode().
| function upload_zm_dash_counters | ( | force_upload | = false | ) |
Definition at line 6258 of file _zm_utility.gsc.
Referenced by Callback_HostMigration(), first_consumables_used_watcher(), post_all_players_connected(), round_end_monitor(), zm_on_player_connect(), and zm_on_player_disconnect().
| function upload_zm_dash_counters_end_game | ( | ) |
Definition at line 6260 of file _zm_utility.gsc.
Referenced by end_game().
| function wait_clear_streamer_hint | ( | lifetime | ) |
Definition at line 6055 of file _zm_utility.gsc.
References clear_streamer_hint().
Referenced by create_streamer_hint().
| 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().
| 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.
| function waittill_subset | ( | min_num | , |
| string1 | , | ||
| string2 | , | ||
| string3 | , | ||
| string4 | , | ||
| string5 | |||
| ) |
Definition at line 5218 of file _zm_utility.gsc.
References waittill_string().
| function watch_for_poi_death | ( | ) |
Definition at line 683 of file _zm_utility.gsc.
Referenced by create_zombie_point_of_interest().
| function zm_dash_stats_game_end | ( | ) |
Definition at line 6266 of file _zm_utility.gsc.
Referenced by end_game().
| function zm_dash_stats_game_start | ( | ) |
Definition at line 6264 of file _zm_utility.gsc.
Referenced by zm_on_player_connect().
| function zm_dash_stats_wait_for_consumable_use | ( | ) |
Definition at line 6268 of file _zm_utility.gsc.
Referenced by zm_on_player_connect().
| function zombie_goto_round | ( | n_target_round | ) |
Definition at line 5984 of file _zm_utility.gsc.
References ai_calculate_health(), get_round_enemy_array(), and set_round_number().