VerifiedAll console commandsBuild 2026.08.11.1121610.2-Rel-i343-Meteorite-2607-CU4

Units

Bipeds and vehicles as units: health, shields, seats, weapons, emotions and the animations a scripted unit plays.

Functions
94
Work in this build
92
Compiled out
2

unit_action_test_accept

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_accept <player>)boolean880

console: unit_action_test_accept <player>

unit_action_test_action

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_action <player>)boolean879

console: unit_action_test_action <player>

unit_action_test_back

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_back <player>)boolean890

console: unit_action_test_back <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_cancel

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_cancel <player>)boolean881

console: unit_action_test_cancel <player>

unit_action_test_cinematic_skip

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_cinematic_skip <player>)boolean888

console: unit_action_test_cinematic_skip <player>

unit_action_test_context_primary

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_context_primary <player>)boolean875

console: unit_action_test_context_primary <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_dpad_down

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_dpad_down <player>)boolean892

console: unit_action_test_dpad_down <player>

unit_action_test_dpad_left

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_dpad_left <player>)boolean893

console: unit_action_test_dpad_left <player>

unit_action_test_dpad_right

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_dpad_right <player>)boolean894

console: unit_action_test_dpad_right <player>

unit_action_test_dpad_up

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_dpad_up <player>)boolean891

console: unit_action_test_dpad_up <player>

unit_action_test_equipment

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_equipment <player>)boolean874

console: unit_action_test_equipment <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_grenade_trigger

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_grenade_trigger <player>)boolean869

console: unit_action_test_grenade_trigger <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_jump

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_jump <player>)boolean873

console: unit_action_test_jump <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_look_relative_all_directions

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_look_relative_all_directions <player>)boolean886

console: unit_action_test_look_relative_all_directions <player>

unit_action_test_look_relative_down

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_look_relative_down <player>)boolean883

console: unit_action_test_look_relative_down <player>

unit_action_test_look_relative_left

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_look_relative_left <player>)boolean884

console: unit_action_test_look_relative_left <player>

unit_action_test_look_relative_right

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_look_relative_right <player>)boolean885

console: unit_action_test_look_relative_right <player>

unit_action_test_look_relative_up

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_look_relative_up <player>)boolean882

console: unit_action_test_look_relative_up <player>

unit_action_test_melee

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_melee <player>)boolean878

console: unit_action_test_melee <player>

Called 14 times by the shipped campaign scripts, with 1 argument.

unit_action_test_move_relative_all_directions

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_move_relative_all_directions <player>)boolean887

console: unit_action_test_move_relative_all_directions <player>

unit_action_test_primary_trigger

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_primary_trigger <player>)boolean868

console: unit_action_test_primary_trigger <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_reset

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_reset <player>)void867

console: unit_action_test_reset <player>

Called 1 time by the shipped campaign scripts, with 1 argument.

unit_action_test_rotate_grenades

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_rotate_grenades <player>)boolean872

console: unit_action_test_rotate_grenades <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_rotate_weapons

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_rotate_weapons <player>)boolean871

console: unit_action_test_rotate_weapons <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_secondary_trigger

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_secondary_trigger <player>)boolean1689

console: unit_action_test_secondary_trigger <player>

unit_action_test_start

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_start <player>)boolean889

console: unit_action_test_start <player>

unit_action_test_vehicle_trick_primary

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_vehicle_trick_primary <player>)boolean876

console: unit_action_test_vehicle_trick_primary <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_action_test_vehicle_trick_secondary

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_vehicle_trick_secondary <player>)boolean877

console: unit_action_test_vehicle_trick_secondary <player>

unit_action_test_vision_trigger

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_action_test_vision_trigger <player>)boolean870

console: unit_action_test_vision_trigger <player>

Called 13 times by the shipped campaign scripts, with 1 argument.

unit_add_equipment

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_add_equipment <unit> <starting_profile> <boolean> <boolean>)void310

console: unit_add_equipment <unit> <starting_profile> <boolean> <boolean>

Called 8 times by the shipped campaign scripts, with 4 arguments.

unit_aim_without_turning

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_aim_without_turning <unit> <boolean>)void257

console: unit_aim_without_turning <unit> <boolean>

unit_animation_forced_seat

compiled out

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_animation_forced_seat <string_id>)void306

unit_board_vehicle

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_board_vehicle <unit> <string_id>)void267

console: unit_board_vehicle <unit> <string_id>

unit_close

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_close <unit>)void230

console: unit_close <unit>

Called 36 times by the shipped campaign scripts, with 1 argument.

unit_confirm_cancel_message

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_confirm_cancel_message <player>)void896

console: unit_confirm_cancel_message <player>

unit_confirm_message

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_confirm_message <player>)void895

console: unit_confirm_message <player>

unit_custom_animation_at_frame

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_custom_animation_at_frame <unit> <animation_graph> <string_id> <boolean> <short>)boolean242

console: unit_custom_animation_at_frame <unit> <animation_graph> <string_id> <boolean> <short>

unit_custom_animation_relative_at_frame

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_custom_animation_relative_at_frame <unit> <animation_graph> <string_id> <string_id> <boolean> <short>)boolean243

console: unit_custom_animation_relative_at_frame <unit> <animation_graph> <string_id> <string_id> <boolean> <short>

unit_doesnt_drop_items

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_doesnt_drop_items <object_list>)void307

console: unit_doesnt_drop_items <object_list>

Called 14 times by the shipped campaign scripts, with 1 argument.

unit_drop_support_weapon

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_drop_support_weapon <unit>)void302

console: unit_drop_support_weapon <unit>

unit_enable_eye_tracking

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_enable_eye_tracking <unit> <boolean>)void268

console: unit_enable_eye_tracking <unit> <boolean>

unit_enable_soft_ping_region

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_enable_soft_ping_region <unit> <damage_region> <boolean>)void897

console: unit_enable_soft_ping_region <unit> <damage_region> <boolean>

unit_enter_vehicle

Puts a unit into the named seat of a vehicle.

SignatureReturnsSlot
(unit_enter_vehicle <unit> <vehicle> <string_id>)void261

console: unit_enter_vehicle <unit> <vehicle> <string_id>

Called 7 times by the shipped campaign scripts, with 3 arguments.

unit_enter_vehicle_immediate

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_enter_vehicle_immediate <unit> <vehicle> <string_id>)void262

console: unit_enter_vehicle_immediate <unit> <vehicle> <string_id>

Called 16 times by the shipped campaign scripts, with 3 arguments.

unit_exit_vehicle

2 overloads

Makes a unit leave its vehicle.

SignatureReturnsSlot
(unit_exit_vehicle <unit>)void279
(unit_exit_vehicle <unit> <short>)void280

console: unit_exit_vehicle <unit>

Called 10 times by the shipped campaign scripts, with 1 argument.

unit_falling_damage_disable

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_falling_damage_disable <unit> <boolean>)void263

console: unit_falling_damage_disable <unit> <boolean>

unit_force_reload

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_force_reload <unit>)void304

console: unit_force_reload <unit>

unit_get_custom_animation_time

short

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_get_custom_animation_time <unit>)short235

console: unit_get_custom_animation_time <unit>

Called 6 times by the shipped campaign scripts, with 1 argument.

unit_get_enterable_by_player

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_get_enterable_by_player <unit>)boolean259

console: unit_get_enterable_by_player <unit>

unit_get_health

real

A unit's health as a fraction from 0 to 1.

SignatureReturnsSlot
(unit_get_health <unit>)real292

console: unit_get_health <unit>

Called 36 times by the shipped campaign scripts, with 1 argument.

unit_get_primary_weapon

weapon

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_get_primary_weapon <unit>)weapon1551

console: unit_get_primary_weapon <unit>

unit_get_shield

real

A unit's shield as a fraction from 0 to 1.

SignatureReturnsSlot
(unit_get_shield <unit>)real293

console: unit_get_shield <unit>

unit_get_team_index

short

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_get_team_index <unit>)short256

console: unit_get_team_index <unit>

unit_get_total_grenade_count

short

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_get_total_grenade_count <unit>)short294

console: unit_get_total_grenade_count <unit>

Called 1 time by the shipped campaign scripts, with 1 argument.

unit_get_vehicle

vehicle

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_get_vehicle <unit>)vehicle271

console: unit_get_vehicle <unit>

Called 7 times by the shipped campaign scripts, with 1 argument.

unit_has_any_equipment

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_has_any_equipment <unit>)boolean298

console: unit_has_any_equipment <unit>

unit_has_equipment

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_has_equipment <unit> <object_definition>)boolean299

console: unit_has_equipment <unit> <object_definition>

Called 6 times by the shipped campaign scripts, with 2 arguments.

unit_has_mandibles_hidden

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_has_mandibles_hidden <unit>)boolean245

console: unit_has_mandibles_hidden <unit>

unit_has_weapon

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_has_weapon <unit> <object_definition>)boolean295

console: unit_has_weapon <unit> <object_definition>

Called 12 times by the shipped campaign scripts, with 2 arguments.

unit_has_weapon_and_could_fire_primary_barrel

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_has_weapon_and_could_fire_primary_barrel <unit> <object_definition>)boolean297

console: unit_has_weapon_and_could_fire_primary_barrel <unit> <object_definition>

Called 2 times by the shipped campaign scripts, with 2 arguments.

unit_has_weapon_readied

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_has_weapon_readied <unit> <object_definition>)boolean296

console: unit_has_weapon_readied <unit> <object_definition>

Called 2 times by the shipped campaign scripts, with 2 arguments.

unit_impervious

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_impervious <object_list> <boolean>)void308

console: unit_impervious <object_list> <boolean>

unit_in_vehicle

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_in_vehicle <unit>)boolean270

console: unit_in_vehicle <unit>

Called 60 times by the shipped campaign scripts, with 1 argument.

unit_in_vehicle_type

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_in_vehicle_type <unit> <long>)boolean264

console: unit_in_vehicle_type <unit> <long>

Called 70 times by the shipped campaign scripts, with 2 arguments.

unit_is_emitting

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_is_emitting <unit>)boolean233

console: unit_is_emitting <unit>

unit_is_emp_stunned

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_is_emp_stunned <unit>)boolean234

console: unit_is_emp_stunned <unit>

unit_is_playing_custom_animation

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_is_playing_custom_animation <unit>)boolean244

console: unit_is_playing_custom_animation <unit>

Called 16 times by the shipped campaign scripts, with 1 argument.

unit_is_playing_custom_first_person_animation

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_is_playing_custom_first_person_animation <unit>)boolean1533

console: unit_is_playing_custom_first_person_animation <unit>

unit_kill

Kills a unit.

SignatureReturnsSlot
(unit_kill <unit>)void231

console: unit_kill <unit>

Called 15 times by the shipped campaign scripts, with 1 argument.

unit_kill_silent

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_kill_silent <unit>)void232

console: unit_kill_silent <unit>

unit_lower_weapon

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_lower_weapon <unit> <short>)void300

console: unit_lower_weapon <unit> <short>

Called 156 times by the shipped campaign scripts, with 2 arguments.

unit_night_vision_on

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_night_vision_on <unit>)boolean836

console: unit_night_vision_on <unit>

unit_only_takes_damage_from_players_team

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_only_takes_damage_from_players_team <unit> <boolean>)void260

console: unit_only_takes_damage_from_players_team <unit> <boolean>

unit_open

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_open <unit>)void229

console: unit_open <unit>

Called 50 times by the shipped campaign scripts, with 1 argument.

unit_play_random_ping

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_play_random_ping <unit>)void1537

console: unit_play_random_ping <unit>

unit_print_soft_ping_regions

compiled out

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_print_soft_ping_regions <unit>)void898

unit_raise_weapon

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_raise_weapon <unit> <short>)void301

console: unit_raise_weapon <unit> <short>

Called 104 times by the shipped campaign scripts, with 2 arguments.

unit_set_active_camo

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_active_camo <unit> <boolean> <real>)void228

console: unit_set_active_camo <unit> <boolean> <real>

unit_set_animation_mode

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_animation_mode <unit> <string_id>)void287

console: unit_set_animation_mode <unit> <string_id>

unit_set_current_vitality

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_current_vitality <unit> <real> <real>)void283

console: unit_set_current_vitality <unit> <real> <real>

Called 56 times by the shipped campaign scripts, with 3 arguments.

unit_set_enterable_by_player

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_enterable_by_player <unit> <boolean>)void258

console: unit_set_enterable_by_player <unit> <boolean>

unit_set_integrated_flashlight

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_integrated_flashlight <unit> <boolean>)void269

console: unit_set_integrated_flashlight <unit> <boolean>

Called 30 times by the shipped campaign scripts, with 2 arguments.

unit_set_maximum_vitality

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_maximum_vitality <unit> <real> <real>)void281

console: unit_set_maximum_vitality <unit> <real> <real>

Called 3 times by the shipped campaign scripts, with 3 arguments.

unit_set_prefer_tight_camera_track

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_prefer_tight_camera_track <unit> <boolean>)void277

console: unit_set_prefer_tight_camera_track <unit> <boolean>

unit_set_stance

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_set_stance <unit> <string_id>)void1567

console: unit_set_stance <unit> <string_id>

Called 4 times by the shipped campaign scripts, with 2 arguments.

unit_spew_action

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_spew_action <unit>)void303

console: unit_spew_action <unit>

unit_start_first_person_custom_animation

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_start_first_person_custom_animation <unit> <animation_graph> <string_id> <boolean>)boolean1532

console: unit_start_first_person_custom_animation <unit> <animation_graph> <string_id> <boolean>

unit_stop_custom_animation

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_stop_custom_animation <unit>)void236

console: unit_stop_custom_animation <unit>

Called 10 times by the shipped campaign scripts, with 1 argument.

unit_stop_first_person_custom_animation

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_stop_first_person_custom_animation <unit>)void1534

console: unit_stop_first_person_custom_animation <unit>

unit_suspended

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_suspended <unit> <boolean>)void309

console: unit_suspended <unit> <boolean>

unit_test_seat

boolean

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(unit_test_seat <unit> <unit_seat_mapping>)boolean278

console: unit_test_seat <unit> <unit_seat_mapping>

units_set_current_vitality

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(units_set_current_vitality <object_list> <real> <real>)void284

console: units_set_current_vitality <object_list> <real> <real>

Called 13 times by the shipped campaign scripts, with 3 arguments.

units_set_maximum_vitality

No description yet; the release build dropped the engine's help text.

SignatureReturnsSlot
(units_set_maximum_vitality <object_list> <real> <real>)void282

console: units_set_maximum_vitality <object_list> <real> <real>

Read from the function table in the shipped simulation DLL. A name is compiled out when every one of its slots points at the release build's shared stub evaluator; the console still accepts it and returns nothing. Descriptions are hand-written and incomplete; the engine's own help text does not survive in this build. See The Blam console for how the table was found and how the mod runs these.