This page is incomplete! You can contribute information using GitHub issues or pull requests.

Like earlier games, Halo 3 supports scripting with HaloScript.

Operators and keywords

Expression

Functions

Since H3 documentation will be an ongoing work-in-progress, please refer to the more complete H1 scripting page for info on common functions.

Function

(<void> achievements_enable <boolean>)

enable or disable the awarding of achievements

(<void> achievements_skip_validation_checks <boolean>)

toggle the disabling of validation checks on achievement awarding

(<void> achievement_grant_to_player <short> <string_id>)

award named achievement to player

(<boolean> achievement_was_earned_by_player <short> <string_id>)

check if player has been awarded named achievement

(<void> add_recycling_volume <trigger_volume> <long> <long>)

removes garbage in specified trigger volume to a max count over n seconds

(<void> ai_activity_abort <ai>)

Aborts the activities running on the given AI(s)

(<void> ai_activity_set <ai> <string_id>)

Set the given activity running on the given AI(s)

(<object_list> ai_actors <ai>)

converts an ai reference to an object list.

(<void> ai_allegiance <team> <team>)

creates an allegiance between two teams.

(<void> ai_allegiance_break <team> <team>)

fake a betrayal incident between two teams

(<boolean> ai_allegiance_broken <team> <team>)

returns whether two teams have an allegiance that is currently broken by traitorous behavior

(<void> ai_allegiance_remove <team> <team>)

destroys an allegiance between two teams.

(<void> ai_allow_dormant <ai> <boolean>)

either enables or disables automatic dormancy for a group of actors

(<void> ai_berserk <ai> <boolean>)

forces a group of actors to start or stop berserking

(<short> ai_body_count <ai>)

return the number of actors who have died in the completiong of the given objective/task.

(<void> ai_braindead <ai> <boolean>)

makes a group of actors braindead, or restores them to life (in their initial state)

(<void> ai_braindead_by_unit <object_list> <boolean>)

makes a list of objects braindead, or restores them to life. if you pass in a vehicle index, it makes all actors in that vehicle braindead (including any built-in guns)

(<void> ai_bring_forward <object> <real>)

teleports the given mission critical AI character to the current encounter, if beyond the given range from a player

(<void> ai_cannot_die <ai> <boolean>)

AI cannot die from damage (as opposed to by scripting)

(<boolean> ai_carrying_player <ai>)

Returns whether any of the given AI are in a vehicle with the player

(<short> ai_combat_status <ai>)

Returns the highest integer combat status in the given squad-group/squad/actor

(<void> ai_deselect)

clears the selected encounter.

(<void> ai_dialogue_break_on_vocalization <string_id>)

break when the following vocalization is chosen for utterance

(<void> ai_dialogue_enable <boolean>)

turn combat dialogue on/off

(<void> ai_dialogue_log_dump <string>)

dump a file of the given name with csv statistics on vocalizations

(<void> ai_dialogue_log_reset)

reset the dialogue log

(<void> ai_disposable <ai> <boolean>)

enables or disables automatic garbage collection for actors in the specified encounter and/or squad.

(<void> ai_disregard <object_list> <boolean>)

if TRUE, forces all actors to completely disregard the specified units, otherwise lets them acknowledge the units again

(<void> ai_dont_do_avoidance <ai> <boolean>)

set the AI to not do any vector avoidance when flying

(<void> ai_enable <boolean>)

turns all AI on or off.

(<boolean> ai_enabled)

returns whether AI is turned on or off.

(<short> ai_enter_squad_vehicles <ai>)

Instructs the ai in the given squad to get in all their vehicles

(<void> ai_erase <ai>)

erases the specified encounter and/or squad.

(<void> ai_erase_all)

erases all AI.

(<void> ai_erase_inactive <ai> <short>)

Erase inactive actors in the given ai index, and any of those actors who become inactive within the next designated ticks

(<short> ai_fighting_count <ai>)

return the number of actors that are fighting in a squad or squad_group

(<void> ai_flood_disperse <ai> <ai>)

Disperese a flood encounter, stimulating the various forms to break down into infections and transition to the new objective

(<void> ai_force_active <ai> <boolean>)

forces an encounter to remain active (i.e. not freeze in place) even if there are no players nearby

(<void> ai_force_active_by_unit <unit> <boolean>)

forces a named actor that is NOT in an encounter to remain active (i.e. not freeze in place) even if there are no players nearby

(<object> ai_get_object <ai>)

returns the unit/object corresponding to the given actor

(<long> ai_get_point_count <point_reference>)

returns the number of points in the given point set

(<ai> ai_get_squad <ai>)

returns the squad of the given actor. Invalid if the given ai is NOT an actor-type (i.e. is itself a squad or squad group or task

(<ai> ai_get_turret_ai <ai> <short>)

returns an the ai controlling the Nth turret attached to the given ai (or its vehicle)

(<unit> ai_get_unit <ai>)

returns the unit/object corresponding to the given actor

(<void> ai_grenades <boolean>)

turns grenade inventory on or off.

(<void> ai_infection_suppress <long>)

disable infection for this number of ticks

(<short> ai_in_vehicle_count <ai>)

return the number of living actors in the specified encounter and/or squad who are currently in a vehicle.

(<boolean> ai_is_attacking <ai>)

returns whether a platoon is in the attacking mode (or if an encounter is specified, returns whether any platoon in that encounter is attacking)

(<void> ai_kill <ai>)

instantly kills the specified encounter and/or squad.

(<void> ai_kill_silent <ai>)

instantly and silently (no animation or sound played) kills the specified encounter and/or squad.

(<boolean> ai_leadership <ai>)

Returns whether a squad or task has a leader

(<boolean> ai_leadership_all <ai>)

Returns whether a task or any of its children has a leader

(<void> ai_lines)

cycles through AI line-spray modes

(<short> ai_living_count <ai>)

return the number of living actors in the specified encounter and/or squad.

(<real> ai_living_fraction <ai>)

return the fraction [0-1] of living actors in the specified encounter and/or squad.

(<void> ai_magically_see <ai> <ai>)

Make one squad magically aware of another.

(<void> ai_magically_see_object <ai> <object>)

Make a squad magically aware of a particular object.

(<void> ai_migrate <ai> <ai>)

makes all or part of an encounter move to another encounter.

(<short> ai_migrate_form <ai> <ai> <short>)
(<void> ai_migrate_infanty <ai> <ai>)

migrates the infantry in an encounter into a different squad.

(<void> ai_migrate_persistent <ai> <ai>)

makes all or part of an encounter move to another encounter, and all script commands will function on the migrated squad

(<boolean> ai_morph <ai> <short>)

Cause an ai (or a group of ai) to morph to the given form

(<point_reference> ai_nearest_point <object> <point_reference>)

returns the nearest point in the given point set to the given object

(<short> ai_nonswarm_count <ai>)

return the number of non-swarm actors in the specified encounter and/or squad.

(<void> ai_place <ai>)

places the specified squad on the map.

(<void> ai_place <ai> <short>)

places the given number of members of the specified squad.

(<void> ai_place_in_vehicle <ai> <ai>)

places the specified squad (1st arg) on the map in the vehicles belonging to the specified vehicle squad (2nd arg).

(<boolean> ai_player_any_needs_vehicle)

Returns if any player needs a vehicle at the moment

(<ai> ai_player_get_vehicle_squad <unit>)

Returns the squad (if any) of the vehicle the player is riding in (note, the argument is a UNIT)

(<boolean> ai_player_needs_vehicle <unit>)

Returns if the given player needs a vehicle at the moment

(<void> ai_playfight <ai> <boolean>)

sets an encounter to be playfighting or not

(<real> ai_play_line <ai> <ai_line>)

Play the given mission dialogue line on the given ai

(<real> ai_play_line_at_player <ai> <ai_line>)

Play the given mission dialogue line on the given ai, directing the ai's gaze at the nearest visible player

(<real> ai_play_line_on_object <object> <ai_line>)

Play the given mission dialogue line on the given object (uses first available variant)

(<real> ai_play_line_on_object_for_team <object> <ai_line> <mp_team>)

Play the given mission dialogue line on the given object (uses first available variant) if anyone on the local box is on the specified team

(<short> ai_play_line_on_point_set <string_id> <point_reference> <short>)

Play the given line on the N closest point to players in the given point set

(<short> ai_play_line_on_point_set <string_id> <point_reference> <short> <string_id>)

Play the given line (with the given 3-letter variant) on the N closest point to players in the given point set

(<point_reference> ai_point_set_get_point <point_reference> <short>)

returns Nth point in the point set

(<void> ai_prefer_target <object_list> <boolean>)

if TRUE, ALL enemies will prefer to attack the specified units. if FALSE, removes the preference.

(<void> ai_prefer_target_ai <ai> <ai> <boolean>)

the given ai (actor, squad, task, etc.) will prefer the given other ai (actor, squad, task, etc.)

(<void> ai_prefer_target_team <ai> <team>)

the given ai will prefer the indicated team.

(<point_reference> ai_random_smart_point <point_reference> <real> <real> <real>)

returns a point in the given point set that a player is probably going to be able to see. Args are [point set], [min distance], [max distance], [angle-from-forward], all relative to the player

(<void> ai_reconnect)

reconnects all AI information to the current structure bsp (use this after you create encounters or command lists in sapien, or place new firing points or command list points)

(<void> ai_render_paths_all)

Turns on raw, smoothed, avoided paths and avoidance obstacles

(<void> ai_renew <ai>)

refreshes the health and grenade count of a group of actors, so they are as good as new

(<void> ai_resurrect <object>)

Resurrect the specified mission critical AI character.

(<boolean> ai_rotate_scenario <real> <real> <real> <real>)

rotates ai points and normals (e.g. firing points, starting locations) around the given axis (x,y,z) by the given rotation angle (degrees)

(<void> ai_select <ai>)

selects the specified squad.

(<void> ai_set_active_camo <ai> <boolean>)

Turn on active camoflage on actor/squad/squad-group

(<void> ai_set_blind <ai> <boolean>)

enables or disables sight for actors in the specified encounter.

(<void> ai_set_deaf <ai> <boolean>)

enables or disables hearing for actors in the specified encounter.

(<boolean> ai_set_objective <ai> <string_id>)

Sets the squad's current objective

(<void> ai_set_targeting_group <ai> <short>)

Set the AI to only target other guys of targetin group X

(<void> ai_set_targeting_group <ai> <short> <boolean>)

Set the AI to only target other guys of targetin group X (true/false whether the player should also be targeted)

(<boolean> ai_set_task <ai> <string_id> <string_id>)

Sets the current task of the current task

(<boolean> ai_set_task_condition <ai> <boolean>)

Latches the task condition true or false

(<void> ai_set_team <ai> <team>)

makes an encounter change to a new team

(<void> ai_set_weapon_up <ai> <boolean>)

force actor to hold their weapon up, instead of lowering it when idle. this does NOT cause them to draw their weapon if stowed

(<short> ai_spawn_count <ai>)

returns the number of actors spawned in the given squad or squad group

(<real> ai_strength <ai>)

return the current strength (average body vitality from 0-1) of the specified encounter and/or squad.

(<void> ai_suppress_combat <ai> <boolean>)

Turn on/off combat suppression on actor/squad/squad-group

(<short> ai_swarm_count <ai>)

return the number of swarm actors in the specified encounter and/or squad.

(<short> ai_task_count <ai>)

Returns the living count of the AI in the given task OR any of its children

(<short> ai_task_status <ai>)

Returns the status of the given objective/task. See ai_task_status_<tab> for return codes.

(<void> ai_teleport <ai> <point_reference>)

teleports the given squad to the given point.

(<void> ai_teleport_to_starting_location_if_outside_bsp <ai>)

teleports a group of actors to the starting locations of their current squad(s) if they are currently outside the world.

(<boolean> ai_translate_scenario <real> <real> <real>)

translates ai points and objects by the given x y z.

(<short> ai_vehicle_count <ai>)

Returns the number of vehicles being driven / ridden by the actors in the given squad/squad-group/task/etc.

(<void> ai_vehicle_enter <ai> <unit> <unit_seat_mapping>)

tells a group of actors to get into a vehicle, in the substring-specified seats (e.g. passenger for pelican)... does not interrupt any actors who are already going to vehicles

(<void> ai_vehicle_enter <ai> <unit>)

tells a group of actors to get into a vehicle... does not interrupt any actors who are already going to vehicles

(<void> ai_vehicle_enter_immediate <ai> <unit> <unit_seat_mapping>)

the given group of actors is snapped into a vehicle, in the substring-specified seats (e.g. passenger for pelican)... does not interrupt any actors who are already going to vehicles

(<void> ai_vehicle_enter_immediate <ai> <unit>)

the given group of actors is snapped into a vehicle

(<void> ai_vehicle_exit <ai> <unit_seat_mapping>)

tells a group of actors to get out of any vehicles that they are in (if their seat matches the substring)

(<void> ai_vehicle_exit <ai>)

tells a group of actors to get out of any vehicles that they are in

(<vehicle> ai_vehicle_get <ai>)

Returns the vehicle that the given actor is in.

(<vehicle> ai_vehicle_get_from_squad <ai> <short>)

Returns the nth vehicle from the given squad.

(<vehicle> ai_vehicle_get_from_starting_location <ai>)

Returns the vehicle that was spawned at the given starting location.

(<short> ai_vehicle_get_squad_count <ai>)

Returns the number of vehicles in the given squad.

(<boolean> ai_vehicle_reserve <vehicle> <boolean>)

Reserves the given vehicle (so that AI may not enter it

(<boolean> ai_vehicle_reserve_seat <vehicle> <unit_seat_mapping> <boolean>)

Reserves the given seat on the given vehicle (so that AI may not enter it

(<void> ai_verify_tags)

Verifies state of ai-related tags (e.g. orders, squads, zones, etc.)

(<boolean> ai_vitality_pinned <ai>)

Returns true if the ai's units are ALL vitality pinned (see object_vitality_pinned)

(<boolean> ai_wall_lean <ai>)

Makes the actor lean against a wall RIGHT NOW

(and <boolean(s)>)

returns true if all specified expressions are true.

(<boolean> and <boolean(s)>)

returns true if all specified expressions are true.

(<void> animation_cache_flush)

it's just sooooo wrong

(<void> animation_cache_stats_reset)
(<void> async_set_work_delay_milliseconds <long>)

set an artificial delay time for the performance of any asynchronous task work

(<void> attract_mode_set_seconds <long>)

sets number of seconds of the attract mode countdown timer.

(<void> attract_mode_start)

starts an attract mode movie

(<void> bandwidth_profiler_enable <boolean>)

enables bandwidth profiler

(<void> bandwidth_profiler_set_context <boolean>)

sets bandwidth profiler context

(begin <expression(s)>)

returns the last expression in a sequence after evaluating the sequence in order.

(<passthrough> begin <expression(s)>)

returns the last expression in a sequence after evaluating the sequence in order.

(begin_random <expression(s)>)

evaluates the sequence of expressions in random order and returns the last value evaluated.

(<passthrough> begin_random <expression(s)>)

evaluates the sequence of expressions in random order and returns the last value evaluated.

(<long> bink_time)

uh...

(<void> biped_force_ground_fitting_on <unit> <boolean>)

force ground fitting on, even during custom animations or movement

(<boolean> biped_morph <object>)

Cause a biped to morph to its floodified form

(<void> biped_ragdoll <unit>)

given a dead biped, turns on ragdoll

(<void> bitmap_predict <bitmap>)

in: bitmap name. loads all the bitmaps in that bitmap group

(<void> breakable_surfaces_enable <boolean>)

enables or disables breakability of all breakable surfaces on level

(<void> breakable_surfaces_reset)

restores all breakable surfaces

(<void> breakpoint <string>)

If breakpoints are enabled, pause execution when this statement is hit (displaying the given message).

(<animation_graph> budget_resource_get_animation_graph <animation budget reference>)

Get a non resolving reference to a model animation graph budget reference

(<looping_sound> budget_resource_get_looping_sound <looping sound budget reference>)

Get a non resolving reference to a looping sound budget reference

(<sound> budget_resource_get_sound <sound budget reference>)

Get a non resolving reference to a looping sound budget reference

(<void> bug_now <string>)

uploads files for bug <name>

(<void> bug_now_auto <boolean>)

uploads bug files, auto named <include_minidump>

(<void> bug_now_lite <string>)

uploads files (w/ no minidump) for bug <name>

(<void> cache_block_for_one_frame)

call this to force texture and geometry cache to block until satiated

(<void> camera_control <boolean>)

toggles script control of the camera.

(<void> camera_pan <cutscene_camera_point> <cutscene_camera_point> <short> <short> <real> <short> <real>)

camera_pan <start point> <end point> <ticks> <ease-in ticks> <start velocity scale> <ease-out ticks> <end velocity scale>

(<void> camera_place_relative <object>)

all subsequent camera placement in sapien be marked as relative to this object

(<void> camera_place_worldspace)

all subsequent camera placement in sapien will be marked as worldspace

(<void> camera_predict_resources_at_frame <animation_graph> <string_id> <unit> <cutscene_flag> <long>)

predict resources at a frame in camera animation.

(<void> camera_predict_resources_at_point <cutscene_camera_point>)

predict resources given a camera point

(<void> camera_set <cutscene_camera_point> <short>)

moves the camera to the specified camera point over the specified number of ticks.

(<void> camera_set_animation <animation_graph> <string_id>)

begins a prerecorded camera animation.

(<void> camera_set_animation_relative <animation_graph> <string_id> <unit> <cutscene_flag>)

begins a prerecorded camera animation synchronized to unit relative to cutscene flag.

(<void> camera_set_animation_relative_with_speed <animation_graph> <string_id> <unit> <cutscene_flag> <real>)

begins a prerecorded camera animation synchronized to unit relative to cutscene flag.

(<void> camera_set_animation_relative_with_speed_loop <animation_graph> <string_id> <unit> <cutscene_flag> <real> <boolean>)

begins a prerecorded camera animation synchronized to unit relative to cutscene flag.

(<void> camera_set_animation_relative_with_speed_loop_offset <animation_graph> <string_id> <unit> <cutscene_flag> <real> <boolean> <real>)

begins a prerecorded camera animation synchronized to unit relative to cutscene flag.

(<void> camera_set_animation_with_speed <animation_graph> <string_id> <real>)

begins a prerecorded camera animation.

(<void> camera_set_briefing <boolean>)

Used for briefing cinematics

(<void> camera_set_cinematic)

makes the scripted camera follow the path of a cinematic scene.

(<void> camera_set_cinematic_scene <cinematic scene definition> <long> <cutscene_flag>)

sets the scene, shot, and cutscene flag for the cinematic camera (NOTE: camera must be in cinematic mode by calling camera_set_cinematic).

(<void> camera_set_field_of_view <real> <short>)

sets the field of view

(<void> camera_set_first_person <unit>)

makes the scripted camera follow a unit.

(<void> camera_set_flying_cam_at_point <long> <cutscene_camera_point>)

<user_index> <camera_point> sets a flying camera perspective

(<void> camera_set_mode <long> <long>)

<user_index> <mode_index> sets user's camera perspective

(<void> camera_set_pan <cutscene_camera_point> <short>)

moves the camera to the specified camera point over the specified number of ticks with a constant speed.

(<void> camera_set_relative <cutscene_camera_point> <short> <object>)

moves the camera to the specified camera point over the specified number of ticks (position is relative to the specified object).

(<short> camera_time)

returns the number of ticks remaining in the current camera interpolation.

(<boolean> campaign_is_finished_easy)

TRUE if any of the players have finished the campaign on easy

(<boolean> campaign_is_finished_heroic)

TRUE if any of the players have finished the campaign on heroic

(<boolean> campaign_is_finished_legendary)

TRUE if any of the players have finished the campaign on legendary

(<boolean> campaign_is_finished_normal)

TRUE if any of the players have finished the campaign on normal

(<void> campaign_metagame_award_points <object> <short>)

award bonus metagame points to a player

(<void> campaign_metagame_award_primary_skull <object> <short>)

award a primary skull to a player

(<void> campaign_metagame_award_secondary_skull <object> <short>)

award a secondary skull to a player

(<boolean> campaign_metagame_enabled)

TRUE if the metagame is enabled

(<void> campaign_metagame_time_pause <boolean>)

pause meta game time, while paused your completion multiplier stops going down

(<void> cc_enable <boolean>)

toggle closed captions

(<void> cc_test <boolean>)

test a line of cc text

(<void> cheats_load)

reloads the cheats.txt file

(<void> cheat_active_camouflage <boolean>)

gives the player active camouflage

(<void> cheat_active_camouflage_by_player <short> <boolean>)

gives a specific player active camouflage

(<void> cheat_all_powerups)

drops all powerups near player

(<void> cheat_all_vehicles)

drops all vehicles on player

(<void> cheat_all_weapons)

drops all weapons near player

(<void> cheat_teleport_to_camera)

teleports player to camera location

(<void> chud_cinematic_fade <real> <real>)

parameter 1 is how, parameter 2 is when

(<void> chud_cortana_set_range_multiplier <real>)

scales the cortana effect distances

(<void> chud_cortana_suck <object> <string_id> <boolean>)

turns on the cortana suck, attached to the object at the given marker

(<void> chud_show <boolean>)

hides/shows the entire chud

(<void> chud_show_arbiter_ai_navpoint <boolean>)

hides/shows the entire chud

(<void> chud_show_crosshair <boolean>)

hides/shows the crosshair

(<void> chud_show_fire_grenades <boolean>)

hides/shows the firebomb chud

(<void> chud_show_grenades <boolean>)

hides/shows the grenade hud

(<void> chud_show_messages <boolean>)

hides/shows the chud messages

(<void> chud_show_motion_sensor <boolean>)

hides/shows the motion sensor chud

(<void> chud_show_shield <boolean>)

hides/shows the shield

(<void> chud_show_spike_grenades <boolean>)

hides/shows the spike grenade chud

(<void> chud_show_weapon_stats <boolean>)

hides/shows the weapon huds

(<void> chud_texture_cam <boolean>)

turns the chud texturecam on/off

(<void> cinematic_camera_set_easing_in <real> <real> <real> <real> <real> <real>)

controls the camera easing from player position

(<void> cinematic_camera_set_easing_out <real>)

controls the camera easing back to the player position

(<void> cinematic_clips_destroy)

destroys any existing cinematic clip planes for the current cinematic

(<void> cinematic_clips_initialize_for_shot <long>)

intializes the cinematic clip planes for the given shot of the current cinematic

(<void> cinematic_clone_players_weapon <object> <string_id> <string_id>)

clone the first player's most reasonable weapon and attach it to the specified object's marker

(<void> cinematic_destroy)

Releases everything created by the cinematics system

(<void> cinematic_enable_ambience_details <boolean>)

enable/disable ambience details in cinematics

(<long> cinematic_get_early_exit)

Used to retrieve the state of skippable cinematics

(<void> cinematic_get_shot)

Print the stored scene and shot information to the screen

(<void> cinematic_lighting_rebuild_all)

Rebuild all cinematic lighting (SH only)

(<void> cinematic_lightmap_shadow_disable)

turn off lightmap shadow in cinematics

(<void> cinematic_lightmap_shadow_enable)

turn on lightmap shadow in cinematics

(<void> cinematic_lights_destroy)

destroys any existing cinematic lights for the current cinematic

(<void> cinematic_lights_initialize_for_shot <long>)

intializes the cinematic lighting for the given shot of the current cinematic

(<void> cinematic_light_object <object> <string_id> <cinematic_lightprobe> <cutscene_camera_point>)

attaches cinematic lights to <object> at <marker> using scenario cinematic lighting palette entry <scenario-cinematic-lighting-name> from point of view of camera reference <camera>

(<void> cinematic_light_object_off <object>)

Turn off cinematic lighting for the object.

(<void> cinematic_move_attached_objects <object> <string_id> <string_id> <string_id>)

move the object's children attached to the first marker to the second marker

(<void> cinematic_object_create <string>)

Creates an object for use by cinematics

(<void> cinematic_object_create_cinematic_anchor <string> <cutscene_flag>)

Creates a cinematic anchor object for use by cinematics

(<void> cinematic_object_destroy <string>)

Destroys an object created by cinematic_object_create

(<object> cinematic_object_get <string>)

Returns an object created by cinematic_object_create

(<effect_scenery> cinematic_object_get_effect_scenery <string>)

Returns a scenery object created by cinematic_object_create

(<scenery> cinematic_object_get_scenery <string>)

Returns a scenery object created by cinematic_object_create

(<unit> cinematic_object_get_unit <string>)

Returns a unit created by cinematic_object_create

(<void> cinematic_outro_start)

flag this cutscene as an outro cutscene

(<void> cinematic_print <string>)

Print status lines for cinematic debugging

(<void> cinematic_reset)

Resets the cinematics internal state

(<void> cinematic_scripting_clean_up <long>)

Unload the scenario cinematic zone

(<void> cinematic_scripting_create_and_animate_cinematic_object <long> <long> <long> <object> <string_id> <boolean>)

Create and Animate a cinematic object.

(<void> cinematic_scripting_create_and_animate_cinematic_object_no_animation <long> <long> <long> <object> <boolean>)

Create and Animate a cinematic object.

(<void> cinematic_scripting_create_and_animate_object <long> <long> <long> <object_name> <object> <string_id> <boolean>)

Create and Animate a cinematic object.

(<void> cinematic_scripting_create_and_animate_object_no_animation <long> <long> <long> <object_name> <object> <boolean>)

Create and Animate a cinematic object.

(<void> cinematic_scripting_create_cinematic_object <long> <long> <long>)

Create a manually placed cinematic object

(<void> cinematic_scripting_create_object <long> <long> <long> <object_name>)

Create a manually placed cinematic object

(<void> cinematic_scripting_destroy_cortana_effect_cinematic)

Destroy cortana effect cinematic

(<void> cinematic_scripting_destroy_object <long> <long> <long> <object>)

Destroy a cinematic object

(<void> cinematic_scripting_fade_out <real> <real> <real> <short>)

Fade out at the end of the cinematic

(<boolean> cinematic_scripting_object_coop_flags_valid <long> <long> <long>)

Evaluate if a cinematic object should be displayed for the current coop flags

(<void> cinematic_scripting_play_cortana_effect <long> <long> <long> <long>)

Play the associated cortana effect.

(<void> cinematic_scripting_start_animation <long> <long> <long> <object> <string_id>)

Animate a manually placed cinematic object

(<void> cinematic_scripting_start_dialogue <long> <long> <long> <long> <object>)

Play a cinematic dialogue

(<void> cinematic_scripting_start_effect <long> <long> <long> <long> <object>)

Play a cinematic effect

(<void> cinematic_scripting_start_music <long> <long> <long> <long>)

Play a cinematic music

(<void> cinematic_scripting_stop_music <long> <long> <long> <long>)

Stops a cinematic music

(<void> cinematic_set <cinematic definition>)

sets the cinematic name for the current cinematic.

(<void> cinematic_set_active_camera <string_id>)

Used to change the rasterizer to display one of the texture cameras

(<void> cinematic_set_chud_objective <cutscene_title>)

activates the chapter title

(<void> cinematic_set_early_exit <long>)

Used to store the state of skippable cinematics

(<void> cinematic_set_shot <cinematic scene definition> <long>)

sets the scene and shot for the current cinematic.

(<void> cinematic_set_title <cutscene_title>)

activates the chapter title

(<void> cinematic_set_title_delayed <cutscene_title> <real>)

activates the chapter title, delayed by <real> seconds

(<void> cinematic_show_letterbox <boolean>)

sets or removes the letterbox bars

(<void> cinematic_show_letterbox_immediate <boolean>)

sets or removes the letterbox bars

(<void> cinematic_skip_start_internal)
(<void> cinematic_skip_stop_internal)
(<void> cinematic_start)

initializes game to start a cinematic (interruptive) cutscene

(<void> cinematic_stop)

initializes the game to end a cinematic (interruptive) cutscene

(<void> cinematic_subtitle <string_id> <real>)

displays the named subtitle for <real> seconds

(<void> cinematic_suppress_bsp_object_creation <boolean>)

suppresses or enables the automatic creation of objects during cutscenes due to a bsp switch

(<animation_graph> cinematic_tag_reference_get_animation <long> <long> <long>)

Retrieve a looping sound tag from the cinematic system

(<sound> cinematic_tag_reference_get_dialogue <long> <long> <long> <long>)

Retrieve a sound tag from the cinematic system

(<effect> cinematic_tag_reference_get_effect <long> <long> <long> <long>)

Retrieve an effect tag from the cinematic system

(<sound> cinematic_tag_reference_get_music <long> <long> <long> <long>)

Retrieve a sound tag from the cinematic system

(<looping_sound> cinematic_tag_reference_get_music_looping <long> <long> <long> <long>)

Retrieve a looping sound tag from the cinematic system

(<void> cinematic_zone_activate <long>)

activates scenario cinematic zone (automatically generated script function!)

(<void> cinematic_zone_activate_for_debugging <long>)

activates scenario cinematic zone for debugging (automatically generated script function!)

(<void> cinematic_zone_activate_from_editor <any tag>)

activates cinematic zone from tag (automatically generated script function!)

(<void> cinematic_zone_deactivate <long>)

deactivates scenario cinematic zone (automatically generated script function!)

(<void> cinematic_zone_deactivate_from_editor <any tag>)

deactivates cinematic zone from tag (automatically generated script function!)

(<void> clear_webcache)

clears the webcache

(<void> cls)

clears console text from the screen

(<void> collision_log_enable <boolean>)

enables or disables collision logging.

(<void> color_grading_enable <boolean>)

turn on/off color grading

(cond (<boolean1> <result1>) [(<boolean2> <result2>) [...]])

returns the value associated with the first true condition.

(<passthrough> cond (<boolean1> <result1>) [(<boolean2> <result2>) [...]])

returns the value associated with the first true condition.

(<void> content_catalogue_display_status <controller> <boolean> <boolean>)

display the status of content catalogue for a controller, optionally showing only open content items

(<void> controller_display_storage_device_selection <controller>)

display storage device selection ui for the specified controller

(<boolean> controller_get_look_invert)

returns TRUE if player0's look pitch is inverted

(<void> controller_invert_look)

invert look on all attached controllers

(<void> controller_lock_models <controller>)

<controller> lock all model permutations for specified controller

(<void> controller_lock_single_player_levels <controller>)

<controller> lock all single player levels for specified controller

(<void> controller_lock_skulls <controller>)

<controller> lock all campaign skulls for specified controller

(<void> controller_look_speed <short>)

set look speed for all attached controllers

(<void> controller_set_auto_center_look <controller> <boolean>)

set auto center look for specified controller

(<void> controller_set_background_emblem_color <controller> <player color>)

set tertiary color for specified controller

(<void> controller_set_button_preset <controller> <button preset>)

set button preset for specified controller

(<void> controller_set_crouch_lock <controller> <boolean>)

set crouch lock for specified controller

(<void> controller_set_emblem_info <controller> <short> <short>)

set emblem for specified controller

(<void> controller_set_flight_stick_aircraft_controls <controller> <boolean>)

set airrcraft flight stick controls for specified controller

(<void> controller_set_joystick_preset <controller> <joystick preset>)

set joystick preset for specified controller

(<void> controller_set_look_invert <boolean>)

invert player0's look

(<void> controller_set_look_inverted <controller> <boolean>)

set look inversion for specified controller

(<void> controller_set_look_sensitivity <controller> <short>)

set look sensitivity for specified controller

(<void> controller_set_player_character_type <controller> <player character type>)

set player character type for specified controller

(<void> controller_set_popup_message_index <controller> <long>)

<controller> <message index> set the highest popup message that the player has accepted

(<void> controller_set_primary_change_color <controller> <player color>)

set primary change color for specified controller

(<void> controller_set_primary_emblem_color <controller> <player color>)

set primary change color for specified controller

(<void> controller_set_secondary_change_color <controller> <player color>)

set secondary change color for specified controller

(<void> controller_set_secondary_emblem_color <controller> <player color>)

set secondary change color for specified controller

(<void> controller_set_single_player_level_completed <controller> <long> <boolean> <game_difficulty> <boolean>)

<controller> <level index> <co-op> <difficulty> <completed> set the single player levels completed state for specified controller

(<void> controller_set_single_player_level_unlocked <controller> <short> <boolean>)

<controller> <level index> <bool locked> set single player level locked state for specified controller

(<void> controller_set_skin <controller> <short> <short>)

set skins for specified controller

(<void> controller_set_subtitle_setting <controller> <subtitle setting>)

set subtitle setting for specified controller

(<void> controller_set_tertiary_change_color <controller> <player color>)

set tertiary color for specified controller

(<void> controller_set_unsignedin_user <controller> <boolean>)

Toggle controller as unsigned-in user

(<void> controller_set_vibration_enabled <controller> <boolean>)

set vibration for specified controller

(<void> controller_set_voice_mask <controller> <voice mask>)

set voice mask for specified controller

(<void> controller_set_voice_output_setting <controller> <voice output setting>)

set voice output setting for specified controller

(<void> controller_unlock_models <controller>)

<controller> unlock all model permutations for specified controller

(<void> controller_unlock_single_player_levels <controller>)

<controller> unlock all single player levels for specified controller

(<void> controller_unlock_skulls <controller>)

<controller> unlock all campaign skulls for specified controller

(<void> core_load)

loads debug game state from core\core.bin

(<void> core_load_game)

loads level and game state from core\core.bin

(<void> core_load_game_name <string>)

loads level and game state from core<path>

(<void> core_load_name <string>)

loads debug game state from core<path>

(<void> core_regular_upload_to_debug_server <boolean>)

toggle periodic core uploading to debug server

(<void> core_save)

saves debug game state to core\core.bin

(<void> core_save_name <string>)

saves debug game state to core<path>

(<void> core_set_upload_option <string>)

sets options for game state uploading (current options are 'default', 'repro', and 'stress'

(<void> cortana_effect_kill)

kills the cortana effect

(<void> cortana_terminal_was_accessed)

Hack for ace as cortana's terminal needs to callback to terminal code

(<void> crash <string>)

crashes (for debugging).

(<void> create_secure_test_file)

generates a compressed encrypted test file

(<void> cs_abort_on_alert <boolean>)

Command script ends prematurely when actor's combat status raises to 'alert' or higher

(<void> cs_abort_on_alert <boolean>)

Command script ends prematurely when given actor's combat status raises to 'alert' or higher

(<void> cs_abort_on_combat_status <short>)

Command script ends prematurely when actor's combat status rises to given level

(<void> cs_abort_on_combat_status <short>)

Command script ends prematurely when actor's combat status rises to given level

(<void> cs_abort_on_damage <boolean>)

Command script ends prematurely when actor is damaged

(<void> cs_abort_on_damage <boolean>)

Command script ends prematurely when actor is damaged

(<void> cs_abort_on_vehicle_exit <boolean>)

Command script ends prematurely when actor gets out of its vehicle

(<void> cs_abort_on_vehicle_exit <boolean>)

Command script ends prematurely when actor gets out of its vehicle

(<void> cs_action <point_reference> <short>)

Actor plays an AI action towards the given point. ai_action_<tab> to see action options

(<void> cs_action_at_object <object> <short>)

Actor plays an AI action towards the given object. ai_action_<tab> to see action options

(<void> cs_action_at_player <short>)

Actor plays an AI action towards the nearest_player. ai_action_<tab> to see action options

(<void> cs_aim <boolean> <point_reference>)

Actor aims at the point for the remainder of the cs, or until overridden (overrides look)

(<void> cs_aim_object <boolean> <object>)

Actor aims at the object for the duration of the cs, or until overridden (overrides look)

(<void> cs_aim_player <boolean>)

Actor aims at nearest player for the duration of the cs, or until overridden (overrides look)

(<void> cs_approach <object> <real> <real> <real>)

(approach <object> <distance - how close I want to get> <max-distance - start approaching when target is within this range> <follow-distance - give up when target is outside this range>)

(<void> cs_approach_player <real> <real> <real>)

(approach player <distance - how close I want to get> <max-distance - start approaching when target is within this range> <follow-distance - give up when target is outside this range>)

(<void> cs_approach_stop)

Actor stops approaching

(<boolean> cs_command_script_queued <ai> <ai_command_script>)

Returns true if the command script is in the ai's cs queue

(<boolean> cs_command_script_running <ai> <ai_command_script>)

Returns true if the ai is running the command script in question

(<void> cs_crouch <boolean>)

Actor crouches for the remainder of the command script, or until overridden

(<void> cs_crouch <boolean> <real>)

Actor crouches / uncrouches, transitioning over the given number of seconds

(<void> cs_custom_animation <animation_graph> <string_id> <boolean>)

starts a custom animation playing on the actor (interpolates into animation if last parameter is TRUE)

(<void> cs_custom_animation <animation_graph> <string_id> <boolean> <point_reference>)

starts a custom animation playing on the actor at the given point (interpolates into animation if last parameter is TRUE)

(<void> cs_custom_animation_death <animation_graph> <string_id> <boolean>)

starts a custom animation playing on the actor (interpolates into animation if last parameter is TRUE)

(<void> cs_custom_animation_death <animation_graph> <string_id> <boolean> <point_reference>)

starts a custom animation playing on the actor (interpolates into animation if last parameter is TRUE)

(<void> cs_custom_animation_loop <animation_graph> <string_id> <boolean>)

starts a looping custom animation playing on the actor (interpolates into animation if last parameter is TRUE) NON-BLOCKING

(<void> cs_custom_animation_loop <animation_graph> <string_id> <boolean> <point_reference>)

starts a looping custom animation playing on the actor at the given point (interpolates into animation if last parameter is TRUE) NON-BLOCKING

(<void> cs_deploy_turret <point_reference>)

Deploy a turret at the given script point

(<void> cs_die <short>)

Actor dies in specified manner

(<void> cs_draw)

Actor draws its current weapon

(<void> cs_enable_dialogue <boolean>)

Actor combat dialogue enabled/disabled.

(<void> cs_enable_looking <boolean>)

Actor autonomous looking enabled/disabled.

(<void> cs_enable_moving <boolean>)

Actor autonomous moving enabled/disabled.

(<void> cs_enable_pathfinding_failsafe <boolean>)

Actor blocks until pathfinding calls succeed

(<void> cs_enable_targeting <boolean>)

Actor autonomous target selection enabled/disabled.

(<void> cs_equipment <point_reference>)

Actor throws their equipment in the direction of the given point

(<void> cs_face <boolean> <point_reference>)

Actor faces exactly the point for the remainder of the cs, or until overridden (overrides aim, look)

(<void> cs_face_object <boolean> <object>)

Actor faces exactly the given object for the duration of the cs, or until overridden (overrides aim, look)

(<void> cs_face_player <boolean>)

Actor faces exactly the nearest player for the duration of the cs, or until overridden (overrides aim, look)

(<void> cs_fly_by <point_reference>)

Flies the actor through the given point

(<void> cs_fly_by <point_reference> <real>)

Flies the actor through the given point (within the given tolerance)

(<void> cs_fly_to <point_reference>)

Flies the actor to the given point

(<void> cs_fly_to <point_reference> <real>)

Flies the actor to the given point (within the given tolerance)

(<void> cs_fly_to_and_face <point_reference> <point_reference>)

Flies the actor to the given point and orients him in the appropriate direction

(<void> cs_fly_to_and_face <point_reference> <point_reference> <real>)

Flies the actor to the given point and orients him in the appropriate direction (within the given tolerance)

(<void> cs_force_combat_status <short>)

Force the actor's combat status (0= no override, 1=idle, 2= alert, 3= active)

(<void> cs_go_by <point_reference> <point_reference>)

Actor moves toward the point, and considers it hit when it breaks the indicated plane

(<void> cs_go_by <point_reference> <point_reference> <real>)

Actor moves toward the point, and considers it hit when it breaks the indicated plane, attenuating throttle by the given amount when near the goal

(<void> cs_go_to <point_reference>)

Moves the actor to a specified point

(<void> cs_go_to <point_reference> <real>)

Moves the actor to a specified point, attenuating throttle by the given amount when near the goal

(<void> cs_go_to_and_face <point_reference> <point_reference>)

Moves the actor to a specified point and has him face the second point

(<void> cs_go_to_and_posture <point_reference> <string_id>)

Actor moves to the point and performs a posture once there

(<void> cs_go_to_nearest <point_reference>)

Given a point set, AI goes toward the nearest point

(<void> cs_go_to_vehicle <vehicle>)

Actor gets in the appropriate vehicle

(<void> cs_go_to_vehicle <vehicle> <unit_seat_mapping>)

Actor gets in the named seat of the appropriate vehicle

(<void> cs_grenade <point_reference> <short>)

Actor throws a grenade, either by tossing (arg2=0), lobbing (1) or bouncing (2)

(<void> cs_ignore_obstacles <boolean>)

Actor does not avoid obstacles when true

(<void> cs_jump <real> <real>)

Actor jumps in direction of angle at the given velocity (angle, velocity)

(<void> cs_jump_to_point <real> <real>)

Actor jumps with given horizontal and vertical velocity

(<void> cs_look <boolean> <point_reference>)

Actor looks at the point for the remainder of the cs, or until overridden

(<void> cs_look_object <boolean> <object>)

Actor looks at the object for the duration of the cs, or until overridden

(<void> cs_look_player <boolean>)

Actor looks at nearest player for the duration of the cs, or until overridden

(<void> cs_lower_weapon <boolean>)

Actor keeps weapon lowered

(<void> cs_melee_direction <long>)

Actor performs melee in provided direction (0= front, 1= back, 2= offhand, 3= tackle)

(<void> cs_movement_mode <short>)

Actor switches to given animation mode

(<void> cs_move_in_direction <real> <real> <real>)

Actor moves at given angle, for the given distance, optionally with the given facing (angle, distance, facing)

(<void> cs_move_towards <object>)

Move in the direction of the given object

(<void> cs_move_towards <object> <boolean>)

Move in the direction of the given object (and melee the target or not)

(<boolean> cs_moving)

Returns TRUE if the actor is currently following a path

(<boolean> cs_moving <ai>)

Returns TRUE if the actor is currently following a path

(<short> cs_number_queued <ai>)

Returns the number of queued command scripts

(<void> cs_pause <real>)

The actor does nothing for the given number of seconds

(<void> cs_player_melee <long>)

Actor performs player-specific melee

(<void> cs_play_line <ai_line>)

Play the named line in the current scene

(<void> cs_play_sound <sound>)

Actor plays an impulse sound and the atom blocks until it is complete

(<void> cs_play_sound <sound> <real>)

Actor plays an impulse sound and the atom blocks for the given percentage of the sound's total length

(<void> cs_play_sound <sound> <real> <real>)

Actor plays an impulse sound and the atom blocks for the given percentage of the sound's total length, at the given volume (0..1)

(<void> cs_posture_exit)

Actor exits the posture it's in

(<void> cs_posture_set <string_id> <boolean>)

Actor enters the given posture (enters immediately rather than plays the entry animation if argument is TRUE)

(<void> cs_queue_command_script <ai> <ai_command_script>)

Add a command script onto the end of an actor's command script queue

(<void> cs_run_command_script <ai> <ai_command_script>)

Causes the specified actor(s) to start executing a command script immediately (discarding any other command scripts in the queue)

(<void> cs_set_pathfinding_radius <real>)

Sets the actor's pathfinding radius (this distance at which a destination is considered to have been reached) for the remainder of the command script

(<void> cs_set_style <style>)

Override the actor's style

(<void> cs_shoot <boolean>)

Actor is allowed to shoot at its target or not

(<void> cs_shoot <boolean> <object>)

Actor shoots at given target

(<void> cs_shoot_point <boolean> <point_reference>)

Actor shoots at given point

(<void> cs_shoot_secondary_trigger <boolean>)

Actor uses secondary trigger whenever he shoots

(<void> cs_smash_direction <long>)

Actor performs smash in provided direction

(<void> cs_stack_command_script <ai> <ai_command_script>)

Push a command script to the top of the actor's command script queue

(<void> cs_stop_custom_animation)

Stop running a custom animation

(<void> cs_stop_sound <sound>)

Stops the specified impulse sound.

(<void> cs_stow)

Actor stows its current weapon

(<void> cs_suppress_activity_termination <boolean>)

Autonomous termination of activities is suppressed for the remainder of the command script

(<void> cs_suppress_dialogue_global <boolean>)

Combat dialogue is suppressed for the remainder of the command script

(<void> cs_swarm_from <point_reference> <real>)

A swarm swarms away from the point in question, going at least the given distance

(<void> cs_swarm_to <point_reference> <real>)

A swarm swarms towards the point (or point set) in question, the individual forms stopping when they get within the given radius

(<void> cs_teleport <point_reference> <point_reference>)

Actor teleports to point1 facing point2

(<void> cs_turn_sharpness <boolean> <real>)

Set the sharpness of a vehicle turn (values 0 -> 1). Only applicable to nondirectional flying vehicles (e.g. dropships)

(<void> cs_vehicle_boost <boolean>)

Enables or disables boost

(<void> cs_vehicle_speed <real>)

Set the speed at which the actor will drive a vehicle, expressed as a multiplier 0-1

(<void> cs_vehicle_speed_instantaneous <real>)

Set the instantaneous speed of the vehicle we're driving

(<void> cs_vocalize <short>)

Actor emits vocalization of given type

(<void> cs_walk <boolean>)

Actor walks for the remainder of the command script, or until overridden

(<void> cubemap_dynamic_generate)

Generates a dynamic cubemap and saves in the cubemaps directory. See this guide for more details.

(<long> current_zone_set)

returns the current zone set

(<long> current_zone_set_fully_active)

returns the current zone set

(<boolean> custom_animation <unit> <animation_graph> <string_id> <boolean>)

starts a custom animation playing on a unit (interpolates into animation if last parameter is TRUE)

(<boolean> custom_animation_list <object_list> <animation_graph> <string_id> <boolean>)

starts a custom animation playing on a unit list (interpolates into animation if last parameter is TRUE)

(<boolean> custom_animation_loop <unit> <animation_graph> <string_id> <boolean>)

starts a custom animation playing on a unit (interpolates into animation if last parameter is TRUE)

(<boolean> custom_animation_relative <unit> <animation_graph> <string_id> <boolean> <object>)

starts a custom animation relative to some other object (interpolates into animation if last parameter is TRUE)

(<boolean> custom_animation_relative_loop <unit> <animation_graph> <string_id> <boolean> <object>)

starts a custom animation relative to some other object (interpolates into animation if last parameter is TRUE)

(<void> damage_control_get <string>)

gets a damage control setting by string

(<void> damage_control_set <string> <boolean>)

sets a damage control setting by string

(<void> damage_new <damage> <cutscene_flag>)

causes the specified damage at the specified flag.

(<void> damage_object <object> <string_id> <real>)

causes the specified damage at the specified object.

(<void> damage_objects <object_list> <string_id> <real>)

causes the specified damage at the specified object list.

(<void> damage_objects_effect <damage> <object_list>)

causes the specified damage at the specified object list.

(<void> damage_object_effect <damage> <object>)

causes the specified damage at the specified object.

(<void> damage_players <damage>)

damages all players with the given damage effect

(<void> data_mine_debug_menu_setting <string>)

close debug menu and set user experience setting to string

(<void> data_mine_enable <boolean>)

enable/disable data mining

(<void> data_mine_flush)

flush any pending data mine data to disk

(<void> data_mine_insert <string>)

insert text and camera position in the data mine

(<void> data_mine_open_debug_menu)

open debug menu

(<void> data_mine_set_display_mission_segment <boolean>)

toggle display of data mine mission segment

(<void> data_mine_set_mission_segment <string>)

sets the mission segment for single player data mine events

(<void> data_mine_upload)

upload all data mining data files to debug server

(<void> debug_camera_load)

loads the saved camera position and facing.

(<void> debug_camera_load_name <string>)

loads the camera position and facing from filename

(<void> debug_camera_load_text <string>)

loads the camera position and facing from a passed in string

(<void> debug_camera_save)

saves the camera position and facing.

(<void> debug_camera_save_name <string>)

saves the camera position and facing to filename

(<void> debug_initial_spawn_point_objects <boolean>)

toggles debug cycling through multiplayer initial spawn points objects

(<void> debug_memory)

dumps memory leaks.

(<void> debug_memory_by_file)

dumps memory leaks by source file.

(<void> debug_memory_for_file <string>)

dumps memory leaks from the specified source file.

(<void> debug_menu_rebuild)

Reparses the debug menu from the text file.

(<void> debug_respawn_point_objects <boolean>)

toggles debug cycling through multiplayer respawn points objects

(<void> debug_scripting <boolean>)

Turn on/off hs script debugging.

(<void> debug_scripting_globals <boolean>)

Turn on/off hs global debugging.

(<void> debug_scripting_show_thread <string> <boolean>)

shows or hides the display of any thread containing the given substring.

(<void> debug_scripting_variable <string> <boolean>)

Turn on/off debugging of a specific global variable; enclose the variable name with single quote characters ('my_variable')

(<void> debug_scripting_variable_all <boolean>)

Turn on/off debugging of all global variables

(<void> debug_script_thread <string> <boolean>)

Verbose threads spew to log about script and function calls.

(<void> debug_sounds_enable <string> <boolean>)

enables or disables all sound classes matching the substring.

(<void> debug_sound_environment_parameter <long> <real>)
(<void> debug_sound_environment_source_parameter <long> <real>)

blah

(<void> debug_spawning_dangerous_projectiles <boolean>)

debugs dangerous projectile influences

(<void> debug_spawning_deployed_equipment <boolean>)

debugs deployed equipment influences

(<void> debug_spawning_influencers <boolean>)

toggle debugging of any & all dynamic respawn influencers

(<void> debug_spawning_moving_vehicle <boolean>)

debugs moving vehicle danger influences

(<void> debug_spawning_natural_weight <boolean>)

toggles display of the natural weight influence contribution

(<void> debug_spawning_nominal_weight <boolean>)

toggles display of the nominal weight influence contribution

(<void> debug_spawning_proximity_enemy <boolean>)

debugs enemy proximity bias influences

(<void> debug_spawning_proximity_forbid <boolean>)

debugs enemy proximity forbid influences

(<void> debug_spawning_random_influence <boolean>)

toggles display of random influence contribution

(<void> debug_spawning_respawn_zones <boolean>)

debugs respawn zone influences

(<void> debug_spawning_target <string>)

sets target player for respawn influencer debugging display

(<void> debug_spawning_teammates <boolean>)

debugs teammate proximity bias influences

(<void> debug_spawning_use_history <long>)

sets the saved respawn state for respawn influencer debugging display

(<void> debug_spawning_weapon_influences <boolean>)

debugs enemy weapon danger influences

(<void> debug_structure_cluster <long> <long>)

specify a structure and cluster to debug

(<void> debug_tags)

writes all memory being used by tag files into tag_dump.txt

(<void> debug_teleport_player <long> <long>)

for testing: teleports one player to another's location

(<void> decorators_split <long> <real>)

duplicates decorator set <index> and moves <percentage> of the decorators into it

(<cinematic definition> cinematic_tag_reference_get_cinematic <long>)

Retrieve a cinematic tag from the cinematic system

(<bink definition> cinematic_tag_reference_get_bink <long>)

Retrieve the bink tag from the cinematic system

(<void> designer_zone_activate <designer_zone>)

activate designer zone

(<void> designer_zone_deactivate <designer_zone>)

deactivates designer zone, deletes objects that were part of that designer zone

(<void> designer_zone_sync)

synchronizes global objects with loaded designer zones

(<void> determinism_debug_manager_enable_game_state_checksum <boolean>)

enable/disable determinism checkpoints

(<void> determinism_debug_manager_enable_logging <boolean>)

enable/disable determinism logging

(<void> determinism_debug_manager_enable_log_file_comparision_on_oos <boolean>)

enables/disables determinism log file comparision on oos

(<void> determinism_debug_manager_enable_trace <boolean>)

enable determinism tracing

(<void> determinism_debug_manager_set_consumer_sample_level <string> <long>)

sets sample level for a consumer

(<void> determinism_debug_manager_set_trace_flags <long>)

set which determinism debugging traces should be turned on

(<void> determinism_log_compare_log_files <string> <string>)

comares determinism log files

(<void> deterministic_end_game)

end game deterministically, by inserting a simulation queue event

(<void> device_animate_overlay <device> <real> <real> <real> <real>)

animate the overlay over time

(<void> device_animate_position <device> <real> <real> <real> <real> <boolean>)

animate the position over time

(<void> device_closes_automatically_set <device> <boolean>)

TRUE makes the given device close automatically after it has opened, FALSE makes it not

(<real> device_get_position <device>)

gets the current position of the given device (used for devices without explicit device groups)

(<real> device_get_power <device>)

gets the current power of a named device

(<void> device_group_change_only_once_more_set <device_group> <boolean>)

TRUE allows a device to change states only once

(<real> device_group_get <device_group>)

returns the desired value of the specified device group.

(<boolean> device_group_set <device> <device_group> <real>)

changes the desired value of the specified device group.

(<void> device_group_set_immediate <device_group> <real>)

instantaneously changes the value of the specified device group.

(<void> device_ignore_player_set <device> <boolean>)

TRUE makes the given device ignore the player (won't open for players), FALSE makes it work for the player

(<void> device_one_sided_set <device> <boolean>)

TRUE makes the given device one-sided (only able to be opened from one direction), FALSE makes it two-sided

(<void> device_operates_automatically_set <device> <boolean>)

TRUE makes the given device open automatically when any biped is nearby, FALSE makes it not

(<void> device_set_never_appears_locked <device> <boolean>)

changes a machine's never_appears_locked flag, but only if paul is a bastard

(<boolean> device_set_overlay_track <device> <string_id>)

set the desired overlay animation to use

(<boolean> device_set_position <device> <real>)

set the desired position of the given device (used for devices without explicit device groups)

(<void> device_set_position_immediate <device> <real>)

instantaneously changes the position of the given device (used for devices without explicit device groups

(<boolean> device_set_position_track <device> <string_id> <real>)

set the desired position track animation to use (optional interpolation time onto track)

(<void> device_set_power <device> <real>)

immediately sets the power of a named device to the given value

(<void> dip_stats_dump)

save DIP statistics to file

(<void> dip_stats_enable <boolean>)

<on> enable DIP statistics

(<void> dip_stats_sort_toggle)

toggle DIP statistics sort mode (inclusive DIP, exclusive DIP)

(<void> director_debug_camera <boolean>)

enable/disable camera debugging

(<void> display_video_standard)

displays the video standard the game is in

(<void> display_zone_size_estimates <boolean>)

display zone size estimates HUD

(/ <number> <number>)

returns the quotient of two expressions.

(<real> / <number> <number>)

returns the quotient of two expressions.

(<void> drop <string>)

drops the named tag e.g. objects\vehicles\banshee\banshee.vehicle

(<void> drop_ai <string> <string>)

Drop an ai with the given weapon at the current camera position

(<void> drop_permutation <string> <string>)

drops the named tag e.g. objects\characters\brute\brute.biped using the specified permutation. permutations are specified as a comma-delimited string of region=permutation pairs (e.g. region1=permutation1,region2=permutation2).

(<void> drop_safe <any tag>)

drops the named tag e.g. objects\vehicles\banshee\banshee.vehicle

(<void> drop_variant <string> <string>)

drops the named tag e.g. objects\vehicles\banshee\banshee.vehicle using the specified variant name

(<void> dump_active_resources)

blah

(<void> dump_active_zone_tags)

blah

(<void> dump_cinematics_script)

dump the cinematic script to cinematic_dump.txt

(<void> dump_cortana_script)

dump the cinematic script to cinematic_dump_cortana.txt

(<void> dump_designer_zone <designer_zone>)

dump interesting info about a designer zone

(<void> dump_loaded_tags)

dump a list of open tags to <map_name>_tags.txt

(<void> effect_new <effect> <cutscene_flag>)

starts the specified effect at the specified flag.

(<void> effect_new_at_ai_point <effect> <point_reference>)

starts the specified effect at the specified ai point.

(<void> effect_new_on_ground <effect> <object>)

starts the specified effect on the ground underneath the object's root.

(<void> effect_new_on_object_marker <effect> <object> <string_id>)

starts the specified effect on the specified object at the specified marker.

(<void> effect_new_random <effect> <point_reference>)

starts the specified effect at one of the points in the given a point set.

(= <expression> <expression>)

returns true if two expressions are equal

(<boolean> = <expression> <expression>)

returns true if two expressions are equal

(<void> error_geometry_hide <string>)

hides all error geometry with a name that includes the given substring

(<void> error_geometry_hide_all)

hides all error geometry

(<void> error_geometry_list)

prints out a list of all error geometry types and counts

(<void> error_geometry_show <string>)

highlights all error geometry with a name that includes the given substring

(<void> error_geometry_show_all)

highlights all error geometry

(<void> evaluate <script>)

Evaluate the given script

(<void> events_disable_suppression <boolean>)

enable/disable event suppression

(<void> events_enabled <boolean>)

enable/disable all events

(<void> events_spam_suppression_enable <boolean>)

enables or disables the suppression of event spamming

(<void> events_suppress_console_display <boolean>)

disables console display for events

(<void> event_debugger_break_category <string> <event>)

sets the debugger break level for a named category of network events

(<void> event_display_category <string> <event>)

sets the display level for a named category of network events

(<void> event_force_display_category <string> <event>)

sets the forced display level for a named category of network events

(<void> event_global_display_category <event>)

sets the global event display level

(<void> event_global_log_category <event>)

sets the global evetn log level

(<void> event_global_remote_log_category <event>)

sets the global remote evetn log level

(<void> event_halt_category <string> <event>)

sets the halt (assert/crash) level for a named category of network events

(<void> event_list_categories <string>)

lists all categories that exist under a particular category string

(<void> event_logs_snapshot)

copy error files to the error snapshot folder

(<void> event_log_category <string> <event>)

sets the log level for a named category of network events

(<void> event_remote_log_category <string> <event>)

sets the remote log level for a named category of network events

(<void> fade_in <real> <real> <real> <short>)

does a screen fade in from a particular color

(<void> fade_out <real> <real> <real> <short>)

does a screen fade out to a particular color

(<void> find <string>)

prints any hs command matching the string passed in

(<void> flags_clear)

erases all comment flags when not in editor (sapien)

(<void> flags_default_comment <string>)

<default comment flag description>

(<void> flags_default_name <string>)

<default comment flag name>

(<void> flags_set_filter <string>)

<flag name filter>

(<void> flag_new <string> <string>)

<name> <description>

(<void> flag_new_at_look <string> <string>)

<name> <description>

(<void> floating_point_exceptions_enable <boolean>)

enables/disables floating point exceptions

(<boolean> flock_create <string_id>)

Create the given flock

(<boolean> flock_definition_set <string_id> <any tag>)

Set the definition of the given flock to the given tag

(<boolean> flock_delete <string_id>)

Delete the given flock

(<boolean> flock_start <string_id>)

The flock starts producing boids

(<boolean> flock_stop <string_id>)

The flock stops producing boids

(<void> flock_unperch <string_id>)

Cause the given flock to unperch (if it is perched)

(<void> font_cache_bitmap_save <string>)

save font cache bitmap to targa file

(<void> font_cache_flush)
(<void> font_set_emergency)

sets the font system into emergency mode

(<void> force_debugger_always_present <boolean>)

forces is_debugger_present() to return true

(<void> force_debugger_not_present <boolean>)

forces is_debugger_present() to return false

(<void> force_manifest_redownload)

redownload the online storage manifest

(<void> game_achievements_display_achievement_names)

displays the achievement list

(<void> game_active_primary_skulls <long>)

debug map launching: sets the active primary skulls of the next map.

(<void> game_active_secondary_skulls <long>)

debug map launching: sets the active primary skulls of the next map.

(<boolean> game_all_quiet)

returns FALSE if there are bad guys around, projectiles in the air, etc.

(<void> game_award_level_complete_achievements)

causes the player to successfully finish the current level and move to the next

(<void> game_can_use_flashlights <boolean>)

allows or disallows the user of player flashlights

(<void> game_coop_players <long>)

debug map launching: sets the number of coop players for the next map.

(<long> game_coop_player_count)

returns the number of coop players active in game

(<void> game_difficulty <game_difficulty>)

debug map launching: sets the difficulty of the next map.

(<game_difficulty> game_difficulty_get)

returns the current difficulty setting, but lies to you and will never return easy, instead returning normal

(<game_difficulty> game_difficulty_get_real)

returns the actual current difficulty setting without lying

(<void> game_engine_event_test_assault <long>)

test game engine assault event

(<void> game_engine_event_test_ctf <long>)

test game engine ctf event

(<void> game_engine_event_test_flavor <long>)

test game engine flavor event

(<void> game_engine_event_test_general <long>)

test game engine general event

(<void> game_engine_event_test_infection <long>)

test game engine infection event

(<void> game_engine_event_test_juggernaut <long>)

test game engine juggernaut event

(<void> game_engine_event_test_king <long>)

test game engine king event

(<void> game_engine_event_test_oddball <long>)

test game engine oddball event

(<void> game_engine_event_test_slayer <long>)

test game engine slayer event

(<void> game_engine_event_test_territories <long>)

test game engine territories event

(<void> game_engine_event_test_vip <long>)

test game engine vip event

(<object_list> game_engine_objects)

returns a list of the special game engine objects

(<void> game_export_variant_settings <string>)

export the current game engine variant settings to the specified text file

(<void> game_grant_achievement_to_controller_by_string <controller> <string>)

unlocks an achievement for a given controller

(<void> game_grant_all_achievements_to_controller <controller>)

unlocks all achievements for a given controller

(<void> game_initial_zone_set <long>)

debug map launching: sets the initial bsp for the next map.

(<short> game_insertion_point_get)

returns the number of the insertion point the map was started at

(<void> game_insertion_point_lock <short>)

unlocks the given insertion point for the current map for all players

(<void> game_insertion_point_set <short>)

retroactively sets the insertion point that we started at.

(<void> game_insertion_point_unlock <short>)

unlocks the given insertion point for the current map for all players

(<boolean> game_is_cooperative)

returns TRUE if the game is cooperative

(<boolean> game_is_playtest)

returns the hs global boolean 'global_playtest_mode' which can be set in your init.txt

(<void> game_lost <boolean>)

marks the game as lost or not lost

(<void> game_multiplayer <string>)

debug map launching: sets the multiplayer engine for the next map.

(<void> game_rate <real> <real> <real>)

changes game update rate (DANGER: only use if you know what you're doing!)

(<void> game_revert)

causes the player to revert to their previous saved game (for testing and cinematic skipping only please!)

(<boolean> game_reverted)

don't use this for anything, you black-hearted bastards.

(<void> game_safe_to_respawn <boolean>)
(<boolean> game_safe_to_save)

returns FALSE if it would be a bad idea to save the player's game right now

(<boolean> game_safe_to_speak)

returns FALSE if it would be a bad idea to play mission dialog right now

(<void> game_save)

checks to see if it is safe to save game, then saves (gives up after 8 seconds)

(<void> game_save_and_quit)

save & quit to the main menu

(<void> game_save_cancel)

cancels any pending game_save, timeout or not

(<void> game_save_cinematic_skip)

don't use this, except in one place.

(<void> game_save_immediate)

disregards player's current situation and saves (BE VERY CAREFUL!)

(<void> game_save_no_timeout)

checks to see if it is safe to save game, then saves (this version never gives up)

(<void> game_save_unsafe)

saves right now, even if the game is in an immediate-loss state (NEVER USE THIS! EVER!)

(<boolean> game_saving)

checks to see if the game is trying to save the map.

(<void> game_splitscreen <long>)

debug map launching: sets the number of multiplayer splitscreen players for the next map.

(<void> game_start <string>)

debug map launching: starts a game on the specified map.

(<void> game_start_when_joined <long>)

nicely starts a game when the specified number of users are in the lobby

(<void> game_start_when_ready)

nicely starts the current game once the pregame lobby is stable

(<long> game_tick_get)

returns current game tick

(<void> game_tick_rate <long>)

debug map launching: sets the tick rate for the next map.

(<void> game_won)

causes the player to successfully finish the current level and move to the next

(<void> garbage_collect_multiplayer)

runs multiplayer garbage collection

(<void> garbage_collect_now)

causes all garbage objects except those visible to a player to be collected immediately

(<void> garbage_collect_unsafe)

forces all garbage objects to be collected immediately, even those visible to a player (dangerous!)

(>= <number> <number>)

returns true if the first number is larger than or equal to the second.

(<boolean> >= <number> <number>)

returns true if the first number is larger than or equal to the second.

(<boolean> generate_pathfinding)

Generate pathfinding info for all structure bsps in the current scenario

(<void> generate_rsa_2048_key_pair)

generates an RSA key pair

(<void> geometry_cache_flush)

we fear change

(<boolean> get_camera_third_person <long>)

<user_index> gets user's camera perspective

(<long> get_executing_running_thread)

Retrieves the current executing thread index

(<real> get_performance_throttle <string> <long>)

gets the value of a performance throttle for a given number of players

(<void> give_medal <short>)

awards a medal (0..58) to pad 1 due to pad 2 (if they're there)

(<void> global_preferences_clear)

clears all game preference information

(> <number> <number>)

returns true if the first number is larger than the second.

(<boolean> > <number> <number>)

returns true if the first number is larger than the second.

(<void> gui_debug_bitmap_animation <string_id> <boolean>)

Toggle display of given bitmap widget's animation state

(<void> gui_debug_bitmap_bounds <string_id> <boolean>)

Toggle display of given bitmap widget's bounds

(<void> gui_debug_bitmap_name <string_id> <boolean>)

Toggle display of given bitmap widget's name

(<void> gui_debug_bitmap_rotation <string_id> <boolean>)

Toggle display of given bitmap widget's rotation

(<void> gui_debug_group_animation <string_id> <boolean> <boolean>)

Toggle display of given group's animations, optionally recursive

(<void> gui_debug_group_bounds <string_id> <boolean> <boolean>)

Toggle display of given group's bounds, optionally recursive

(<void> gui_debug_group_name <string_id> <boolean> <boolean>)

Toggle display of given group's name, optionally recursive

(<void> gui_debug_group_rotation <string_id> <boolean> <boolean>)

Toggle display of given group's rotation, optionally recursive

(<void> gui_debug_list_animation <string_id> <boolean> <boolean>)

Toggle display of given list's animations, optionally recursive

(<void> gui_debug_list_bounds <string_id> <boolean> <boolean>)

Toggle display of given list's bounds, optionally recursive

(<void> gui_debug_list_item_animation <string_id> <boolean> <boolean>)

Toggle display of given list item's animation, optionally recursive

(<void> gui_debug_list_item_bounds <string_id> <boolean> <boolean>)

Toggle display of given list item's bounds, optionally recursive

(<void> gui_debug_list_item_name <string_id> <boolean> <boolean>)

Toggle display of given list item's name, optionally recursive

(<void> gui_debug_list_item_rotation <string_id> <boolean> <boolean>)

Toggle display of given list item's rotation, optionally recursive

(<void> gui_debug_list_name <string_id> <boolean> <boolean>)

Toggle display of given list's name, optionally recursive

(<void> gui_debug_list_rotation <string_id> <boolean> <boolean>)

Toggle display of given list's rotation, optionally recursive

(<void> gui_debug_music_state <boolean>)

Toggle display of UI music state

(<void> gui_debug_screen_animation <string_id> <boolean> <boolean>)

Toggle display of given screen animations, optionally recursive

(<void> gui_debug_screen_bounds <string_id> <boolean> <boolean>)

Toggle display of given screen's bounds, optionally recursive

(<void> gui_debug_screen_name <string_id> <boolean> <boolean>)

Toggle display of given screen's name, optionally recursive

(<void> gui_debug_screen_rotation <string_id> <boolean> <boolean>)

Toggle display of given screen's rotation, optionally recursive

(<void> gui_debug_text_animation <string_id> <boolean>)

Toggle display of given text widget's animation state

(<void> gui_debug_text_bounds <string_id> <boolean>)

Toggle display of given text widget's bounds

(<void> gui_debug_text_name <string_id> <boolean>)

Toggle display of given text widget's name

(<void> gui_debug_text_rotation <string_id> <boolean>)

Toggle display of given text widget's rotation

(<void> gui_dialog_show <string_id>)

<dialog name>

(<void> gui_enter_lobby <long>)

<lobby index> index 0-4

(<void> gui_error_clear <string_id> <long>)

<error_name> <controller_index> clears an error condition in the ui

(<void> gui_error_post <string_id> <long> <boolean>)

<error_code> <controller_index> <must_be_cleared> sets an error condition in the ui

(<void> gui_error_post_toast <string_id> <long> <boolean>)

<error_code> <controller_index> <must_be_cleared> sets an error condition in the ui

(<void> gui_error_resolve <string_id> <long>)

<error_name> <controller_index> resolves an error condition in the ui

(<void> gui_load_screen <string_id>)

load the named screen

(<void> gui_print_active_screens)

display list of active halox ui screens

(<void> gui_print_active_screen_strings)

display strings tag file name for current topmost screen

(<void> gui_reset)

cleans out the halox ui screens and errors

(<void> gui_spartan_milestone_show <short>)

show dialog for milestone upgrade (1..3)

(<void> gui_spartan_rank_show <short>)

show toast for rank upgrade (1..36)

(<void> gui_spartan_reset_profile <controller>)

reset profile stored milestone and hopper rankings

(<void> gui_spartan_set_achievement_day_of_month <short>)

overrides the system time's day of the month for 7 on 7 EXP achievement

(<void> gui_start)

tells the window location manager to resume

(<void> gui_stop)

tells the window location manager to stop bringing up screens on its own

(<void> havok_debug_start)

start up the havok visual debugger

(<void> havok_dump_world <string> <boolean>)

dump the state of the havok world, with our without a movie

(<void> havok_dump_world_close_movie)

end the capture of a havok dump movie

(<void> havok_profile_range <long> <long>)

captures timers and a movie of a specific tick range

(<void> havok_profile_start)

start profiling havok

(<void> havok_profile_stop)

stop profiling havok, and save the results

(<void> havok_reset_allocated_state)

strips down and builds back up all allocated havok memory

(<void> help <string>)

prints a description of the named function.

(<void> hud_activate_team_nav_point_flag <team> <cutscene_flag> <real>)

activates a nav point type <string> attached to a team anchored to a flag with a vertical offset <real>. If the player is not local to the machine, this will fail

(<void> hud_deactivate_team_nav_point_flag <team> <cutscene_flag>)

deactivates a nav point type attached to a team anchored to a flag

(<void> hud_enable_training <boolean>)

true turns training on, false turns it off.

(<void> hud_set_training_text <string_id>)

sets the string id fo the scripted training text

(<void> hud_show_training_text <boolean>)

true turns on scripted training text

(if <boolean> <then> [<else>])

returns one of two values based on the value of a condition.

(<passthrough> if <boolean> <then> [<else>])

returns one of two values based on the value of a condition.

(<void> input_disable_claw_button_combos <boolean>)

disabe the Claw button combos (for monkey testing)

(<void> input_suppress_rumble <boolean>)

disable the friggin' rumble

(inspect <expression>)

prints the value of an expression to the screen for debugging purposes.

(<void> inspect <expression>)

prints the value of an expression to the screen for debugging purposes.

(<real> interpolator_evaluate_at <string_id> <real> <boolean>)

<name> <value in> <use function ON/OFF>

(<real> interpolator_evaluate_at_time <string_id> <real> <boolean>)

<name> <time in> <use function ON/OFF>

(<real> interpolator_evaluate_at_time_delta <string_id> <real> <boolean>)

<name> <time delta> <use function ON/OFF>

(<real> interpolator_evaluate_at_time_fraction <string_id> <real> <boolean>)

<name> <time fraction in> <use function ON/OFF>

(<void> interpolator_flip)
(<real> interpolator_get_current_phase <string_id>)

<name>

(<real> interpolator_get_current_time_fraction <string_id>)

<name>

(<real> interpolator_get_current_value <string_id> <boolean>)

<name> <use function ON/OFF>

(<real> interpolator_get_final_time <string_id>)

<name>

(<real> interpolator_get_final_value <string_id> <boolean>)

<name> <use function ON/OFF>

(<real> interpolator_get_start_time <string_id>)

<name>

(<real> interpolator_get_start_value <string_id> <boolean>)

<name> <use function ON/OFF>

(<boolean> interpolator_is_active <string_id>)

<name>

(<boolean> interpolator_is_finished <string_id>)

<name>

(<long> interpolator_restart <string_id>)

<name>

(<void> interpolator_restart_all)
(<long> interpolator_set_current_value <string_id> <real>)

<name> <current value>

(<long> interpolator_start <string_id> <real> <real>)

<name> <final value> <time>

(<long> interpolator_start_smooth <string_id> <real> <real>)

<name> <final value> <time>

(<long> interpolator_stop <string_id>)

<name>

(<void> interpolator_stop_all)
(<boolean> is_ace_build)

returns if this is an ACE enabled build

(<void> kill_active_scripts)

Terminates all currently running threads.

(<void> kill_thread <long>)

Kill the specified thread

(<void> kill_volume_disable <trigger_volume>)

disables a kill volume

(<void> kill_volume_enable <trigger_volume>)

enables a kill volume

(<void> language_set <string>)

change the language for localization

(<= <number> <number>)

returns true if the first number is smaller than or equal to the second.

(<boolean> <= <number> <number>)

returns true if the first number is smaller than or equal to the second.

(<void> lightshafts_enable <boolean>)

turn on/off lightshafts

(<short> list_count <object_list>)

returns the number of objects in a list

(<short> list_count_not_dead <object_list>)

returns the number of objects in a list that aren't dead

(<object> list_get <object_list> <short>)

returns an item in an object list.

(<void> log_print <string>)

prints a string to the hs log file.

(<void> loop_clear)

runs the expression at most once per tick

(<void> loop_it <string>)

runs the expression at most once per tick

(< <number> <number>)

returns true if the first number is smaller than the second.

(<boolean> < <number> <number>)

returns true if the first number is smaller than the second.

(<void> magic_melee_attack)

causes player's unit to start a melee attack

(<void> main_halt)

goes to a halted pregame state

(<void> main_menu)

goes back to the main menu

(<void> map_info)

prints the map, zone set, active bsps, and current bsp

(<void> map_name <string>)

the same as game_start: launches a game for debugging purposes

(<void> map_reset)

starts the map from the beginning.

(<void> map_reset_random)

starts the map from the beginning with a new random seed.

(max <number(s)>)

returns the maximum of all specified expressions.

(<real> max <number(s)>)

returns the maximum of all specified expressions.

(min <number(s)>)

returns the minimum of all specified expressions.

(<real> min <number(s)>)

returns the minimum of all specified expressions.

(- <number> <number>)

returns the difference of two expressions.

(<real> - <number> <number>)

returns the difference of two expressions.

(<void> motion_blur <boolean>)

enable/disable motion blur

(<boolean> mover_set_program <object> <short>)

Set the motor program of the given mover object

(<long> mp_active_player_count_by_team <mp_team>)

given a team index, returns an object list containing all living player objects belonging to that team

(<void> mp_ai_allegiance <team> <mp_team>)

causes an allegiance to be formed between an AI squad team and a multiplayer team

(<void> mp_ai_kill <ai>)

instantly kills the specified non-authoritative encounter and/or squad.

(<void> mp_ai_kill_silent <ai>)

instantly and silently (no animation or sound played) kills the specified non-authoritative encounter and/or squad.

(<void> mp_ai_place <ai>)

places the specified squad on the map as a non-authoritative object

(<void> mp_ai_place <ai> <short>)

places the given number of members of the specified squad as non-authoritative objects

(<void> mp_allegiance <mp_team> <mp_team>)

create an allegiance between two multiplayer teams

(<void> mp_debug_goal_object_boundary_geometry <boolean>)

toggle debug geometry for multiplayer goal objects

(<void> mp_dump_candy_monitor_state)

dumps the current candy monitor state to a file on disk

(<void> mp_game_won <mp_team>)

given a team index, declares the game a victory for that team and a loss for all others

(<void> mp_object_belongs_to_team <object> <mp_team>)

causes specified object to belong to the given team, so that only that team can pick it up

(<void> mp_object_create <object_name>)

creates a non-authoratative object from the scenario.

(<void> mp_object_create_anew <object_name>)

creates a non-authoratative object, destroying it first if it already exists.

(<void> mp_object_create_clone <object_name>)

creates a non-authoratative object, potentially resulting in multiple objects if it already exists.

(<void> mp_object_destroy <object>)

destroys a non-authoratative object.

(<object_list> mp_players_by_team <mp_team>)

given a team index, returns an object list containing all living player objects belonging to that team

(<void> mp_respawn_override_timers <mp_team>)

causes all players on the specified team waiting to respawn (due to timer) to respawn immediately

(<boolean> mp_round_started)

used to determine if the mp game is in the active-round phase or not

(<void> mp_scripts_reset)

on the host in a distributed game, resets the scripts (but not internal hs globals)

(<void> mp_wake_script <string>)

on the host in a distributed game, sends a message to clients to wake a dormant script

(<void> mp_weapon_belongs_to_team <object> <mp_team>)

causes specified weapon to belong to the given team, so that only that team can pick it up

(* <number(s)>)

returns the product of all specified expressions.

(<real> * <number(s)>)

returns the product of all specified expressions.

(!= <expression> <expression>)

returns true if two expressions are not equal

(<boolean> != <expression> <expression>)

returns true if two expressions are not equal

(<void> netdebug_prefer_internet <boolean>)

hints to the netdebug code that that we're on the internet

(<void> network_storage_set_storage_subdirectory <string>)

<subdirectory> The default is the build number or 'untracked'

(<void> network_storage_set_storage_user <string>)

<user> Use the network file stored on untracked<user>.

(<void> net_banhammer_dump_repeated_play_list)

display repeated play lists

(<void> net_banhammer_dump_strings)

display cheat/ban strings

(<void> net_banhammer_force_download <boolean> <boolean>)

force banhammer file download

(<void> net_banhammer_set_controller_ban_flags <controller> <string> <long> <boolean>)

sets ban flags

(<void> net_banhammer_set_controller_cheat_flags <controller> <string> <boolean>)

sets cheat flags

(<void> net_build_game_variant <string>)

writes the current game variant to a file

(<void> net_build_map_variant <string>)

writes the current map variant to a file

(<void> net_build_network_config)

writes a new network configuration file

(<void> net_enable_join_friend_loop <long>)

randomly join a friend every <param> seconds, 0 to reset

(<void> net_game_set_player_standing <string> <long>)

set's a player's standing by gamertag

(<void> net_get_game_id)

prints the id of the game to the console

(<void> net_join_friend <string>)

join a friend's squad session, 'none' to cancel a previous join

(<void> net_join_sessionid <string>)

join a squad session by sessionid, 'none' to cancel a previous join

(<void> net_join_squad_to_friend <string>)

join our squad to a friend's squad session, 'none' to cancel a previous join

(<void> net_join_squad_to_sessionid <string>)

join a squad session by sessionid, 'none' to cancel a previous join

(<void> net_leaderboard_clear_global_arbitrated <long>)

<user index> clears the global arbitrated stats for the user

(<void> net_leaderboard_clear_global_arbitrated_all_users <string>)

clears the global arbitrated stats for all user

(<void> net_leaderboard_clear_global_unarbitrated <long>)

<user index> clears the global unarbitrated stats for the user

(<void> net_leaderboard_clear_global_unarbitrated_all_users <string>)

clears the global unarbitrated stats for all user

(<void> net_leaderboard_clear_hopper <long>)

<user index> clears the hopper stats for the user

(<void> net_leaderboard_clear_hopper_all_users <string>)

clears the hopper stats for the all user

(<void> net_leaderboard_refresh)

<user index> refreshes stats for everybody in the session

(<void> net_leaderboard_set_user_game_stats <long> <long> <long> <long> <long>)

slams more user stats

(<void> net_leaderboard_set_user_stats <long> <real> <real> <long> <long> <long>)

slams user leaderboard values locally

(<void> net_load_and_use_game_variant <string>)

loads the contents of a packed game variant file and submits to networking for use in the current game

(<void> net_quality_clear)

clear all network quality statistics

(<void> net_quality_dump)

dump all network quality statistics

(<void> net_quality_set_connection_badness_history <boolean> <short>)

set connection history, true/false, # of bits to set

(<void> net_quality_set_estimated_bandwidth <boolean> <long>)

set upstream bandwidth history, <is reliable> <bandwidth in kbps>

(<void> net_quality_set_group_client_badness_history <boolean> <short>)

set client badness history, true/false, # of bits to set

(<void> net_quality_set_group_host_badness_history <boolean> <short>)

set host badness history, true/false, # of bits to set

(<void> net_quality_set_squad_client_badness_history <boolean> <short>)

set client badness history, true/false, # of bits to set

(<void> net_quality_set_squad_host_badness_history <boolean> <short>)

set host badness history, true/false, # of bits to set

(<void> net_set_campaign_insertion_point <short>)

sets the campaign insertion point for this squad

(<void> net_set_machine_name <string>)

sets the nickname of your xbox

(<void> net_set_maximum_player_count <long>)

sets the maximum player count for this squad

(<void> net_sim_dropspike_now)

network simulation: starts a packet loss spike immediately

(<void> net_sim_reset)

network simulation: resets the simulation state

(<void> net_sim_spike_now)

network simulation: starts a latency spike immediately

(<void> net_status_filter <string>)

filters the set of network status to display

(<void> net_test_campaign_difficulty <short>)

network test: sets the difficulty of the campaign game to play

(<void> net_test_channel_delete)

network test: deletes all channels

(<void> net_test_clear_group_session_parameter <long>)

clears a group session parameter

(<void> net_test_clear_squad_session_parameter <long>)

clears a squad session parameter

(<void> net_test_delegate_host <long>)

network test: delegate host to the specified player

(<void> net_test_delegate_leader <long>)

network test: delegate leadership to the specified player

(<void> net_test_disconnect_group)

disconnects the group session

(<void> net_test_disconnect_squad)

disconnects the squad session

(<void> net_test_fatal_error)

creates a fatal simulation error

(<void> net_test_life_cycle_display_states)

display the life cycle states

(<void> net_test_life_cycle_pause <string> <boolean>)

pauses the life cycle in the specified state

(<void> net_test_map_name <string>)

network test: sets the name of the scenario to play

(<void> net_test_matchmaking_hopper_game_list)

prints games for the current hopper

(<void> net_test_matchmaking_hopper_list)

prints the hopper list

(<void> net_test_matchmaking_hopper_set_game <long>)

sets the game vairant for the current hopper

(<void> net_test_ping)

network test: sends a ping

(<void> net_test_player_color <long>)

network test: temporarily sets the color for all local players

(<void> net_test_reset_objects)

network test: resets all objects on the map

(<void> net_test_variant <string>)

network test: sets the game variant to play

(<void> net_use_hopper_directory <string>)

set which hopper directory to use

(<void> net_verify_game_variant <string>)

verifies the contents of a packed game variant file

(<void> net_verify_map_variant <string>)

verifies the contents of a packed map variant file

(<void> noguchis_mystery_tour <string>)

set the additional music directory to dump into the cache file

(not <boolean>)

returns the opposite of the expression.

(<boolean> not <boolean>)

returns the opposite of the expression.

(<void> objectives_clear)

clears the mission objectives.

(<void> objectives_finish_up_to <long>)

mark primary campaign objectives 0..n as complete

(<void> objectives_secondary_finish <long>)

mark secondary campaign objective N as complete

(<void> objectives_secondary_show <long>)

show secondary campaign objective N

(<void> objectives_secondary_unavailable <long>)

mark secondary campaign objective N as unavailable

(<void> objectives_show_up_to <long>)

show primary campaign objectives 0..n

(<void> objects_attach <object> <string_id> <object> <string_id>)

attaches the second object to the first both strings can be empty

(<boolean> objects_can_see_flag <object_list> <cutscene_flag> <real>)

returns true if any of the specified units are looking within the specified number of degrees of the flag.

(<boolean> objects_can_see_object <object_list> <object> <real>)

returns true if any of the specified units are looking within the specified number of degrees of the object.

(<void> objects_delete_by_definition <object_definition>)

deletes all objects of type <definition>

(<void> objects_detach <object> <object>)

detaches from the given parent object the given child object

(<real> objects_distance_to_flag <object_list> <cutscene_flag>)

returns minimum distance from any of the specified objects to the specified flag. (returns -1 if there are no objects, or no flag, to check)

(<real> objects_distance_to_object <object_list> <object>)

returns minimum distance from any of the specified objects to the specified destination object. (returns -1 if there are no objects to check)

(<void> objects_dump_memory)

debugs object memory usage

(<void> objects_predict <object_list>)

loads textures/geometry/sounds necessary to present objects that are about to come on-screen

(<void> objects_predict_high <object_list>)

loads textures/geometry/sounds necessary to present objects that are about to come on-screen

(<void> objects_predict_low <object_list>)

loads textures/geometry/sounds necessary to present objects that are about to come on-screen

(<object> object_at_marker <object> <string_id>)

returns the object attached to the marker of the given parent object

(<real> object_buckling_magnitude_get <object>)

returns the amoount [0-1] that a scarab is buckling

(<void> object_cannot_die <object> <boolean>)

Set whether the object can die from damage or not (as opposed to by scripting)

(<void> object_cannot_take_damage <object_list>)

prevents an object from taking damage

(<void> object_can_take_damage <object_list>)

allows an object to take damage again

(<void> object_cinematic_collision <object> <boolean>)

makes an object not collide with other cinematic collision objects.

(<void> object_cinematic_lod <object> <boolean>)

makes an object use the highest lod for the remainder of the levels' cutscenes.

(<void> object_cinematic_visibility <object> <boolean>)

makes an object bypass visibility and always render during cinematics.

(<void> object_clear_all_function_variables <object>)

clears all funciton variables for sin-o-matic use

(<void> object_clear_function_variable <object> <string_id>)

clears one funciton variables for sin-o-matic use

(<void> object_copy_player_appearance <object> <long>)

copy appearance into object from player n (starts counting from 0)

(<void> object_create <object_name>)

creates an object from the scenario.

(<void> object_create_anew <object_name>)

creates an object, destroying it first if it already exists.

(<void> object_create_anew_containing <string>)

creates anew all objects from the scenario whose names contain the given substring.

(<void> object_create_clone <object_name>)

creates an object, potentially resulting in multiple objects if it already exists.

(<void> object_create_clone_containing <string>)

creates clones for all objects from the scenario whose names contain the given substring.

(<void> object_create_containing <string>)

creates all objects from the scenario whose names contain the given substring.

(<void> object_create_folder <folder>)

creates all the objects in the given folder

(<void> object_create_folder_anew <folder>)

creates all the objects in the given folder

(<void> object_create_if_necessary <object_name>)

creates an object if it doesn't already exists.

(<void> object_damage_damage_section <object> <string_id> <real>)

applies damage to a damage section, causing all manner of effects/constraint breakage to occur

(<void> object_destroy <object>)

destroys an object.

(<void> object_destroy_all)

destroys all non player objects.

(<void> object_destroy_containing <string>)

destroys all objects from the scenario whose names contain the given substring.

(<void> object_destroy_folder <folder>)

destroys all objects in the given folder.

(<void> object_destroy_type_mask <long>)

destroys all objects matching the type mask

(<void> object_dynamic_simulation_disable <object> <boolean>)

disabled dynamic simulation for this object (makes it fixed)

(<void> object_function_set <long> <real>)

sets a global object function (0-3) to value

(<ai> object_get_ai <object>)

returns the ai attached to this object, if any

(<real> object_get_health <object>)

returns the health [0,1] of the object, returns -1 if the object does not exist

(<object> object_get_parent <object>)

returns the parent of the given object

(<real> object_get_shield <object>)

returns the shield [0,1] of the object, returns -1 if the object does not exist

(<vehicle> object_get_turret <object> <short>)

returns the nth turret attached to the given object

(<short> object_get_turret_count <object>)

returns the number of turrets attached to the given object

(<void> object_hide <object> <boolean>)

hides or shows the object passed in

(<object_list> object_list_children <object> <object_definition>)

returns list of child objects by definition.

(<short> object_model_targets_destroyed <object> <string_id>)

returns TRUE if the specified model target is destroyed

(<boolean> object_model_target_destroyed <object> <string_id>)

returns TRUE if the specified model target is destroyed

(<void> object_recycling_clear_history)

clear object recycling history

(<void> object_set_always_active <object> <boolean>)

sets/unsets the object always active flag to ignore pvs changes

(<void> object_set_collision_damage_armor_scale <object> <real>)

0==default of 1.0, otherwise it is scale on how this objects takes collisoin damage, >1 == more protection, <1 == less

(<void> object_set_custom_animations_hold_on_last_frame <boolean>)

changes the default behavior for custom animations

(<void> object_set_custom_animations_prevent_lipsync_head_movement <boolean>)

when true, prevents lipsync from bobbing the head during custom animations. default is true.

(<void> object_set_custom_animation_speed <object> <real>)

if the object is playing a custom animation, scale it to n playback speed

(<void> object_set_deleted_when_deactivated <object>)

when this object deactivates it will be deleted

(<void> object_set_facing <object> <cutscene_flag>)

turns the specified object in the direction of the specified flag.

(<void> object_set_function_variable <object> <string_id> <real> <real>)

sets funciton variable for sin-o-matic use

(<void> object_set_inertia_tensor_scale <object> <real>)

0==default of 1.0, otherwise it is scale on this objects inertia tensor

(<void> object_set_melee_attack_inhibited <object> <boolean>)

FALSE prevents object from using melee attack

(<void> object_set_permutation <object> <string_id> <string_id>)

sets the desired region (use "" for all regions) to the permutation with the given name, e.g. (object_set_permutation flood "right arm" ~damaged)

(<void> object_set_persistent <object> <boolean>)

<object_index> <true/false> prevent this object from being garbage collected

(<void> object_set_phantom_power <object> <boolean>)

sets phantom power to be latched at 1.0f or 0.0f

(<void> object_set_physics <object> <boolean>)

prevents an object from running physics or colliding with any other objects

(<void> object_set_ranged_attack_inhibited <object> <boolean>)

FALSE prevents object from using ranged attack

(<void> object_set_region_state <object> <string_id> <model_state>)

sets the desired region (use "" for all regions) to the model state with the given name, e.g. (object_set_region_state marine head destroyed)

(<void> object_set_scale <object> <real> <short>)

sets the scale for a given object and interpolates over the given number of frames to achieve that scale

(<void> object_set_shadowless <object> <boolean>)

set/reset shadow castingness of object

(<void> object_set_shield <object> <real>)

sets the shield vitality of the specified object (between 0 and 1).

(<void> object_set_shield_effect <object> <real> <real>)

sets the shield response effect (not current shield amount) to a given value over the given number of seconds (cinematic use only, remember to call (object_set_shield_effect 0 0) after use!)

(<void> object_set_shield_stun <object> <real>)

set how long the shield will be stunned for, 0 is unstunned

(<void> object_set_shield_stun_infinite <object>)

make this objects shield be stunned permanently

(<void> object_set_variant <object> <string_id>)

sets the specified object to the specified model variant

(<void> object_set_velocity <object> <real>)

Sets the (object-relative) forward velocity of the given object

(<void> object_set_velocity <object> <real> <real> <real>)

Sets the (object-relative) velocity of the given object

(<void> object_teleport <object> <cutscene_flag>)

moves the specified object to the specified flag.

(<void> object_teleport_to_ai_point <object> <point_reference>)

moves the specified object to the specified ai point.

(<void> object_type_predict <object_definition>)

loads textures necessary to draw an object that's about to come on-screen.

(<void> object_type_predict_high <object_definition>)

loads textures necessary to draw an object that's about to come on-screen.

(<void> object_type_predict_low <object_definition>)

loads textures necessary to draw an object that's about to come on-screen.

(<boolean> object_vitality_pinned <object>)

returns TRUE if the object's vitality is currently pinned at some minimum value because it cannot die.

(<void> object_wake_physics <object>)

wakes physics of an object. For example it would make an usupported crate fall

(<void> online_files_retry)

tell the upload queue to start up again after a failure

(<void> online_files_throttle_bandwidth <long>)

<bytes per second> sets the maximum bandwidth that online_files can use

(<void> online_files_upload <string> <long>)

<filename> <slot_index> enqueues the specified filename for upload

(<void> online_marketplace_refresh)

tells the marketplace manager to take another look at signed in users

(<boolean> on_target_platform)

returns true if the game thinks it's running on the target platform

(or <boolean(s)>)

returns true if any specified expressions are true.

(<boolean> or <boolean(s)>)

returns true if any specified expressions are true.

(<void> overlapped_display_task_descriptions)

displays all tasks

(<void> overlapped_task_inject_error <string> <boolean>)

inject error for tasks

(<void> overlapped_task_pause <string> <boolean>)

pause tasks

(<void> physical_memory_dump)

dumps a record of all physical memory allocations

(<void> physics_constants_reset)

resets all physics constants to earthly values

(<void> physics_disable_character_ground_adhesion_forces <real>)

turn off ground adhesion forces so you can play tricks with gravity

(<void> physics_set_gravity <real>)

set global gravity acceleration relative to halo standard gravity

(<void> physics_set_velocity_frame <real> <real> <real>)

sets a local frame of motion for updating physics of things that wish to respect it

(<real> pin <real> <real> <real>)

returns the first value pinned between the second two

(<boolean> player0_looking_down)

true if the first player is looking down

(<boolean> player0_looking_up)

true if the first player is looking up

(<void> player0_set_pitch <real> <long>)

sets up player look up test

(<void> player1_set_pitch <real> <long>)

sets up player look up test

(<void> player2_set_pitch <real> <long>)

sets up player look up test

(<void> player3_set_pitch <real> <long>)

sets up player look up test

(<object_list> players)

returns a list of the players (DO NOT USE TO COUNT PLAYERS IN COOP GAME, USE game_coop_player_count)

(<void> players_unzoom_all)

resets zoom levels on all players

(<boolean> player_action_test_accept)

returns true if any player has hit accept since the last call to (player_action_test_reset).

(<boolean> player_action_test_action)

returns true if any player has hit the action key since the last call to (player_action_test_reset).

(<boolean> player_action_test_back)

returns true if any player has pressed the back button since the last call to (player_action_test_reset).

(<boolean> player_action_test_cancel)

returns true if any player has hit cancel key since the last call to (player_action_test_reset).

(<boolean> player_action_test_cinematic_skip)

returns true if any player has pressed the cinematic skip button (player_action_test_reset).

(<boolean> player_action_test_grenade_trigger)

returns true if any player has used grenade trigger since the last call to (player_action_test_reset).

(<boolean> player_action_test_jump)

returns true if any player has jumped since the last call to (player_action_test_reset).

(<boolean> player_action_test_lookstick_backward)

true if the first player pushed backward on lookstick

(<boolean> player_action_test_lookstick_forward)

true if the first player pushed forward on lookstick

(<void> player_action_test_look_down_begin <real> <real>)

sets down player look down test

(<void> player_action_test_look_pitch_end)

ends the look pitch testing

(<boolean> player_action_test_look_relative_all_directions)

returns true if any player has looked up, down, left, and right since the last call to (player_action_test_reset).

(<boolean> player_action_test_look_relative_down)

returns true if any player has looked down since the last call to (player_action_test_reset).

(<boolean> player_action_test_look_relative_left)

returns true if any player has looked left since the last call to (player_action_test_reset).

(<boolean> player_action_test_look_relative_right)

returns true if any player has looked right since the last call to (player_action_test_reset).

(<boolean> player_action_test_look_relative_up)

returns true if any player has looked up since the last call to (player_action_test_reset).

(<void> player_action_test_look_up_begin <real> <real>)

sets up player look up test

(<boolean> player_action_test_melee)

returns true if any player has hit the melee button since the last call to (player_action_test_reset).

(<boolean> player_action_test_move_relative_all_directions)

returns true if any player has moved forward, backward, left, and right since the last call to (player_action_test_reset).

(<boolean> player_action_test_primary_trigger)

returns true if any player has used primary trigger since the last call to (player_action_test_reset).

(<void> player_action_test_reset)

resets the player action test state so that all tests will return false.

(<boolean> player_action_test_rotate_grenades)

returns true if any player has hit the rotate-grenades button since the last call to (player_action_test_reset).

(<boolean> player_action_test_rotate_weapons)

returns true if any player has hit the rotate-weapon button since the last call to (player_action_test_reset).

(<boolean> player_action_test_start)

returns true if any player has pressed the start button since the last call to (player_action_test_reset).

(<boolean> player_action_test_vision_trigger)

returns true if any player has used vision trigger since the last call to (player_action_test_reset).

(<boolean> player_action_test_zoom)

returns true if any player has hit the zoom button since the last call to (player_action_test_reset).

(<boolean> player_active_camouflage_on)

returns true if any player is active camouflaged

(<boolean> player_camera_control <boolean>)

enables/disables camera control globally

(<void> player_control_fade_in_all_input <real>)

fade in all play control over x seconds

(<void> player_control_fade_out_all_input <real>)

fade out all play control over x seconds

(<void> player_control_lock_gaze <unit> <point_reference> <real>)

player turn to face point with max velocity degrees/second

(<void> player_control_scale_all_input <real> <real>)

scale input to x strength over y seconds

(<void> player_control_unlock_gaze <unit>)

unlock player from any gaze point

(<void> player_disable_movement <boolean>)

toggle player input. the look stick works, but nothing else.

(<void> player_disable_weapon_pickup <boolean>)

enable/disable all players' ability to pick up weapons

(<void> player_effect_set_max_rotation <real> <real> <real>)

<yaw> <pitch> <roll>

(<void> player_effect_set_max_rumble <real> <real>)

<left> <right>

(<void> player_effect_set_max_translation <real> <real> <real>)

<x> <y> <z>

(<void> player_effect_start <real> <real>)

<max_intensity> <attack time>

(<void> player_effect_stop <real>)

<decay>

(<void> player_enable_input <boolean>)

toggle player input. the player can still free-look, but nothing else.

(<boolean> player_flashlight_on)

returns true if any player has a flashlight on

(<void> player_force_mode <string_id>)

force your will upon the player

(<unit> player_get <long>)

Get a player by absolute index

(<void> player_has_mad_secret_skills <long>)

You are the best!

(<boolean> player_has_skills)

Are you the best?

(<boolean> player_in_vehicle <vehicle>)

Returns whether any players are in the given vehicle

(<void> player_training_activate_crouch)

guess

(<void> player_training_activate_equipment)

guess

(<void> player_training_activate_flashlight)

guess

(<void> player_training_activate_jump)

guess

(<void> player_training_activate_stealth)

guess

(<void> play_bink_movie <string>)

um...

(<void> play_bink_movie_from_tag <bink definition>)

play a bink movie from a tag

(<void> play_cortana_effect <string_id>)

scales the cortana effect distances

(<void> play_credits_skip_to_menu)

plays credits movie, pressing any button will stop credits and launch main menu

(<void> play_credits_unskippable)

plays credits movie, no button press detection (you can still use cinematic skipping around this)

(+ <number(s)>)

returns the sum of all specified expressions.

(<real> + <number(s)>)

returns the sum of all specified expressions.

(<void> position_predict <real> <real> <real>)

in: x, y, z position. loads textures/geometry/sounds necessary to present locations that are about to come on-screen.

(<void> predict_animation <animation_graph> <string_id>)

begin loading an animation for the graph provided

(<void> predict_bink_movie <string>)

um2...

(<void> predict_bink_movie_from_tag <bink definition>)

um2...

(<boolean> preferred_animation_list_add <object> <string_id>)

adds an animation into the 'preferred list' of animations

(<void> preferred_animation_list_clear)

clears the 'preferred list' of animations

(<void> prepare_to_switch_to_zone_set <zone_set>)

prepare for switch to zone set

(<void> print <string>)

prints a string to the console.

(<void> print_light_state)

outputs text light state

(<void> profiler_auto_core_save <boolean>)

profiler dumps a core for each encounter

(<void> profiler_dump_history)

dump profile history.

(<void> profiler_enable <boolean>)

toggles the profile display on/off

(<void> profiler_output_pulse)

dump profile stats to telnet console.

(<void> profiler_set_attribute <string>)

sets an attribute to profile by name

(<void> profiler_set_range <long>)

sets the collection range used

(<void> profiler_set_sort_method <long>)

sets the sorting method used

(<void> profiler_set_thread <long>)

sets the thread index being profiled

(<void> profile_activate <string>)

activates profile sections based on a substring.

(<void> profile_deactivate <string>)

deactivates profile sections based on a substring.

(<void> pvs_clear)

removes the special place that activates everything it sees.

(<void> pvs_reset)

forces pvs to empty then back to full.

(<void> pvs_set_camera <cutscene_camera_point>)

sets the specified cutscene camera point as the special place that activates everything it sees.

(<void> pvs_set_object <object>)

sets the specified object as the special place that activates everything it sees.

(<short> random_range <short> <short>)

returns a random value in the range [lower bound, upper bound)

(<real> real_random_range <real> <real>)

returns a random value in the range [lower bound, upper bound)

(<void> recording_kill <unit>)

kill the specified unit's cutscene recording.

(<boolean> recording_play <unit> <cutscene_recording>)

make the specified unit run the specified cutscene recording.

(<boolean> recording_play_and_delete <unit> <cutscene_recording>)

make the specified unit run the specified cutscene recording, deletes the unit when the animation finishes.

(<boolean> recording_play_and_hover <vehicle> <cutscene_recording>)

make the specified vehicle run the specified cutscene recording, hovers the vehicle when the animation finishes.

(<short> recording_time <unit>)

return the time remaining in the specified unit's cutscene recording.

(<void> record_movie <short> <real> <short> <short>)

<frame rate> <seconds> <width> <height>

(<void> record_movie_distributed <short> <long> <short> <long> <long>)

<frame rate> <seconds> <screen size> <mod count> <mod index>

(<void> render_atmosphere_fog <boolean>)

enable/disable atmosphere fog

(<void> render_autoexposure_enable <boolean>)

toggle autoexposure

(<void> render_autoexposure_instant <long>)

instantly adopt auto exposure values in the next N frames

(<void> render_cinematic_motion_blur <boolean>)

enable/disable cinematic motion blur

(<void> render_debug_query_all_object_resources)

Outputs text of texture and geometry memory usage

(<void> render_debug_query_bsp_resources <long> <boolean>)

BSP index and whether to spit out all bitmaps used

(<void> render_debug_query_d3d_resources)

Outputs text of d3d resource usage

(<void> render_debug_query_object_bitmaps <string>)

substring of object definition name to spew out it's debug usage

(<void> render_debug_structure_all_cluster_errors <boolean>)

enables cluster error debugging (all)

(<void> render_debug_structure_all_fog_planes <boolean>)

enables fog plane debugging (all)

(<void> render_debug_structure_cluster_fog <long>)

enables cluster fog debugging

(<void> render_debug_structure_fog_plane <long>)

enables fog plane debugging

(<void> render_debug_structure_fog_plane_infinite_extent <long>)

enables fog plane debugging

(<void> render_debug_structure_fog_zone <long>)

enabled fog zone debugging

(<void> render_debug_structure_fog_zone_floodfill <long>)

enables fog zone debugging

(<void> render_debug_structure_lightmaps_sample_disable)

disables visualization of match samples

(<void> render_debug_structure_lightmaps_sample_enable)

enables visualization of match samples if available

(<void> render_debug_structure_lightmaps_use_pervertex)

sets the lightmap preference to per-vertex, ignores per-pixel if available

(<void> render_debug_structure_lightmaps_use_reset)

resets the lightmap preference setting and updates the internal lightmap bsp data if necessary

(<void> render_debug_structure_line_opacity <real> <real> <real> <real>)

sets the opacity (0 is default)

(<void> render_debug_structure_non_occluded_fog_planes <boolean>)

controls non-occluded fog plane debugging

(<void> render_debug_structure_opacity <real> <real> <real> <real>)

sets the opacity (0 is default)

(<void> render_debug_structure_text_opacity <real> <real> <real> <real>)

sets the opacity (0 is default)

(<void> render_debug_texture_camera <boolean>)

toggles displaying the texture camera in the corner of the screen

(<void> render_debug_text_using_simple_font <boolean>)

toggles use of the much faster simple_font system for debug text rendering

(<void> render_debug_video_mode)

displays the current video mode

(<void> render_depth_of_field <real> <real> <real> <real>)

animate depth of field, in focus from <near> to <far>, with depth of field <depth>, in <ticks>

(<void> render_depth_of_field_enable <boolean>)

turns depth of field on and off

(<void> render_dof_blur_animate <real> <real>)

interpolate depth of field maximum blur to <blur> in <ticks>

(<void> render_dof_focus_depth <real>)

interpolate depth of field to <depth>

(<void> render_exposure <real> <real>)

fade to animated exposure <stops> in <seconds>

(<void> render_exposure_fade_in <real> <real>)

fade to animated exposure <stops> in <seconds>

(<void> render_exposure_fade_out <real>)

fade to default exposure settings in <seconds>

(<void> render_exposure_full <real> <real> <real> <real> <real>)

animate exposure from <initial> to <final> stops using <initial> to <final> opacity in <seconds>

(<void> render_exposure_set_environment_darken <real>)

set environmental darkening

(<boolean> render_lights <boolean>)

enables/disables dynamic lights

(<void> render_lights_enable_cinematic_shadow <boolean> <object> <string_id> <real>)

enable/disable the specified unit to receive cinematic shadows where the shadow is focused about a radius around a marker name

(<void> render_patchy_fog <boolean>)

enable/disable patchy fog

(<void> render_postprocess_color_tweaking_reset)

resets hue saturation filters to default

(<void> render_weather <boolean>)

enable/disable atmosphere fog

(<void> report_zone_size_estimates)

dump zone size estimates to design report log

(<void> saved_films_delete_on_level_load <boolean>)

toggle deletion last saved film after loading a new game level

(<void> saved_films_show_timestamp <boolean>)

toggle showing timestamp for saved film playback

(<void> saved_film_disable_version_checking <boolean>)

disable saved film version checking

(<void> saved_film_manager_should_record_film_default <boolean>)

Toggle recording of replay in single player game

(<void> saved_film_play <controller> <string>)

plays a saved film for given controller

(<void> saved_film_play_last)

play back last recorded saved film for given controller

(<void> saved_film_seek_to_film_tick <long>)

seeks to a film tick

(<void> saved_film_set_pending_playback_game_speed <real>)

set the pending saved film playback speed

(<void> saved_film_set_playback_game_speed <real>)

set the saved film playback speed

(<void> saved_film_set_repro_mode <boolean>)

set the saved film into repro mode (splitscreen users are created based on the number of splitscreen players that recorded the film)

(<void> saved_film_toggle_debug_saving <boolean>)

toggle saving of last film to the debug output directory automatically after each game level

(<void> saved_games_autosave_free_up_space)

tell the autosave queue to run its cleanup routine for each content type

(<void> saved_games_delete_campaign_save <controller>)

delete the campaign saved game file for a controller

(<void> saved_games_enumerate <controller>)

test enumeration of saved game files on a controller

(<void> saved_games_save_last_film <controller>)

test saving of last recorded film for a controller

(<void> scenario_duplicate_bsp_objects <string> <string>)

<input bsp> <output bsp>: duplicate all the objects in the first BSP into the second BSP

(<void> scenario_duplicate_bsp_objects <string> <string> <string>)

<input bsp> <output bsp> <filter>: duplicate filtered objects in the first BSP into the second BSP; available filters: all, crates, scenery, bipeds, machines, terminals, controls, arg_devices

(<void> scenario_reflect <real> <real> <real> <real>)

reflects scenario objects (including decals and decorators) across the given plane (specified by normal x,y,z and offset k)

(<void> scenario_reflect <real> <real> <real> <real> <string> <string>)

reflects scenario objects (specified by the filter) in the specified BSP across the given plane (specified by normal x,y,z and offset k)

(<void> scenario_rotate <real> <real> <real> <real>)

rotates scenario objects (including decals and decorators) around the given axis (x,y,z) by the given amount (degrees)

(<void> scenario_rotate <real> <real> <real> <real> <string> <string>)

rotates scenario objects (specified by the filter) in the specified BSP around the given axis (x,y,z) by the given amount (degrees)

(<void> scenario_translate <real> <real> <real>)

translates scenario objects (including decals and decorators) the given amount (x,y,z)

(<void> scenario_translate <real> <real> <real> <string> <string>)

translates scenario objects (specified by the filter) in the specified BSP the given amount (x,y,z)

(<cinematic scene definition> cinematic_tag_reference_get_scene <long> <long>)

Retrieve a cinematic tag from the cinematic system

(<cinematic scene definition> cortana_tag_reference_get_scene <long>)

Retrieve a cinematic tag from the cinematic system

(<void> scenery_animation_idle <scenery>)

starts the idle animation (if any) for a piece of scenery

(<void> scenery_animation_start <scenery> <animation_graph> <string_id>)

starts a custom animation playing on a piece of scenery

(<void> scenery_animation_start_at_frame <scenery> <animation_graph> <string_id> <short>)

starts a custom animation playing on a piece of scenery at a specific frame

(<void> scenery_animation_start_at_frame_loop <scenery> <animation_graph> <string_id> <short>)

starts a custom animation playing on a piece of scenery at a specific frame and then loops

(<void> scenery_animation_start_loop <scenery> <animation_graph> <string_id>)

starts a custom looping animation playing on a piece of scenery

(<void> scenery_animation_start_relative <scenery> <animation_graph> <string_id> <object>)

starts a custom animation playing on a piece of scenery relative to a parent object

(<void> scenery_animation_start_relative_at_frame <scenery> <animation_graph> <string_id> <object> <short>)

starts a custom animation playing on a piece of scenery relative to a specific cutscene flag at a specific frame

(<void> scenery_animation_start_relative_loop <scenery> <animation_graph> <string_id> <object>)

starts a custom looping animation playing on a piece of scenery relative to a parent object

(<short> scenery_get_animation_time <scenery>)

returns the number of ticks remaining in a custom animation (or zero, if the animation is over).

(<void> screenshot <string>)

takes a screenshot and saves as <name>.tif

(<void> screenshot_big <short> <string>)

takes an NxN multiple-page screenshot and saves as <name>.tif

(<void> screenshot_big_raw <short> <string>)

takes an NxN multiple-page screenshot and saves as an HDR <name>.tif

(<void> screenshot_cubemap <string>)

takes a cubemap screenshot and saves as <name>.tif

(<void> screenshot_debug)

takes a screenshot and saves as <name>.tif

(<void> screenshot_simple <string>)

takes a simple screenshot and saves as <name>.tif

(<void> screenshot_size <short> <short> <string>)

takes a <width> x <height> screenshot and saves as an HDR <name>.tif

(<void> screenshot_webmap <string>)

takes two special screenshots and saves them, along with the camera information, as <name>.tif, <name>_secondary.tif and <name>_camera.txt

(<void> script_doc)

saves a file called hs_doc.txt with parameters for all script commands.

(<boolean> script_finished <string>)

Returns true if the continuous, dormant or startup script was finished.

(<void> script_recompile)

recompiles scripts.

(<boolean> script_started <string>)

Returns true if the continuous, dormant or startup script was started.

(set <variable name> <expression>)

set the value of a global variable.

(<passthrough> set <variable name> <expression>)

set the value of a global variable.

(<void> set_camera_third_person <long> <boolean>)

<user_index> <third_person (yes/no)> sets user's camera perspective

(<void> set_global_doppler_factor <real>)

new doppler factor: <real>

(<void> set_global_mixbin_headroom <long> <long>)

blah

(<void> set_global_sound_environment <real> <real> <real> <real> <long> <real>)

this is your brain on drugs

(<void> set_pc_runtime_language <string>)

sets the pc language from a string

(<void> set_performance_throttle <string> <long> <real>)

sets a default value for a performance throttle for a given number of players

(<void> shader_predict <shader>)

in: shader name. loads textures necessary for a shader.

(<long> simulation_profiler_detail_level <long>)

set detail level of simulation profiler capture on the host (affects perf & saved film size). 0-9 are valid, else clamped.

(<void> simulation_profiler_enable)

Turns on the simulation/bandwidth profiler and configures it for high level use (similar to the old screen-text-based bandwidth profiler).

(<boolean> simulation_profiler_enable_downstream_processing <boolean>)

enable/disable the processing of downstream data by the simulation profiler database (default is disabled, so if you want to examine downstream, you need to turn this on at display time. Does not affect recording!)

(sleep <short> [<script>])

pauses execution of this script (or, optionally, another script) for the specified number of ticks @ 30Hz.

(<void> sleep <short> [<script>])

pauses execution of this script (or, optionally, another script) for the specified number of ticks @ 30Hz.

(sleep_forever [<script>])

pauses execution of this script (or, optionally, another script) forever.

(<void> sleep_forever [<script>])

pauses execution of this script (or, optionally, another script) forever.

(sleep_for_ticks <short> [<script>])

pauses execution of this script (or, optionally, another script) for the specified number of ticks.

(<void> sleep_for_ticks <short> [<script>])

pauses execution of this script (or, optionally, another script) for the specified number of ticks.

(sleep_until <boolean> [<short>])

pauses execution of this script until the specified condition is true, checking once per second unless a different number of ticks is specified.

(<boolean> sleep_until <boolean> [<short>])

pauses execution of this script until the specified condition is true, checking once per second unless a different number of ticks is specified.

(<void> soft_ceiling_enable <string_id> <boolean>)

turn on or off a soft ceiling

(<void> sound_cache_flush)

i'm a rebel!

(<void> sound_class_debug_sound_start <string> <boolean>)

shows/hides when sounds of sound classes w/ substring start

(<void> sound_class_enable_ducker <string> <boolean>)

enables or disables the ducker on all sound classes matching the substring.

(<void> sound_class_set_gain <string> <real> <short>)

changes the gain on the specified sound class(es) to the specified gain over the specified number of ticks.

(<void> sound_class_set_gain_db <string> <real> <short>)

changes the gain on the specified sound class(es) to the specified gain(dB) over the specified number of ticks.

(<void> sound_class_show_channel <string> <boolean>)

shows/hides sound classes w/ substring in debug_sound_channels view

(<long> sound_impulse_language_time <sound>)

returns the time remaining for the specified impulse sound. DO NOT CALL IN CUTSCENES.

(<void> sound_impulse_mark_as_outro <sound>)

marks a sound as outro (meaning it plays past an unskipped cinematic).

(<void> sound_impulse_predict <sound>)

your mom part 2.

(<void> sound_impulse_start <sound> <object> <real>)

plays an impulse sound from the specified source object (or "none"), with the specified scale.

(<void> sound_impulse_start_3d <sound> <real> <real>)

<sound> <azimuth> <scale> at the sound's minimum distance

(<void> sound_impulse_start_cinematic <sound> <object> <real> <real> <real>)

<sound> <object> <scale> <3d gain> <first person gain> plays an impulse sound from the specified source object.

(<void> sound_impulse_start_effect <sound> <object> <real> <string_id>)

plays an impulse sound from the specified source object (or "none"), with the specified scale and effect.

(<void> sound_impulse_start_naked <sound> <string_id> <string_id>)

<sound> <pitch range name> <permutation index name> through the speakers it was encoded for

(<void> sound_impulse_start_with_subtitle <sound> <object> <real> <string_id> <string_id>)

plays an impulse sound from the specified source object (or "none"), with the specified scale and displays a subtitle.

(<void> sound_impulse_stop <sound>)

stops the specified impulse sound.

(<long> sound_impulse_time <sound>)

returns the time remaining for the specified impulse sound.

(<long> sound_impulse_time <sound> <long>)

<sound> <total playing time> returns the time remaining for the specified impulse sound based on <total playing time>.

(<void> sound_impulse_trigger <sound> <object> <real> <long>)

plays an impulse sound from the specified source object (or "none"), with the specified scale.

(<void> sound_looping_predict <looping_sound>)

your mom.

(<void> sound_looping_set_alternate <looping_sound> <boolean>)

enables or disables the alternate loop/alternate end for a looping sound.

(<void> sound_looping_set_scale <looping_sound> <real>)

changes the scale of the sound (which should affect the volume) within the range 0 to 1.

(<void> sound_looping_start <looping_sound> <object> <real>)

plays a looping sound from the specified source object (or "none"), with the specified scale.

(<void> sound_looping_start_with_effect <looping_sound> <object> <real> <string_id>)

plays a looping sound from the specified source object (or "none"), with the specified scale and playback effect.

(<void> sound_looping_stop <looping_sound>)

stops the specified looping sound.

(<void> sound_looping_stop_immediately <looping_sound>)

stops the specified looping sound immediately.

(<void> sound_loop_spam)

start all loaded looping sounds

(<void> sound_set_global_effect <string_id> <real>)

bleh

(<void> sound_set_global_effect_scale <string_id> <real>)

more bleh

(<void> sound_set_tag_parameter_unsafe <string> <string> <long> <long> <long> <real> <real> <real>)

this is the second sign of the coming of the antichrist

(<void> sound_suppress_ambience_update_on_revert)

call this when transitioning between two cinematics so ambience won't fade in between the skips

(<void> ssao_enable <short>)

turn on/off ssao

(<void> ssao_intensity <real>)

set ssao intensity (1.0 is default)

(<void> ssao_radius <real>)

set ssao radius (0.75 is default)

(<void> ssao_sampleZThreshold <real>)

set ssao sample z threshold (0.5 is default)

(<void> status)

prints the value of all global status variables.

(<void> status_lines_disable <string>)

disables status_lines that were initialized with identifiers that match the input substring

(<void> status_lines_enable <string>)

enables status_lines that were initialized with identifiers that match the input substring

(<void> status_line_dump)

dumps active status_lines to system_log.txt

(<void> stop_bink_movie)

Stops all bink movie playback

(<void> string_id_name <long>)

prints the name of the string id to the console

(<void> switch_bsp <long>)

switches to a different zone set

(<void> switch_map_and_zone_set <string> <long>)

switches to a different scenario and zone set

(<void> switch_zone_set <zone_set>)

switches to a different zone set

(<void> sys_info)

dump cpu, gpu and system information

(<void> tags_verify_all)

verifies usage of infidel fields is correct

(<void> tag_file_set_backend <string>)

override the tag file system backend

(<boolean> tag_is_active <any tag not resolving>)

returns true/false if you can create this tag with the active zones

(<void> tag_load_force <string>)

call tag_load

(<void> tag_reload_force <string>)

rather than force a painful xsync to test xsync, allow me to fake a tag_reload

(<void> tag_resources_enable_fast_prediction <boolean>)

turns on/off faster prediction, in case I messed up something

(<void> tag_resources_enable_optional_caching <boolean>)

turns on/off optional resource prediction

(<void> tag_resources_flush_optional)

flushes optional resources

(<void> tag_resources_set_demand_throttle_to_io <boolean>)

turns on/off demand throttling based on io

(<void> tag_resources_set_incremental_publish <boolean>)

turns on/off incremental resource publish (prediction)

(<void> tag_resources_set_per_frame_publish <boolean>)

turns on/off per frame resource publish (stress testing)

(<void> tag_resources_validate_all_pages <boolean>)

resource validation every main_loop_body call

(<void> tag_unload_force <string>)

call tag_unload

(<boolean> terminal_is_being_read)

returns whether or not a terminal is currently being read

(<boolean> terminal_was_accessed <object>)

returns whether or not the given terminal was accessed

(<boolean> terminal_was_completed <object>)

returns whether or not the given terminal was read to completion

(<void> TestPrintBool <string> <boolean>)

Prints the specified boolean with the format '<string> = '<boolean>' to the Shell.

(<void> TestPrintReal <string> <real>)

Prints the specified boolean with the format '<string> = '<real>' to the Shell.

(<void> test_auto_get_screens <long>)

<arbitrary int> list the current gui screens

(<void> test_auto_get_screen_widgets <long> <long>)

<arbitrary int> <screen index> lists widgets in a screen

(<void> test_auto_screen_get_data <long> <long> <string_id> <string_id>)

<arbitrary int> <screen index> <datasource string id> <datasource column string id> lists data from a datasource

(<void> test_auto_screen_get_datasources <long> <long>)

<arbitrary int> <screen index> lists screen datasources

(<void> test_auto_screen_get_data_columns <long> <long> <string_id>)

<arbitrary int> <screen index> <datasource string id> lists columns that make up this datasource

(<void> test_auto_screen_invoke_list_item_by_handle <long> <long> <string_id> <long>)

<arbitrary int> <screen index> <list string id> <element handle> triggers the list item specified by the element handle

(<void> test_auto_screen_invoke_list_item_by_name <long> <long> <string_id> <string_id> <string_id>)

<arbitrary int> <screen index> <list string id> <datasource column string id> <column value string id> triggers the list item who's column's value matches the specified one

(<void> test_auto_screen_invoke_list_item_by_text <long> <long> <string_id> <string_id> <string>)

<arbitrary int> <screen index> <list string id> <datasource column string id> <column value string id> triggers the list item who's column's value matches the specified one

(<void> test_auto_screen_send_button_press <long> <long> <string>)

<arbitrary int> <screen index> <button name> sends the button press to the screen

(<void> test_create_content_item_screenshot)

creates a screenshot (which isn't actually viewable)

(<void> test_create_content_item_slayer)

creates a slayer variant

(<void> test_download_storage_file <string> <string>)

<url> <filename> downloads a file from LSP to the client

(<void> test_fragment_utility_drive <long> <long> <long>)

<file_count> <growth_repetitions> <growth_size> writes files of varying sizes to the utiltiy drive in an effort to fragment it really badly

(<void> test_game_results_load_from_file <string>)

<filename> load game results into memory for use in the carnage report. the format may change build to build causing this to fail or weird results to come up.

(<void> test_game_results_save_to_file <string>)

<filename> save game results to a file.

(<void> test_get_squad_session_id)

get the current squad session id

(<void> test_invite_friend <long> <string>)

shows the guide send friend invite ui from the current controller to the specified xuid

(<void> test_memory_allocators <long> <short> <short> <short> <long>)

performs tests on different memory allocators

(<void> test_memory_allocators <long> <short> <short> <short> <long> <string>)

performs tests on different memory allocators and saves the results

(<void> test_roster_load_from_file <string>)

<filename> load roster into memory. the format may change build to build causing this to fail or weird results to come up.

(<void> test_roster_save_to_file <string>)

<filename> save roster to a file.

(<void> test_sapien_crash)
(<void> test_show_are_users_friends <long> <string>)

prints whether the current controller and specified xuid are friends as automation events

(<void> test_show_guide_status)

prints the guide status as automation events.

(<void> test_show_users_xuids)

prints the signed in users' xuids as automation events.

(<void> test_xcr_monkey_enable <boolean>)

enable/disable controller monkeys for all in game players

(<void> texture_cache_flush)

don't make me kick your ass

(<void> texture_cache_test_malloc)
(<void> texture_camera_attach_to_object <object> <string_id>)

attaches the render texture camera to a given object marker

(<void> texture_camera_bink)

turns on the render texture camera and renders a bink to it

(<void> texture_camera_enable_dynamic_lights <boolean>)

toggle rendering of dynamic lights in the texture camera

(<void> texture_camera_off)

turns off the render texture camera

(<void> texture_camera_on)

turns on the render texture camera

(<void> texture_camera_position_world_offset <real> <real> <real>)

adds a worldspace offset to the current texture camera position

(<void> texture_camera_render_mode <long>)

switches the texture camera render mode

(<void> texture_camera_set_aspect_ratio <real>)

sets the texture camera aspet ratio

(<void> texture_camera_set_fov <real>)

sets the field of view on the texture camera, in degrees

(<void> texture_camera_set_fov_frame_target <real>)

zooms the field of view to frame the target, with target zoom factor to zoom closer

(<void> texture_camera_set_object_marker <object> <string_id> <real>)

sets the render texture camera to a given object marker

(<void> texture_camera_set_position <real> <real> <real>)

sets the render texture camera position

(<void> texture_camera_set_resolution <long> <long>)

sets the texture camera render resolution

(<void> texture_camera_set_target <real> <real> <real>)

sets the render texture camera target

(<void> texture_camera_target_object <object> <string_id>)

targets the render texture camera to view a given object marker

(<long> tiling_current)

returns the actual tiling configuration (could have been overridden from the requested configuration)

(<void> time_code_reset)

resets the time code timer

(<void> time_code_show <boolean>)

shows the time code timer

(<void> time_code_start <boolean>)

starts/stops the time code timer

(<void> trace_next_frame <long>)

creates a tracedump of the next frame

(<void> trace_next_frame_to_file <long> <string>)

creates a tracedump of the next frame in a specific file

(<void> trace_tick <long>)

creates a tracedump of a specific game tick

(<void> ui_debug_element_bounds <boolean>)

toggle rendering of widget tag block bounds

(<void> ui_debug_load_main_menu)

loads the main menu screen

(<void> ui_debug_show_title_safe_bounds <boolean>)

toggle display of title safe boundary

(<void> ui_debug_text_bounds <boolean>)

toggle rendering of ui text boundaries

(<void> ui_debug_text_font <boolean>)

toggle display of ui text font

(<void> ui_memory_dump <string>)

dump the UI memory tracked allocations to a specified file

(<void> ui_set_is_blue <boolean>)

fool the system into thinking it is or is not blue disk

(<void> ui_time_scale_step <real>)

move the ui time forward by a specified amount on next tick

(<unit> unit <object>)

converts an object to a unit.

(<void> units_set_current_vitality <object_list> <real> <real>)

sets a group of units' current body and shield vitality

(<void> units_set_maximum_vitality <object_list> <real> <real>)

sets a group of units' maximum body and shield vitality

(<void> unit_add_equipment <unit> <starting_profile> <boolean> <boolean>)

adds/resets the unit's health, shield, and inventory (weapons and grenades) to the named profile. resets if third parameter is true, adds if false. weapons will be marked as garbage if fourth parameter is true (for respawning equipment).

(<void> unit_aim_without_turning <unit> <boolean>)

allows a unit to aim in place without turning

(<void> unit_animation_forced_seat <string_id>)

all units controlled by the player will assume the given seat name (valid values are 'asleep', 'alert', 'stand', 'crouch' and 'flee')

(<void> unit_board_vehicle <unit> <string_id>)

Causes the given unit to attempt to board the named seat

(<void> unit_close <unit>)

closes the hatches on a given unit

(<boolean> unit_custom_animation_at_frame <unit> <animation_graph> <string_id> <boolean> <short>)

starts a custom animation playing on a unit at a specific frame index(interpolates into animation if next to last parameter is TRUE)

(<boolean> unit_custom_animation_relative_at_frame <unit> <animation_graph> <string_id> <string_id> <boolean> <short>)

starts a custom animation playing on a unit relative to a specific cutscene flag at a specific frame index(interpolates into animation if next to last parameter is TRUE)

(<void> unit_doesnt_drop_items <object_list>)

prevents any of the given units from dropping weapons or grenades when they die

(<void> unit_drop_support_weapon <unit>)

forces the given unit to drop its support weapon, if it is holding one

(<void> unit_enable_eye_tracking <unit> <boolean>)

enable/disable eye aiming on a unit

(<void> unit_enter_vehicle <unit> <vehicle> <string_id>)

puts the specified unit in the specified vehicle (in the named seat)

(<void> unit_exit_vehicle <unit>)

makes a unit exit its vehicle

(<void> unit_exit_vehicle <unit> <short>)

makes a unit exit its vehicle (0 = normal exit to airborne, 1 = ejection, 2 = ejection + death, 3 = exit to ground)

(<void> unit_falling_damage_disable <unit> <boolean>)

disables falling damage on unit

(<void> unit_force_reload <unit>)

Force the give unit to reload his weapon

(<short> unit_get_custom_animation_time <unit>)

returns the number of ticks remaining in a unit's custom animation (or zero, if the animation is over).

(<boolean> unit_get_enterable_by_player <unit>)

returns true if a player may enter the vehicle

(<real> unit_get_health <unit>)

returns the health [0,1] of the unit, returns -1 if the unit does not exist

(<weapon> unit_get_primary_weapon <unit>)

return the primary weapon of the specified unit

(<real> unit_get_shield <unit>)

returns the shield [0,1] of the unit, returns -1 if the unit does not exist

(<short> unit_get_team_index <unit>)

returns the team index of the unit, returns -1 if the unit does not have a team

(<short> unit_get_total_grenade_count <unit>)

returns the total number of grenades for the given unit, 0 if it does not exist

(<boolean> unit_has_any_equipment <unit>)

returns TRUE if the <unit> has any equipment, FALSE otherwise

(<boolean> unit_has_equipment <unit> <object_definition>)

returns TRUE if the <unit> has equipment <object> , FALSE otherwise

(<boolean> unit_has_weapon <unit> <object_definition>)

returns TRUE if the <unit> has <object> as a weapon, FALSE otherwise

(<boolean> unit_has_weapon_readied <unit> <object_definition>)

returns TRUE if the <unit> has <object> as the primary weapon, FALSE otherwise

(<void> unit_impervious <object_list> <boolean>)

prevents any of the given units from being knocked around or playing ping animations

(<boolean> unit_in_vehicle <unit>)

returns true if the given unit is seated on a parent unit

(<boolean> unit_is_emitting <unit>)

returns whether or not the given unit is current emitting an ai

(<boolean> unit_is_playing_custom_animation <unit>)

returns TRUE if the given unit is still playing a custom animation

(<boolean> unit_is_playing_custom_first_person_animation <unit>)

returns TRUE if the given unit is still playing a custom animation in first person

(<void> unit_kill <unit>)

kills a given unit, no saving throw

(<void> unit_kill_silent <unit>)

kills a given unit silently (doesn't make them play their normal death animation or sound)

(<void> unit_limit_lipsync_to_mouth_only <unit> <boolean>)

cinematic lipsync means you can't use all the facial bones, just the mouth

(<void> unit_lower_weapon <unit> <short>)

lower the units weapon over x ticks

(<void> unit_only_takes_damage_from_players_team <unit> <boolean>)

used for the tartarus boss fight

(<void> unit_open <unit>)

opens the hatches on the given unit

(<void> unit_play_random_ping <unit>)

plays a random ping on the unit

(<void> unit_raise_weapon <unit> <short>)

raises the units weapon over x ticks

(<void> unit_set_actively_controlled <unit> <boolean>)

sets unit's actively controlled flag

(<void> unit_set_active_camo <unit> <boolean> <real>)

enable or disable active camo for the given unit over the specified number of seconds

(<void> unit_set_animation_mode <unit> <string_id>)

this unit will assume the named animation mode

(<void> unit_set_current_vitality <unit> <real> <real>)

sets a unit's current body and shield vitality

(<void> unit_set_emotion <unit> <long> <real> <real>)

sets a unit's facial expression (-1 is none, other values depend on unit)

(<void> unit_set_emotion_by_name <unit> <string_id> <real> <real>)

sets a unit's facial expression by name with weight and transition time

(<void> unit_set_enterable_by_player <unit> <boolean>)

can be used to prevent the player from entering a vehicle

(<void> unit_set_integrated_flashlight <unit> <boolean>)

sets a unit's flashlight on or off

(<void> unit_set_maximum_vitality <unit> <real> <real>)

sets a unit's maximum body and shield vitality

(<void> unit_set_prefer_tight_camera_track <unit> <boolean>)

sets the unit to prefer a tight camera track

(<void> unit_set_voice <unit> <any tag>)

set the dialogue for the given unit

(<void> unit_spew_action <unit>)

runs the spew unit action on the specified unit

(<boolean> unit_start_first_person_custom_animation <unit> <animation_graph> <string_id> <boolean>)

starts a custom animation playing on a unit (puts away weapon if last parameter is TRUE)

(<void> unit_stop_custom_animation <unit>)

stops the custom animation running on the given unit.

(<void> unit_stop_first_person_custom_animation <unit>)

ends any custom first person animation running on the unit

(<void> unit_suspended <unit> <boolean>)

stops gravity from working on the given unit

(<void> update_remote_camera)

force synchronization of remote machine camera

(<long> user_interface_controller_get_last_level_played <short>)

returns index of last completed solo level for profile index passed in

(<void> vehicle_auto_turret <vehicle> <trigger_volume> <real> <real> <real>)

Sets the specified trigger volume and parameters for an auto turret

(<long> vehicle_count_bipeds_killed <vehicle>)

returns how many people this vehicle has killed

(<unit> vehicle_driver <unit>)

returns the driver of a vehicle

(<void> vehicle_enable_ghost_effects <boolean>)
(<void> vehicle_flip <vehicle>)

Flips an overturned vehicle

(<unit> vehicle_gunner <unit>)

returns the gunner of a vehicle

(<void> vehicle_hover <vehicle> <boolean>)

stops the vehicle from running real physics and runs fake hovering physics instead.

(<short> vehicle_load_magic <object> <unit_seat_mapping> <object_list>)

makes a list of units (named or by encounter) magically get into a vehicle, in the substring-specified seats (e.g. CD-passenger... empty string matches all seats)

(<boolean> vehicle_overturned <vehicle>)

Returns true if the vehicle is overturned

(<object_list> vehicle_riders <unit>)

returns a list of all riders in a vehicle

(<boolean> vehicle_test_seat <vehicle> <string_id> <unit>)

tests whether the named seat has a specified unit in it (use "" to test all seats for this unit)

(<boolean> vehicle_test_seat_list <vehicle> <string_id> <object_list>)

tests whether the named seat has an object in the object list (use "" to test all seats for any unit in the list)

(<short> vehicle_unload <object> <unit_seat_mapping>)

makes units get out of an object from the substring-specified seats (e.g. CD-passenger... empty string matches all seats)

(<void> version)

prints the build version.

(<void> voice_set_force_hud <long> <long>)

sets matchmaking voice hud

(<void> voice_set_force_match_configurations <long> <long> <long> <boolean>)

sets matchmaking voice options

(<void> voice_set_mute <long> <long> <boolean>)

mute a player

(<void> voice_set_outgoing_channel_count <long> <long>)

sets the outgoing channel count <in-game> <out-of-game>

(<void> voice_set_voice_repeater_peer_index <long>)

sets the repeater peer index

(<object_list> volume_return_objects <trigger_volume>)

returns list of objects in volume or (max 128).

(<object_list> volume_return_objects_by_type <trigger_volume> <long>)

returns list of objects in volume or (max 128).

(<void> volume_teleport_players_not_inside <trigger_volume> <cutscene_flag>)

moves all players outside a specified trigger volume to a specified flag.

(<boolean> volume_test_object <trigger_volume> <object>)

returns true if the specified object is within the specified volume.

(<boolean> volume_test_objects <trigger_volume> <object_list>)

returns true if any of the specified objects are within the specified volume. trigger volume must have been postprocessed

(<boolean> volume_test_objects_all <trigger_volume> <object_list>)

returns true if any of the specified objects are within the specified volume. trigger volume must have been postprocessed

(<boolean> volume_test_players <trigger_volume>)

returns true if any players are within the specified volume. trigger volume must have been postprocessed

(<boolean> volume_test_players_all <trigger_volume>)

returns true if all players are within the specified volume. trigger volume must have been postprocessed

(<void> vs_abort_on_alert <boolean>)

Command script ends prematurely when actor's combat status raises to 'alert' or higher

(<void> vs_abort_on_alert <ai> <boolean>)

Command script ends prematurely when given actor's combat status raises to 'alert' or higher

(<void> vs_abort_on_combat_status <short>)

Command script ends prematurely when actor's combat status rises to given level

(<void> vs_abort_on_combat_status <ai> <short>)

Command script ends prematurely when actor's combat status rises to given level

(<void> vs_abort_on_damage <boolean>)

Command script ends prematurely when actor is damaged

(<void> vs_abort_on_damage <ai> <boolean>)

Command script ends prematurely when actor is damaged

(<void> vs_abort_on_vehicle_exit <boolean>)

Command script ends prematurely when actor gets out of its vehicle

(<void> vs_abort_on_vehicle_exit <ai> <boolean>)

Command script ends prematurely when actor gets out of its vehicle

(<void> vs_action <ai> <boolean> <point_reference> <short>)

Actor plays an AI action towards the given point. ai_action_<tab> to see action options

(<void> vs_action_at_object <ai> <boolean> <object> <short>)

Actor plays an AI action towards the given object. ai_action_<tab> to see action options

(<void> vs_action_at_player <ai> <boolean> <short>)

Actor plays an AI action towards the nearest_player. ai_action_<tab> to see action options

(<void> vs_aim <ai> <boolean> <point_reference>)

Actor aims at the point for the remainder of the cs, or until overridden (overrides look)

(<void> vs_aim_object <ai> <boolean> <object>)

Actor aims at the object for the duration of the cs, or until overridden (overrides look)

(<void> vs_aim_player <ai> <boolean>)

Actor aims at nearest player for the duration of the cs, or until overridden (overrides look)

(<void> vs_approach <ai> <boolean> <object> <real> <real> <real>)

(approach <object> <distance - how close I want to get> <max-distance - start approaching when target is within this range> <follow-distance - give up when target is outside this range>)

(<void> vs_approach_player <ai> <boolean> <real> <real> <real>)

(approach player <distance - how close I want to get> <max-distance - start approaching when target is within this range> <follow-distance - give up when target is outside this range>)

(<void> vs_approach_stop <ai>)

Actor stops approaching

(<boolean> vs_cast <ai> <boolean> <short> <string_id>)

Cast 1 actor for a vignette (at the given priority, higher = more important)

(<boolean> vs_cast <ai> <boolean> <short> <string_id> <string_id>)

Cast 2 actors for a vignette (at the given priority, higher = more important)

(<boolean> vs_cast <ai> <boolean> <short> <string_id> <string_id> <string_id>)

Cast 3 actors for a vignette (at the given priority, higher = more important)

(<boolean> vs_cast <ai> <boolean> <short> <string_id> <string_id> <string_id> <string_id>)

Cast 4 actors for a vignette (at the given priority, higher = more important)

(<boolean> vs_cast <ai> <boolean> <short> <string_id> <string_id> <string_id> <string_id> <string_id>)

Cast 5 actors for a vignette (at the given priority, higher = more important)

(<boolean> vs_cast <ai> <boolean> <short> <string_id> <string_id> <string_id> <string_id> <string_id> <string_id>)

Cast 6 actors for a vignette (at the given priority, higher = more important)

(<boolean> vs_cast <ai> <boolean> <short> <string_id> <string_id> <string_id> <string_id> <string_id> <string_id> <string_id>)

Cast 7 actors for a vignette (at the given priority, higher = more important)

(<void> vs_crouch <ai> <boolean>)

Actor crouches for the remainder of the command script, or until overridden

(<void> vs_crouch <ai> <boolean> <real>)

Actor crouches / uncrouches, transitioning over the given number of seconds

(<void> vs_custom_animation <ai> <boolean> <animation_graph> <string_id> <boolean>)

starts a custom animation playing on the actor (interpolates into animation if last parameter is TRUE)

(<void> vs_custom_animation <ai> <boolean> <animation_graph> <string_id> <boolean> <point_reference>)

starts a custom animation playing on the actor at the given point (interpolates into animation if last parameter is TRUE)

(<void> vs_custom_animation_death <ai> <boolean> <animation_graph> <string_id> <boolean>)

starts a custom animation playing on the actor (interpolates into animation if last parameter is TRUE)

(<void> vs_custom_animation_death <ai> <boolean> <animation_graph> <string_id> <boolean> <point_reference>)

starts a custom animation playing on the actor (interpolates into animation if last parameter is TRUE)

(<void> vs_custom_animation_loop <ai> <animation_graph> <string_id> <boolean>)

starts a looping custom animation playing on the actor (interpolates into animation if last parameter is TRUE) NON-BLOCKING

(<void> vs_custom_animation_loop <ai> <animation_graph> <string_id> <boolean> <point_reference>)

starts a looping custom animation playing on the actor at the given point (interpolates into animation if last parameter is TRUE) NON-BLOCKING

(<void> vs_deploy_turret <ai> <boolean> <point_reference>)

Deploy a turret at the given script point

(<void> vs_die <ai> <boolean> <short>)

Actor dies in specified manner

(<void> vs_draw <ai>)

Actor draws its current weapon

(<void> vs_enable_dialogue <ai> <boolean>)

Actor combat dialogue enabled/disabled.

(<void> vs_enable_looking <ai> <boolean>)

Actor autonomous looking enabled/disabled.

(<void> vs_enable_moving <ai> <boolean>)

Actor autonomous moving enabled/disabled.

(<void> vs_enable_pathfinding_failsafe <ai> <boolean>)

Actor blocks until pathfinding calls succeed

(<void> vs_enable_targeting <ai> <boolean>)

Actor autonomous target selection enabled/disabled.

(<void> vs_equipment <ai> <boolean> <point_reference>)

Actor throws their equipment in the direction of the given point

(<void> vs_face <ai> <boolean> <point_reference>)

Actor faces exactly the point for the remainder of the cs, or until overridden (overrides aim, look)

(<void> vs_face_object <ai> <boolean> <object>)

Actor faces exactly the given object for the duration of the cs, or until overridden (overrides aim, look)

(<void> vs_face_player <ai> <boolean>)

Actor faces exactly the nearest player for the duration of the cs, or until overridden (overrides aim, look)

(<void> vs_fly_by <ai> <boolean> <point_reference>)

Flies the actor through the given point

(<void> vs_fly_by <ai> <boolean> <point_reference> <real>)

Flies the actor through the given point (within the given tolerance)

(<void> vs_fly_to <ai> <boolean> <point_reference>)

Flies the actor to the given point

(<void> vs_fly_to <ai> <boolean> <point_reference> <real>)

Flies the actor to the given point (within the given tolerance)

(<void> vs_fly_to_and_face <ai> <boolean> <point_reference> <point_reference>)

Flies the actor to the given point and orients him in the appropriate direction

(<void> vs_fly_to_and_face <ai> <boolean> <point_reference> <point_reference> <real>)

Flies the actor to the given point and orients him in the appropriate direction (within the given tolerance)

(<void> vs_force_combat_status <ai> <short>)

Force the actor's combat status (0= no override, 1=idle, 2= alert, 3= active)

(<void> vs_go_by <ai> <boolean> <point_reference> <point_reference>)

Actor moves toward the point, and considers it hit when it breaks the indicated plane

(<void> vs_go_by <ai> <boolean> <point_reference> <point_reference> <real>)

Actor moves toward the point, and considers it hit when it breaks the indicated plane, attenuating throttle by the given amount when near the goal

(<void> vs_go_to <ai> <boolean> <point_reference>)

Moves the actor to a specified point

(<void> vs_go_to <ai> <boolean> <point_reference> <real>)

Moves the actor to a specified point, attenuating throttle by the given amount when near the goal

(<void> vs_go_to_and_face <ai> <boolean> <point_reference> <point_reference>)

Moves the actor to a specified point and has him face the second point

(<void> vs_go_to_and_posture <ai> <boolean> <point_reference> <string_id>)

Actor moves to the point and performs a posture once there

(<void> vs_go_to_nearest <ai> <boolean> <point_reference>)

Given a point set, AI goes toward the nearest point

(<void> vs_go_to_vehicle <ai> <boolean> <vehicle>)

Actor gets in the appropriate vehicle

(<void> vs_go_to_vehicle <ai> <boolean> <vehicle> <unit_seat_mapping>)

Actor gets in the named seat of the appropriate vehicle

(<void> vs_grenade <ai> <boolean> <point_reference> <short>)

Actor throws a grenade, either by tossing (arg2=0), lobbing (1) or bouncing (2)

(<void> vs_ignore_obstacles <ai> <boolean>)

Actor does not avoid obstacles when true

(<void> vs_jump <ai> <boolean> <real> <real>)

Actor jumps in direction of angle at the given velocity (angle, velocity)

(<void> vs_jump_to_point <ai> <boolean> <real> <real>)

Actor jumps with given horizontal and vertical velocity

(<void> vs_look <ai> <boolean> <point_reference>)

Actor looks at the point for the remainder of the cs, or until overridden

(<void> vs_look_object <ai> <boolean> <object>)

Actor looks at the object for the duration of the cs, or until overridden

(<void> vs_look_player <ai> <boolean>)

Actor looks at nearest player for the duration of the cs, or until overridden

(<void> vs_lower_weapon <ai> <boolean>)

Actor keeps weapon lowered

(<void> vs_melee_direction <ai> <boolean> <long>)

Actor performs melee in provided direction (0= front, 1= back, 2= offhand, 3= tackle)

(<void> vs_movement_mode <ai> <short>)

Actor switches to given animation mode

(<void> vs_move_in_direction <ai> <boolean> <real> <real> <real>)

Actor moves at given angle, for the given distance, optionally with the given facing (angle, distance, facing)

(<void> vs_move_towards <ai> <boolean> <object>)

Move in the direction of the given object

(<void> vs_move_towards <ai> <boolean> <object> <boolean>)

Move in the direction of the given object (and melee the target or not)

(<void> vs_pause <ai> <boolean> <real>)

The actor does nothing for the given number of seconds

(<void> vs_player_melee <ai> <boolean> <long>)

Actor performs player-specific melee

(<void> vs_play_line <ai> <boolean> <ai_line>)

Play the named line in the current scene

(<void> vs_play_sound <ai> <boolean> <sound>)

Actor plays an impulse sound and the atom blocks until it is complete

(<void> vs_play_sound <ai> <boolean> <sound> <real>)

Actor plays an impulse sound and the atom blocks for the given percentage of the sound's total length

(<void> vs_play_sound <ai> <boolean> <sound> <real> <real>)

Actor plays an impulse sound and the atom blocks for the given percentage of the sound's total length, at the given volume (0..1)

(<void> vs_posture_exit <ai>)

Actor exits the posture it's in

(<void> vs_posture_set <ai> <string_id> <boolean>)

Actor enters the given posture (enters immediately rather than plays the entry animation if argument is TRUE)

(<void> vs_release <ai>)

Lets the given ai out of the current command script

(<void> vs_release_all)

Releases all the ai attached to the current thread

(<void> vs_reserve <ai> <short>)

Reserves the specified actor(s) for the use of the current script (discarding any other command scripts in the queue)

(<void> vs_reserve <ai> <boolean> <short>)

Reserves the specified actor(s) for the use of the current script (discarding any other command scripts in the queue)

(<ai> vs_role <short>)

Returns the given member of the cast (as per more recent vs_cast call)

(<boolean> vs_running_atom <ai>)

Returns true if the ai is running any atom

(<boolean> vs_running_atom_action <ai>)

Returns true if the ai is running an atom on the action channel

(<boolean> vs_running_atom_dialogue <ai>)

Returns true if the ai is running an atom on the dialogue channel

(<boolean> vs_running_atom_movement <ai>)

Returns true if the ai is running an atom on the movement channel

(<void> vs_set_cleanup_script <script>)

Sets the script that is automatically called when the current thread ends

(<void> vs_set_pathfinding_radius <ai> <real>)

Sets the actor's pathfinding radius (this distance at which a destination is considered to have been reached) for the remainder of the command script

(<void> vs_set_style <ai> <style>)

Override the actor's style

(<void> vs_shoot <ai> <boolean>)

Actor is allowed to shoot at its target or not

(<void> vs_shoot <ai> <boolean> <object>)

Actor shoots at given target

(<void> vs_shoot_point <ai> <boolean> <point_reference>)

Actor shoots at given point

(<void> vs_shoot_secondary_trigger <ai> <boolean>)

Actor uses secondary trigger whenever he shoots

(<void> vs_smash_direction <ai> <boolean> <long>)

Actor performs smash in provided direction

(<void> vs_stop_custom_animation <ai>)

Stop running a custom animation

(<void> vs_stop_sound <ai> <sound>)

Stops the specified impulse sound.

(<void> vs_stow <ai>)

Actor stows its current weapon

(<void> vs_suppress_activity_termination <ai> <boolean>)

Autonomous termination of activities is suppressed for the remainder of the command script

(<void> vs_suppress_dialogue_global <ai> <boolean>)

Combat dialogue is suppressed for the remainder of the command script

(<void> vs_swarm_from <ai> <boolean> <point_reference> <real>)

A swarm swarms away from the point in question, going at least the given distance

(<void> vs_swarm_to <ai> <boolean> <point_reference> <real>)

A swarm swarms towards the point (or point set) in question, the individual forms stopping when they get within the given radius

(<void> vs_teleport <ai> <point_reference> <point_reference>)

Actor teleports to point1 facing point2

(<void> vs_turn_sharpness <ai> <boolean> <real>)

Set the sharpness of a vehicle turn (values 0 -> 1). Only applicable to nondirectional flying vehicles (e.g. dropships)

(<void> vs_vehicle_boost <ai> <boolean>)

Enables or disables boost

(<void> vs_vehicle_speed <ai> <real>)

Set the speed at which the actor will drive a vehicle, expressed as a multiplier 0-1

(<void> vs_vehicle_speed_instantaneous <ai> <real>)

Set the instantaneous speed of the vehicle we're driving

(<void> vs_vocalize <ai> <boolean> <short>)

Actor emits vocalization of given type

(<void> vs_walk <ai> <boolean>)

Actor walks for the remainder of the command script, or until overridden

(wake <script name>)

wakes a sleeping script in the next update.

(<void> wake <script name>)

wakes a sleeping script in the next update.

(<void> water_float_reset <object>)

allows an object to continue floating

(<void> weapon_enable_warthog_chaingun_light <boolean>)

turns the trigger for a weapon on/off

(<void> weapon_hold_trigger <weapon> <long> <boolean>)

turns the trigger for a weapon on/off

(<void> webstats_disable <boolean>)

disables webstats

(<void> webstats_test_submit <string>)

submits a string to webstats upload

(<void> webstats_test_submit_campaign)

submits a test campaign blob to webstats

(<void> webstats_test_submit_multiplayer)

submits a test multiplayer blob to webstats

(<void> webstats_throttle_bandwidth <long>)

<bytes per second> sets the maximum bandwidth that webstats can use

(<void> xoverlapped_debug_render <boolean>)

toggle display a list of active xoverlapped tasks

(<void> zone_set_trigger_volume_enable <string_id> <boolean>)

enables/disables the trigger volume(s) with the given name that cause zone set switches

External globals

Global

(debug_no_drawing [boolean])
(debug_force_all_player_views_to_default_player [boolean])
(debug_render_freeze [boolean])
(debug_render_horizontal_splitscreen [boolean])
(debug_load_panic_to_main_menu [boolean])
(display_framerate [boolean])
(display_pulse_rates [boolean])
(display_throttle_rates [boolean])
(display_lag_times [boolean])
(display_frame_deltas [boolean])
(console_status_string_render [boolean])
(console_pauses_game [boolean])
(framerate_infinite [boolean])
(framerate_debug [boolean])
(framerate_use_system_time [boolean])
(framerate_stabilization [boolean])
(debug_controller_latency [boolean])
(terminal_render [boolean])
(events_debug_spam_render [boolean])
(console_dump_to_debug_display [boolean])
(camera_fov_scale [real])
(camera_yaw_scale [real])
(camera_pitch_scale [real])
(camera_forward_scale [real])
(camera_side_scale [real])
(camera_up_scale [real])
(flying_camera_maximum_boost_speed [real])
(flying_camera_movement_delay [real])
(flying_camera_has_collision [boolean])
(flying_camera_use_old_controls [boolean])
(editor_director_mouse_wheel_speed_enabled [boolean])
(async_display_statistics [boolean])
(async_record_statistics [boolean])
(suppress_upload_debug [boolean])
(lightmap_pointsample [boolean])
(debug_no_frustum_clip [boolean])
(debug_camera_projection [boolean])
(debug_bink [boolean])
(game_paused [boolean])
(game_speed [real])
(game_time_lock [boolean])
(game_time_statistics [boolean])
(debug_game_save [boolean])
(recover_saved_games_hack [boolean])
(game_state_verify_on_write [boolean])
(game_state_verify_on_read [boolean])
(prune_global_use_empty [boolean])
(prune_scenario_material_effects [boolean])
(prune_scenario_lightmaps [boolean])
(prune_global_dialog_sounds [boolean])
(prune_global [boolean])
(prune_global_keep_playable [boolean])
(prune_error_geometry [boolean])
(debug_structure_sampling [boolean])
(display_precache_progress [boolean])
(log_precache_progress [boolean])
(fake_precache_percentage [long])
(force_aligned_utility_drive [boolean])
(debug_object_garbage_collection [boolean])
(debug_object_dump_log [boolean])
(allow_all_sounds_on_player [boolean])
(disable_player_rotation [boolean])
(player_rotation_scale [real])
(debug_player_respawn [boolean])
(g_synchronous_client_maximum_catchup_chunk_size [long])
(g_editor_maximum_edited_object_speed [real])
(g_editor_edited_object_spring_constant [real])
(g_editor_maximum_rotation_speed [real])
(chud_enabled [boolean])
(chud_debug_grid [boolean])
(chud_debug_messages [boolean])
(chud_cortana_debug [boolean])
(chud_debug_crosshair [boolean])
(chud_debug_metagame [boolean])
(debug_unit_all_animations [boolean])
(debug_unit_animations [boolean])
(debug_unit_illumination [boolean])
(debug_unit_active_camo_frequency_modulator [real])
(debug_unit_active_camo_frequency_modulator_bias [real])
(debug_player_melee_attack [boolean])
(debug_boarding_force_enemy [boolean])
(enable_animation_influenced_flight [boolean])
(enable_flight_noise [boolean])
(enable_player_transitions [boolean])
(disable_node_interpolation [boolean])
(disable_analog_movement [boolean])
(disable_transition_animations [boolean])
(cheat_deathless_player [boolean])
(cheat_valhalla [boolean])
(cheat_jetpack [boolean])
(cheat_infinite_ammo [boolean])
(cheat_bottomless_clip [boolean])
(cheat_bump_possession [boolean])
(cheat_super_jump [boolean])
(cheat_reflexive_damage_effects [boolean])
(cheat_medusa [boolean])
(cheat_omnipotent [boolean])
(cheat_controller [boolean])
(cheat_chevy [boolean])
(effects_corpse_nonviolent [boolean])
(debug_effects_nonviolent [boolean])
(debug_effects_locations [boolean])
(effects_enable [boolean])
(debug_effects_allocation [boolean])
(debug_effects_play_distances [boolean])
(debug_effects_lightprobe_sampling [boolean])
(player_effects_enabled [boolean])
(sound_global_room_gain [real])
(sound_direct_path_gain [real])
(enable_pc_sound [boolean])
(debug_sound_cache [boolean])
(debug_sound_cache_status [boolean])
(debug_sound_manager_channels [boolean])
(debug_sound_manager_channels_status [boolean])
(debug_sound [boolean])
(debug_looping_sound [boolean])
(debug_sound_channels [boolean])
(debug_sound_reverb [boolean])
(sound_cache_graph [boolean])
(debug_speaker_output_peak [boolean])
(debug_speaker_output_rms [boolean])
(debug_display_levels_data [boolean])
(debug_display_preformance_data [boolean])
(debug_display_sources_data_state [boolean])
(debug_display_sources_data [boolean])
(debug_display_mix_data [boolean])
(debug_sound_mute_effect_final_mix [boolean])
(debug_sound_mute_effect_sub_mix [boolean])
(debug_sound_mute_effect_occlusion [boolean])
(debug_sound_mute_effect_obstruction [boolean])
(debug_sound_mute_effect_radio [boolean])
(debug_sound_mute_effect_reverb_first [boolean])
(debug_sound_mute_effect_reverb_second [boolean])
(debug_sound_mute_music [boolean])
(debug_sound_mute_dialog [boolean])
(debug_sound_mute_ambient [boolean])
(debug_sound_mute_vehicles [boolean])
(debug_sound_mute_weapons [boolean])
(debug_sound_mute_mix_dry [boolean])
(debug_sound_mute_mix_dry_obstruction [boolean])
(debug_sound_mute_mix_wet [boolean])
(debug_sound_mute_mix_wet_occlusion [boolean])
(debug_sound_mute_mix_radio [boolean])
(debug_sound_timing [boolean])
(debug_duckers [boolean])
(debug_sound_listeners [boolean])
(debug_sound_force_first_person_listener [boolean])
(debug_disable_music_channel [boolean])
(debug_disable_dialog_channel [boolean])
(debug_disable_cinematic_channel [boolean])
(debug_disable_ambiant_channel [boolean])
(debug_disable_vehicle_channel [boolean])
(debug_disable_weapon_channel [boolean])
(debug_disable_other_channel [boolean])
(debug_sound_reference_counts [boolean])
(background_sound_meter_display [boolean])
(debug_sound_environment_parameters [boolean])
(debug_sound_channel_overflow [boolean])
(debug_sound_impulse_time [boolean])
(debug_sound_impulse_spam [boolean])
(use_dynamic_object_obstruction [boolean])
(debug_sound_stabbed [boolean])
(debug_sound_environment [boolean])
(light_local_basis [boolean])
(collision_log_render [boolean])
(collision_log_detailed [boolean])
(collision_log_extended [boolean])
(collision_log_totals_only [boolean])
(collision_log_time [boolean])
(havok_collision_tolerance [real])
(havok_debug_mode [long])
(havok_thread_count [long])
(havok_environment_type [long])
(havok_shape_radius [real])
(havok_jumping_beans [boolean])
(havok_disable_deactivation [boolean])
(havok_weld_environment [boolean])
(havok_batch_add_entities_disabled [boolean])
(havok_shape_cache [boolean])
(havok_shape_cache_debug [boolean])
(havok_enable_back_stepping [boolean])
(havok_enable_sweep_shapes [boolean])
(havok_display_stats [boolean])
(havok_initialize_profiling [boolean])
(impacts_debug [boolean])
(proxies_debug [boolean])
(collision_damage_debug [boolean])
(havok_play_impact_effects [boolean])
(havok_play_biped_impact_effects [boolean])
(physics_debug [boolean])
(havok_cleanup_inactive_agents [boolean])
(havok_memory_always_system [boolean])
(disable_expensive_physics_rebuilding [boolean])
(minimum_havok_object_acceleration [real])
(minimum_havok_biped_object_acceleration [real])
(debug_object_scheduler [boolean])
(render_debug_cache_state [boolean])
(render_environment [boolean])
(render_objects [boolean])
(visibility_debug_use_old_sphere_test [boolean])
(render_lightmap_shadows [boolean])
(render_lightmap_shadows_apply [boolean])
(render_lights [boolean])
(render_water_tessellated [boolean])
(render_water_wireframe [boolean])
(render_water_interaction [boolean])
(render_water [boolean])
(render_first_person [boolean])
(render_debug_mode [short])
(render_debug_safe_frame_bounds [boolean])
(render_debug_colorbars [short])
(render_debug_aspect_ratio_scale [real])
(render_debug_force_4x3_aspect_ratio [boolean])
(render_debug_transparents [boolean])
(render_debug_slow_transparents [boolean])
(render_transparents [boolean])
(render_debug_transparent_cull [boolean])
(render_debug_transparent_cull_flip [boolean])
(render_debug_transparent_sort_method [short])
(render_debug_lens_flares [boolean])
(render_instanced_geometry [boolean])
(render_sky [boolean])
(render_lens_flares [boolean])
(render_decorators [boolean])
(light_decorators [boolean])
(render_decorator_bounds [boolean])
(render_decorator_spheres [boolean])
(render_muffins [boolean])
(render_debug_muffins [boolean])
(render_debug_force_cinematic_lights [boolean])
(render_debug_pix_events [boolean])
(render_atmosphere_cluster_blend_data [boolean])
(render_pc_specular [boolean])
(render_pc_albedo_lighting [boolean])
(render_debug_save_surface [long])
(render_disable_screen_effects_not_first_person [boolean])
(render_screen_flashes [boolean])
(texture_camera_near_plane [real])
(texture_camera_exposure [real])
(texture_camera_illum_scale [real])
(render_near_clip_distance [real])
(render_far_clip_distance [real])
(render_exposure_stops [real])
(display_exposure [boolean])
(render_HDR_target_stops [real])
(render_surface_LDR_mode [long])
(render_surface_HDR_mode [long])
(render_first_person_fov_scale [real])
(rasterizer_triliner_threshold [long])
(rasterizer_present_immediate_threshold [long])
(tiling [long])
(render_screen_res [long])
(render_force_tiling [boolean])
(render_tiling_resolve_fragment_index [long])
(render_tiling_viewport_offset_x [real])
(render_tiling_viewport_offset_y [real])
(render_true_gamma [boolean])
(render_shadow_bounds [boolean])
(render_shadow_bounds_solid [boolean])
(render_shadow_opaque [boolean])
(render_shadow_screenspace [boolean])
(render_shadow_histencil [boolean])
(render_shadow_hires [boolean])
(render_shadow_objectspace_stencil_clip [boolean])
(render_shadow_force_fancy [boolean])
(render_shadow_force_old [boolean])
(render_postprocess [boolean])
(render_accum [long])
(render_bloom_source [long])
(render_persist [boolean])
(render_bloom [long])
(render_bling [long])
(render_downsample [long])
(render_show_alpha [long])
(render_postprocess_exposure [real])
(render_accum_filter [long])
(render_tone_curve [boolean])
(render_tone_curve_white [real])
(render_exposure_lock [boolean])
(render_postprocess_hue [real])
(render_postprocess_saturation [real])
(render_postprocess_red_filter [real])
(render_postprocess_green_filter [real])
(render_postprocess_blue_filter [real])
(render_screenspace_center [real])
(render_bounce_light_intensity [real])
(render_bounce_light_only [boolean])
(render_disable_prt [boolean])
(screenshot_anisotropic_level [long])
(screenshot_gamma [real])
(render_light_intensity [real])
(render_light_clip_planes [long])
(render_light_opaque [boolean])
(cubemap_debug [boolean])
(render_debug_cloth [boolean])
(render_debug_antennas [boolean])
(render_debug_leaf_systems [boolean])
(render_debug_object_lighting [boolean])
(render_debug_object_lighting_refresh [boolean])
(render_debug_use_cholocate_mountain [boolean])
(render_debug_object_lighting_use_scenery_probe [boolean])
(render_debug_object_lighting_use_device_probe [boolean])
(render_debug_object_lighting_use_air_probe [boolean])
(render_debug_show_air_probes [boolean])
(render_debug_infinite_framerate [boolean])
(render_debug_toggle_default_lightmaps_texaccum [long])
(render_debug_toggle_default_static_lighting [boolean])
(render_debug_toggle_default_dynamic_lighting [boolean])
(render_debug_toggle_default_sfx [boolean])
(render_debug_depth_render [long])
(render_debug_depth_render_scale_r [real])
(render_debug_depth_render_scale_g [real])
(render_debug_depth_render_scale_b [real])
(render_debug_show_4x3_bounds [boolean])
(render_weather_bounds [boolean])
(render_debug_cinematic_clip [boolean])
(render_buffer_gamma [real])
(render_screen_gamma [real])
(render_buffer_gamma_curve [long])
(render_color_balance_red [real])
(render_color_balance_green [real])
(render_color_balance_blue [real])
(render_black_level_red [real])
(render_black_level_green [real])
(render_black_level_blue [real])
(debug_volume_samples [boolean])
(decal_create [boolean])
(decal_frame_advance [boolean])
(decal_render [boolean])
(decal_disable [boolean])
(decal_render_latest_debug [boolean])
(decal_cull [boolean])
(decal_fade [boolean])
(decal_dump [boolean])
(decal_z_bias [real])
(decal_slope_z_bias [real])
(particle_create [boolean])
(particle_frame_advance [boolean])
(particle_render [boolean])
(particle_render_debug [boolean])
(particle_render_debug_spheres [boolean])
(particle_cull [boolean])
(particle_dump [boolean])
(particle_force_cpu [boolean])
(particle_force_gpu [boolean])
(effect_priority_cutoff [long])
(weather_occlusion_max_height [real])
(render_method_debug [boolean])
(render_debug_viewport_resolution_scale_x [real])
(render_debug_viewport_resolution_scale_y [real])
(render_debug_viewport_top_left_shift_x [long])
(render_debug_viewport_top_left_shift_y [long])
(render_debug_light_probes [long])
(effect_property_culling [boolean])
(contrail_create [boolean])
(contrail_pulse [boolean])
(contrail_frame_advance [boolean])
(contrail_submit [boolean])
(contrail_dump [boolean])
(light_volume_create [boolean])
(light_volume_frame_advance [boolean])
(light_volume_submit [boolean])
(light_volume_dump [boolean])
(beam_create [boolean])
(beam_frame_advance [boolean])
(beam_submit [boolean])
(beam_dump [boolean])
(debug_inactive_objects [boolean])
(debug_pvs [boolean])
(debug_pvs_render_all [boolean])
(debug_pvs_activation [boolean])
(debug_pvs_editor_mode [boolean])
(render_default_lighting [boolean])
(visibility_debug_portals [boolean])
(visibility_debug_audio_clusters [boolean])
(visibility_debug_visible_clusters [boolean])
(visibility_debug_portals_structure_bsp_index [long])
(visibility_debug_portals_cluster_index [long])
(debug_objects [boolean])
(debug_objects_position_velocity [boolean])
(debug_objects_origin [boolean])
(debug_objects_root_node [boolean])
(debug_objects_bounding_spheres [boolean])
(debug_objects_attached_bounding_spheres [boolean])
(debug_objects_dynamic_render_bounding_spheres [boolean])
(debug_objects_render_models [boolean])
(debug_objects_collision_models [boolean])
(debug_objects_early_movers [boolean])
(debug_objects_contact_points [boolean])
(debug_objects_constraints [boolean])
(debug_objects_vehicle_physics [boolean])
(debug_objects_mass [boolean])
(debug_objects_physics_models [boolean])
(debug_objects_expensive_physics [boolean])
(debug_objects_water_physics [boolean])
(water_physics_velocity_minimum [real])
(water_physics_velocity_maximum [real])
(debug_objects_names [boolean])
(debug_objects_names_full [boolean])
(debug_objects_indices [boolean])
(debug_objects_functions [boolean])
(debug_objects_functions_all [boolean])
(debug_objects_model_targets [boolean])
(debug_objects_pathfinding [boolean])
(debug_objects_profile_times [boolean])
(debug_objects_node_bounds [boolean])
(debug_objects_unit_vectors [boolean])
(debug_objects_unit_seats [boolean])
(debug_objects_unit_mouth_apeture [boolean])
(debug_objects_unit_firing [boolean])
(debug_objects_unit_lipsync [boolean])
(debug_objects_unit_lipsync_verbose [boolean])
(debug_objects_unit_emotion [boolean])
(debug_objects_unit_acceleration [boolean])
(debug_objects_unit_camera [boolean])
(debug_objects_biped_autoaim_pills [boolean])
(debug_objects_biped_melee_in_range [boolean])
(debug_objects_physics_control_node [boolean])
(debug_objects_ground_plane [boolean])
(debug_objects_movement_mode [boolean])
(debug_objects_unit_pathfinding_surface [boolean])
(debug_objects_devices [boolean])
(debug_objects_machines [boolean])
(debug_objects_garbage [boolean])
(debug_objects_type_mask [long])
(debug_objects_sound_spheres [boolean])
(debug_objects_active_nodes [boolean])
(debug_objects_animation_times [boolean])
(debug_objects_animation [boolean])
(debug_objects_spawn_timers [boolean])
(debug_objects_freeze_ragdolls [boolean])
(debug_objects_disable_relaxation [boolean])
(debug_objects_sentinel_physics_ignore_lag [boolean])
(debug_objects_ignore_node_masks [boolean])
(debug_objects_force_awake [boolean])
(debug_objects_disable_node_animation [boolean])
(debug_objects_dump_memory_stats [boolean])
(debug_objects_object [object])
(debug_objects_by_index [long])
(debug_objects_player_only [boolean])
(debug_objects_vehicle_suspension [boolean])
(debug_objects_skeletons [boolean])
(render_model_nodes [boolean])
(render_model_point_counts [boolean])
(render_model_vertex_counts [boolean])
(render_model_names [boolean])
(render_model_triangle_counts [boolean])
(render_model_collision_vertex_counts [boolean])
(render_model_collision_surface_counts [boolean])
(render_model_texture_usage [boolean])
(render_model_geometry_usage [boolean])
(render_model_cost [boolean])
(render_model_markers [boolean])
(render_model_no_geometry [boolean])
(render_model_skinning_disable [boolean])
(debug_damage [boolean])
(debug_player_damage [boolean])
(debug_damage_verbose [boolean])
(debug_damage_radius [boolean])
(hs_verbose [boolean])
(breakpoints_enabled [boolean])
(debug_trigger_volumes [boolean])
(debug_point_physics [boolean])
(water_physics_debug [boolean])
(collision_debug [boolean])
(collision_debug_water_proxy [boolean])
(collision_debug_spray [boolean])
(collision_debug_features [boolean])
(collision_debug_phantom_bsp [boolean])
(collision_debug_lightmaps [boolean])
(collision_debug_geometry_sampling [boolean])
(collision_debug_flags [long])
(collision_debug_flag_structure [boolean])
(collision_debug_flag_water [boolean])
(collision_debug_flag_instanced_geometry [boolean])
(collision_debug_flag_objects [boolean])
(collision_debug_flag_objects_bipeds [boolean])
(collision_debug_flag_objects_giants [boolean])
(collision_debug_flag_objects_effect_scenery [boolean])
(collision_debug_flag_objects_vehicles [boolean])
(collision_debug_flag_objects_weapons [boolean])
(collision_debug_flag_objects_equipment [boolean])
(collision_debug_flag_objects_terminals [boolean])
(collision_debug_flag_objects_projectiles [boolean])
(collision_debug_flag_objects_scenery [boolean])
(collision_debug_flag_objects_machines [boolean])
(collision_debug_flag_objects_controls [boolean])
(collision_debug_flag_objects_sound_scenery [boolean])
(collision_debug_flag_objects_crates [boolean])
(collision_debug_flag_objects_creatures [boolean])
(collision_debug_flag_ignore_child_objects [boolean])
(collision_debug_flag_ignore_nonpathfindable_objects [boolean])
(collision_debug_flag_ignore_cinematic_objects [boolean])
(collision_debug_flag_ignore_dead_bipeds [boolean])
(collision_debug_flag_ignore_passthrough_bipeds [boolean])
(collision_debug_flag_front_facing_surfaces [boolean])
(collision_debug_flag_back_facing_surfaces [boolean])
(collision_debug_flag_ignore_two_sided_surfaces [boolean])
(collision_debug_flag_ignore_invisible_surfaces [boolean])
(collision_debug_flag_ignore_breakable_surfaces [boolean])
(collision_debug_flag_allow_early_out [boolean])
(collision_debug_flag_try_to_keep_location_valid [boolean])
(collision_debug_repeat [boolean])
(collision_debug_point_x [real])
(collision_debug_point_y [real])
(collision_debug_point_z [real])
(collision_debug_vector_i [real])
(collision_debug_vector_j [real])
(collision_debug_vector_k [real])
(collision_debug_length [real])
(collision_debug_width [real])
(collision_debug_height [real])
(collision_debug_ignore_object_index [long])
(debug_obstacle_path [boolean])
(debug_obstacle_path_on_failure [boolean])
(debug_obstacle_path_start_point_x [real])
(debug_obstacle_path_start_point_y [real])
(debug_obstacle_path_goal_point_x [real])
(debug_obstacle_path_goal_point_y [real])
(suppress_pathfinding_generation [boolean])
(ai_generate_flood_sector_wrl [boolean])
(ai_pathfinding_generate_stats [boolean])
(debug_zone_set_critical_portals [boolean])
(debug_camera [boolean])
(debug_tangent_space [boolean])
(debug_player [boolean])
(debug_player_control_autoaim_always_active [boolean])
(debug_structure [boolean])
(debug_structure_complexity [boolean])
(debug_structure_water [boolean])
(debug_structure_invisible [boolean])
(debug_structure_cluster_skies [boolean])
(debug_structure_slip_surfaces [boolean])
(debug_structure_soft_ceilings [boolean])
(debug_structure_soft_ceilings_biped [boolean])
(debug_structure_soft_ceilings_vehicle [boolean])
(debug_structure_soft_ceilings_huge_vehicle [boolean])
(debug_structure_soft_ceilings_camera [boolean])
(debug_structure_soft_ceilings_test_observer [boolean])
(soft_ceilings_disable [boolean])
(debug_structure_soft_kill [boolean])
(debug_structure_seam_edges [boolean])
(debug_structure_seams [boolean])
(debug_structure_seam_triangles [boolean])
(debug_structure_automatic [boolean])
(debug_structure_unique_colors [boolean])
(debug_instanced_geometry [boolean])
(debug_instanced_geometry_bounding_spheres [boolean])
(debug_instanced_geometry_names [boolean])
(debug_instanced_geometry_vertex_counts [boolean])
(debug_instanced_geometry_collision_geometry [boolean])
(debug_structure_surface_references [boolean])
(debug_structure_markers [boolean])
(debug_bsp [boolean])
(debug_plane_index [long])
(debug_surface_index [long])
(debug_input [boolean])
(debug_leaf0_index [long])
(debug_leaf1_index [long])
(debug_leaf_connection_index [long])
(debug_cluster_index [long])
(debug_first_person_weapons [boolean])
(debug_first_person_models [boolean])
(breakable_surfaces [boolean])
(debug_lights [boolean])
(debug_light_passes [boolean])
(debug_biped_landing [boolean])
(debug_biped_throttle [boolean])
(debug_collision_skip_instanced_geometry [boolean])
(debug_collision_skip_objects [boolean])
(debug_collision_skip_vectors [boolean])
(debug_collision_object_payload_collision [boolean])
(debug_material_effects [boolean])
(debug_material_default_effects [boolean])
(player_training_debug [boolean])
(player_training_disable [boolean])
(game_engine_debug_statborg [boolean])
(jaime_control_hack [boolean])
(bertone_control_hack [boolean])
(motor_system_debug [boolean])
(ai_profile_disable [boolean])
(ai_profile_random [boolean])
(ai_show [boolean])
(ai_show_stats [boolean])
(ai_show_actors [boolean])
(ai_show_swarms [boolean])
(ai_show_paths [boolean])
(ai_show_line_of_sight [boolean])
(ai_show_prop_types [boolean])
(ai_show_sound_distance [boolean])
(ai_render [boolean])
(ai_render_all_actors [boolean])
(ai_render_inactive_actors [boolean])
(ai_render_lineoffire_crouching [boolean])
(ai_render_lineoffire [boolean])
(ai_render_lineofsight [boolean])
(ai_render_ballistic_lineoffire [boolean])
(ai_render_vision_cones [boolean])
(ai_render_current_state [boolean])
(ai_render_detailed_state [boolean])
(ai_render_props [boolean])
(ai_render_props_web [boolean])
(ai_render_props_no_friends [boolean])
(ai_render_props_unreachable [boolean])
(ai_render_props_unopposable [boolean])
(ai_render_props_stimulus [boolean])
(ai_render_props_dialogue [boolean])
(ai_render_props_salience [boolean])
(ai_render_props_update [boolean])
(ai_render_idle_look [boolean])
(ai_render_support_surfaces [boolean])
(ai_render_recent_damage [boolean])
(ai_render_current_damage [boolean])
(ai_render_threats [boolean])
(ai_render_emotions [boolean])
(ai_render_audibility [boolean])
(ai_render_aiming_vectors [boolean])
(ai_render_secondary_looking [boolean])
(ai_render_targets [boolean])
(ai_render_targets_all [boolean])
(ai_render_targets_last_visible [boolean])
(ai_render_states [boolean])
(ai_render_vitality [boolean])
(ai_render_evaluations [boolean])
(ai_render_evaluations_detailed [boolean])
(ai_render_evaluations_text [boolean])
(ai_render_evaluations_shading [short])
(ai_render_evaluations_shading_type [short])
(ai_render_pursuit [boolean])
(ai_render_shooting [boolean])
(ai_render_trigger [boolean])
(ai_render_projectile_aiming [boolean])
(ai_render_aiming_validity [boolean])
(ai_render_speech [boolean])
(ai_render_leadership [boolean])
(ai_render_status_flags [boolean])
(ai_render_goal_state [boolean])
(ai_render_behavior_debug [boolean])
(ai_render_active_camo [boolean])
(ai_render_vehicle_attachment [boolean])
(ai_render_vehicle_reservations [boolean])
(ai_render_actor_blinddeaf [boolean])
(ai_render_morphing [boolean])
(ai_render_look_orders [boolean])
(ai_render_character_names [boolean])
(ai_render_dialogue [boolean])
(ai_render_dialogue_queue [boolean])
(ai_render_dialogue_records [boolean])
(ai_render_dialogue_player_weights [boolean])
(ai_dialogue_test_mode [boolean])
(ai_dialogue_datamine_enable [boolean])
(ai_render_teams [boolean])
(ai_render_player_ratings [boolean])
(ai_render_spatial_effects [boolean])
(ai_render_firing_positions [boolean])
(ai_render_firing_position_statistics [boolean])
(ai_render_firing_position_obstacles [boolean])
(ai_render_mission_critical [boolean])
(ai_render_gun_positions [boolean])
(ai_render_aiming_positions [boolean])
(ai_render_burst_geometry [boolean])
(ai_render_vehicle_avoidance [boolean])
(ai_render_vehicles_enterable [boolean])
(ai_render_melee_check [boolean])
(ai_render_dialogue_variants [boolean])
(ai_render_grenades [boolean])
(ai_render_danger_zones [boolean])
(ai_render_control [boolean])
(ai_render_activation [boolean])
(ai_render_paths [boolean])
(ai_render_paths_selected_only [boolean])
(ai_render_paths_destination [boolean])
(ai_render_paths_raw [boolean])
(ai_render_paths_current [boolean])
(ai_render_paths_failed [boolean])
(ai_render_paths_smoothed [boolean])
(ai_render_paths_avoided [boolean])
(ai_render_paths_error_thresholds [boolean])
(ai_render_paths_avoidance_segment [short])
(ai_render_paths_avoidance_obstacles [boolean])
(ai_render_paths_nodes [boolean])
(ai_render_paths_nodes_all [boolean])
(ai_render_paths_nodes_polygons [boolean])
(ai_render_paths_nodes_costs [boolean])
(ai_render_paths_nodes_closest [boolean])
(ai_render_paths_distance [boolean])
(ai_render_player_aiming_blocked [boolean])
(ai_render_deceleration_obstacles [boolean])
(ai_render_recent_obstacles [boolean])
(ai_render_combat_range [boolean])
(ai_render_dynamic_firing_positions [boolean])
(ai_render_clumps [boolean])
(ai_render_clump_props [boolean])
(ai_render_clump_props_all [boolean])
(ai_render_clump_dialogue [boolean])
(ai_render_sectors [boolean])
(ai_render_sector_bsps [boolean])
(ai_render_giant_sector_bsps [boolean])
(ai_render_non_walkable_sectors [boolean])
(ai_render_sector_geometry_errors [boolean])
(ai_pathfinding_generation_verbose [boolean])
(ai_render_sectors_range_max [long])
(ai_render_sectors_range_min [long])
(ai_render_user_hints [boolean])
(ai_render_area_flight_hints [boolean])
(ai_render_hints [boolean])
(ai_render_hints_detailed [boolean])
(ai_render_object_hints [boolean])
(ai_render_object_hints_all [boolean])
(ai_render_object_properties [boolean])
(ai_render_hints_movement [boolean])
(ai_orders_print_entries [boolean])
(ai_orders_print_entries_verbose [boolean])
(ai_render_orders [boolean])
(ai_render_suppress_combat [boolean])
(ai_render_objectives [boolean])
(ai_render_strength [boolean])
(ai_render_ai_iterator [ai])
(ai_render_child_stack [boolean])
(ai_render_behavior_stack [boolean])
(ai_render_behavior_stack_all [boolean])
(ai_render_stimuli [boolean])
(ai_render_combat_status [boolean])
(ai_render_decisions [boolean])
(ai_render_decisions_all [boolean])
(ai_render_command_scripts [boolean])
(ai_hide_actor_errors [boolean])
(ai_debug_tracking_data [boolean])
(ai_debug_perception_data [boolean])
(ai_debug_combat_status [boolean])
(ai_render_tracked_props [boolean])
(ai_render_tracked_props_all [boolean])
(ai_debug_vignettes [boolean])
(ai_render_joint_behaviors [boolean])
(ai_render_swarm [boolean])
(ai_render_flocks [boolean])
(ai_render_vehicle_interest [boolean])
(ai_render_player_battle_vector [boolean])
(ai_render_player_needs_vehicle [boolean])
(ai_debug_prop_refresh [boolean])
(ai_debug_all_disposable [boolean])
(ai_current_squad [ai])
(ai_current_actor [ai])
(ai_render_vehicle_turns [boolean])
(ai_render_discarded_firing_positions [boolean])
(ai_render_firing_positions_all [boolean])
(ai_render_firing_position_info [boolean])
(ai_inspect_avoidance_failure [boolean])
(ai_render_action_selection_failure [boolean])
(ai_combat_status_asleep [short])
(ai_combat_status_idle [short])
(ai_combat_status_alert [short])
(ai_combat_status_active [short])
(ai_combat_status_uninspected [short])
(ai_combat_status_definite [short])
(ai_combat_status_certain [short])
(ai_combat_status_visible [short])
(ai_combat_status_clear_los [short])
(ai_combat_status_dangerous [short])
(ai_task_status_never [short])
(ai_task_status_occupied [short])
(ai_task_status_empty [short])
(ai_task_status_inactive [short])
(ai_task_status_exhausted [short])
(ai_evaluator_preference [short])
(ai_evaluator_avoidance [short])
(ai_evaluator_sum [short])
(ai_evaluator_pathfinding [short])
(ai_evaluator_preferred_group [short])
(ai_evaluator_pursuit_walkdistance [short])
(ai_evaluator_pursuit_targetdistance [short])
(ai_evaluator_pursuit_targethint [short])
(ai_evaluator_pursuit_visible [short])
(ai_evaluator_pursuit_examined_us [short])
(ai_evaluator_pursuit_examined_total [short])
(ai_evaluator_pursuit_available [short])
(ai_evaluator_panic_walkdistance [short])
(ai_evaluator_panic_targetdistance [short])
(ai_evaluator_panic_closetotarget [short])
(ai_evaluator_guard_walkdistance [short])
(ai_evaluator_attack_weaponrange [short])
(ai_evaluator_attack_idealrange [short])
(ai_evaluator_attack_visible [short])
(ai_evaluator_attack_dangerousenemy [short])
(ai_evaluator_combatmove_walkdistance [short])
(ai_evaluator_combatmove_lineoffire [short])
(ai_evaluator_hide_cover [short])
(ai_evaluator_hide_exposed [short])
(ai_evaluator_uncover_pre_evaluate [short])
(ai_evaluator_uncover_visible [short])
(ai_evaluator_uncover_blocked [short])
(ai_evaluator_previously_discarded [short])
(ai_evaluator_danger_zone [short])
(ai_evaluator_move_into_danger_zone [short])
(ai_evaluator_3d_path_available [short])
(ai_evaluator_point_avoidance [short])
(ai_evaluator_directional_driving [short])
(ai_evaluator_favor_former_firing_position [short])
(ai_evaluator_hide_pre_evaluation [short])
(ai_evaluator_pursuit [short])
(ai_evaluator_pursuit_area_discarded [short])
(ai_evaluator_flag_preferences [short])
(ai_evaluator_perch_preferences [short])
(ai_evaluator_combatmove_lineoffire_occluded [short])
(ai_evaluator_attack_same_frame_of_reference [short])
(ai_evaluator_wall_leanable [short])
(ai_evaluator_cover_near_friends [short])
(ai_evaluator_combat_move_near_follow_unit [short])
(ai_evaluator_goal_preferences [short])
(ai_evaluator_hint_plane [short])
(ai_evaluator_postsearch_prefer_original [short])
(ai_evaluator_leadership [short])
(ai_evaluator_flee_to_leader [short])
(ai_evaluator_goal_points_only [short])
(ai_evaluator_attack_leader_distance [short])
(ai_evaluator_too_far_from_leader [short])
(ai_evaluator_guard_preference [short])
(ai_evaluator_guard_wall_preference [short])
(ai_action_berserk [short])
(ai_action_surprise_front [short])
(ai_action_surprise_back [short])
(ai_action_evade_left [short])
(ai_action_evade_right [short])
(ai_action_dive_forward [short])
(ai_action_dive_back [short])
(ai_action_dive_left [short])
(ai_action_dive_right [short])
(ai_action_advance [short])
(ai_action_cheer [short])
(ai_action_fallback [short])
(ai_action_hold [short])
(ai_action_point [short])
(ai_action_posing [short])
(ai_action_shakefist [short])
(ai_action_signal_attack [short])
(ai_action_signal_move [short])
(ai_action_taunt [short])
(ai_action_warn [short])
(ai_action_wave [short])
(ai_activity_none [short])
(ai_activity_patrol [short])
(ai_activity_stand [short])
(ai_activity_crouch [short])
(ai_activity_stand_drawn [short])
(ai_activity_crouch_drawn [short])
(ai_activity_corner [short])
(ai_activity_corner_open [short])
(ai_activity_bunker [short])
(ai_activity_bunker_open [short])
(ai_activity_combat [short])
(ai_activity_backup [short])
(ai_activity_guard [short])
(ai_activity_guard_crouch [short])
(ai_activity_guard_wall [short])
(ai_activity_typing [short])
(ai_activity_kneel [short])
(ai_activity_gaze [short])
(ai_activity_poke [short])
(ai_activity_sniff [short])
(ai_activity_track [short])
(ai_activity_watch [short])
(ai_activity_examine [short])
(ai_activity_sleep [short])
(ai_activity_at_ease [short])
(ai_activity_cower [short])
(ai_activity_tai_chi [short])
(ai_activity_pee [short])
(ai_activity_doze [short])
(ai_activity_eat [short])
(ai_activity_medic [short])
(ai_activity_work [short])
(ai_activity_cheering [short])
(ai_activity_injured [short])
(ai_activity_captured [short])
(morph_disallowed [boolean])
(morph_time_ranged_tank [real])
(morph_time_ranged_stealth [real])
(morph_time_tank_ranged [real])
(morph_time_tank_stealth [real])
(morph_time_stealth_ranged [real])
(morph_time_stealth_tank [real])
(morph_form_ranged [short])
(morph_form_tank [short])
(morph_form_stealth [short])
(ai_movement_patrol [short])
(ai_movement_asleep [short])
(ai_movement_combat [short])
(ai_movement_flee [short])
(ai_movement_flaming [short])
(ai_movement_stunned [short])
(ai_movement_berserk [short])
(ai_print_major_upgrade [boolean])
(ai_print_evaluation_statistics [boolean])
(ai_print_communication [boolean])
(ai_print_communication_player [boolean])
(ai_print_vocalizations [boolean])
(ai_print_placement [boolean])
(ai_print_speech [boolean])
(ai_print_allegiance [boolean])
(ai_print_lost_speech [boolean])
(ai_print_migration [boolean])
(ai_print_scripting [boolean])
(ai_print_disposal [boolean])
(ai_print_killing_sprees [boolean])
(ai_naimad_spew [boolean])
(ai_maxd_spew [boolean])
(ai_debug_fast_los [boolean])
(ai_debug_evaluate_all_positions [boolean])
(ai_debug_path [boolean])
(ai_debug_path_start_freeze [boolean])
(ai_debug_path_end_freeze [boolean])
(ai_debug_path_flood [boolean])
(ai_debug_path_maximum_radius [real])
(ai_debug_path_attractor [boolean])
(ai_debug_path_attractor_radius [real])
(ai_debug_path_attractor_weight [real])
(ai_debug_path_accept_radius [real])
(ai_debug_path_radius [real])
(ai_debug_path_destructible [boolean])
(ai_debug_path_giant [boolean])
(ai_debug_ballistic_lineoffire_freeze [boolean])
(ai_debug_path_naive_estimate [boolean])
(ai_debug_blind [boolean])
(ai_debug_deaf [boolean])
(ai_debug_invisible_player [boolean])
(ai_debug_ignore_player [boolean])
(ai_debug_force_all_active [boolean])
(ai_debug_path_disable_smoothing [boolean])
(ai_debug_path_disable_obstacle_avoidance [boolean])
(net_bitstream_debug [long])
(net_bitstream_display_errors [boolean])
(net_bitstream_capture_structure [boolean])
(net_never_timeout [boolean])
(net_use_local_time [boolean])
(net_traffic_warnings [boolean])
(net_traffic_print [boolean])
(net_messages_print [boolean])
(net_replication_requests_print [boolean])
(net_packet_print_mask [boolean])
(net_experimental [boolean])
(net_rate_unlimited [boolean])
(net_rate_server [long])
(net_rate_client [long])
(net_window_unlimited [boolean])
(net_window_size [long])
(net_bandwidth_unlimited [boolean])
(net_bandwidth_per_channel [long])
(net_skip_countdown [boolean])
(net_host_delegation_disable [boolean])
(net_speculative_host_migration_disable [boolean])
(net_streams_disable [boolean])
(net_disable_flooding [boolean])
(net_ignore_version [boolean])
(net_ignore_join_checking [boolean])
(net_ignore_migration_checking [boolean])
(net_maximum_machine_count [long])
(net_maximum_player_count [long])
(net_debug_random_seeds [boolean])
(net_allow_out_of_sync [boolean])
(net_distributed_always [boolean])
(net_distributed_never [boolean])
(net_matchmaking_force_gather [boolean])
(net_matchmaking_fail_arbitration [boolean])
(net_connectivity_model_enabled [boolean])
(net_nat_override [long])
(net_matchmaking_nat_check_enabled [boolean])
(net_matchmaking_hopper_id_adjustment [long])
(net_matchmaking_use_last_map_and_game [boolean])
(net_matchmaking_allow_early_start [boolean])
(net_matchmaking_skip_host_migration [boolean])
(net_matchmaking_force_disband [boolean])
(net_enable_host_migration_loop [long])
(net_matchmaking_fake_progress [long])
(net_matchmaking_force_no_joining [boolean])