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
94 names
- unit_action_test_accept
- unit_action_test_action
- unit_action_test_back
- unit_action_test_cancel
- unit_action_test_cinematic_skip
- unit_action_test_context_primary
- unit_action_test_dpad_down
- unit_action_test_dpad_left
- unit_action_test_dpad_right
- unit_action_test_dpad_up
- unit_action_test_equipment
- unit_action_test_grenade_trigger
- unit_action_test_jump
- unit_action_test_look_relative_all_directions
- unit_action_test_look_relative_down
- unit_action_test_look_relative_left
- unit_action_test_look_relative_right
- unit_action_test_look_relative_up
- unit_action_test_melee
- unit_action_test_move_relative_all_directions
- unit_action_test_primary_trigger
- unit_action_test_reset
- unit_action_test_rotate_grenades
- unit_action_test_rotate_weapons
- unit_action_test_secondary_trigger
- unit_action_test_start
- unit_action_test_vehicle_trick_primary
- unit_action_test_vehicle_trick_secondary
- unit_action_test_vision_trigger
- unit_add_equipment
- unit_aim_without_turning
- unit_animation_forced_seat
- unit_board_vehicle
- unit_can_blink
- unit_close
- unit_confirm_cancel_message
- unit_confirm_message
- unit_custom_animation_at_frame
- unit_custom_animation_relative_at_frame
- unit_doesnt_drop_items
- unit_drop_support_weapon
- unit_enable_eye_tracking
- unit_enable_soft_ping_region
- unit_enter_vehicle
- unit_enter_vehicle_immediate
- unit_exit_vehicle
- unit_falling_damage_disable
- unit_force_reload
- unit_get_custom_animation_time
- unit_get_enterable_by_player
- unit_get_health
- unit_get_primary_weapon
- unit_get_shield
- unit_get_team_index
- unit_get_total_grenade_count
- unit_get_vehicle
- unit_has_any_equipment
- unit_has_equipment
- unit_has_mandibles_hidden
- unit_has_weapon
- unit_has_weapon_and_could_fire_primary_barrel
- unit_has_weapon_readied
- unit_impervious
- unit_in_vehicle
- unit_in_vehicle_type
- unit_is_emitting
- unit_is_emp_stunned
- unit_is_playing_custom_animation
- unit_is_playing_custom_first_person_animation
- unit_kill
- unit_kill_silent
- unit_lower_weapon
- unit_night_vision_on
- unit_only_takes_damage_from_players_team
- unit_open
- unit_play_random_ping
- unit_print_soft_ping_regions
- unit_raise_weapon
- unit_set_active_camo
- unit_set_animation_mode
- unit_set_current_vitality
- unit_set_enterable_by_player
- unit_set_integrated_flashlight
- unit_set_maximum_vitality
- unit_set_prefer_tight_camera_track
- unit_set_stance
- unit_spew_action
- unit_start_first_person_custom_animation
- unit_stop_custom_animation
- unit_stop_first_person_custom_animation
- unit_suspended
- unit_test_seat
- units_set_current_vitality
- units_set_maximum_vitality
unit_action_test_accept
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_accept <player>) | boolean | 880 |
console: unit_action_test_accept <player>
unit_action_test_action
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_action <player>) | boolean | 879 |
console: unit_action_test_action <player>
unit_action_test_back
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_back <player>) | boolean | 890 |
console: unit_action_test_back <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_cancel
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_cancel <player>) | boolean | 881 |
console: unit_action_test_cancel <player>
unit_action_test_cinematic_skip
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_cinematic_skip <player>) | boolean | 888 |
console: unit_action_test_cinematic_skip <player>
unit_action_test_context_primary
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_context_primary <player>) | boolean | 875 |
console: unit_action_test_context_primary <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_dpad_down
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_dpad_down <player>) | boolean | 892 |
console: unit_action_test_dpad_down <player>
unit_action_test_dpad_left
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_dpad_left <player>) | boolean | 893 |
console: unit_action_test_dpad_left <player>
unit_action_test_dpad_right
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_dpad_right <player>) | boolean | 894 |
console: unit_action_test_dpad_right <player>
unit_action_test_dpad_up
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_dpad_up <player>) | boolean | 891 |
console: unit_action_test_dpad_up <player>
unit_action_test_equipment
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_equipment <player>) | boolean | 874 |
console: unit_action_test_equipment <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_grenade_trigger
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_grenade_trigger <player>) | boolean | 869 |
console: unit_action_test_grenade_trigger <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_jump
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_jump <player>) | boolean | 873 |
console: unit_action_test_jump <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_look_relative_all_directions
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_look_relative_all_directions <player>) | boolean | 886 |
console: unit_action_test_look_relative_all_directions <player>
unit_action_test_look_relative_down
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_look_relative_down <player>) | boolean | 883 |
console: unit_action_test_look_relative_down <player>
unit_action_test_look_relative_left
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_look_relative_left <player>) | boolean | 884 |
console: unit_action_test_look_relative_left <player>
unit_action_test_look_relative_right
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_look_relative_right <player>) | boolean | 885 |
console: unit_action_test_look_relative_right <player>
unit_action_test_look_relative_up
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_look_relative_up <player>) | boolean | 882 |
console: unit_action_test_look_relative_up <player>
unit_action_test_melee
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_melee <player>) | boolean | 878 |
console: unit_action_test_melee <player>
Called 14 times by the shipped campaign scripts, with 1 argument.
unit_action_test_move_relative_all_directions
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_move_relative_all_directions <player>) | boolean | 887 |
console: unit_action_test_move_relative_all_directions <player>
unit_action_test_primary_trigger
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_primary_trigger <player>) | boolean | 868 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_reset <player>) | void | 867 |
console: unit_action_test_reset <player>
Called 1 time by the shipped campaign scripts, with 1 argument.
unit_action_test_rotate_grenades
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_rotate_grenades <player>) | boolean | 872 |
console: unit_action_test_rotate_grenades <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_rotate_weapons
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_rotate_weapons <player>) | boolean | 871 |
console: unit_action_test_rotate_weapons <player>
Called 13 times by the shipped campaign scripts, with 1 argument.
unit_action_test_secondary_trigger
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_secondary_trigger <player>) | boolean | 1689 |
console: unit_action_test_secondary_trigger <player>
unit_action_test_start
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_start <player>) | boolean | 889 |
console: unit_action_test_start <player>
unit_action_test_vehicle_trick_primary
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_vehicle_trick_primary <player>) | boolean | 876 |
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
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_vehicle_trick_secondary <player>) | boolean | 877 |
console: unit_action_test_vehicle_trick_secondary <player>
unit_action_test_vision_trigger
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_action_test_vision_trigger <player>) | boolean | 870 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_add_equipment <unit> <starting_profile> <boolean> <boolean>) | void | 310 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_aim_without_turning <unit> <boolean>) | void | 257 |
console: unit_aim_without_turning <unit> <boolean>
unit_animation_forced_seat
compiled outNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_animation_forced_seat <string_id>) | void | 306 |
unit_board_vehicle
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_board_vehicle <unit> <string_id>) | void | 267 |
console: unit_board_vehicle <unit> <string_id>
unit_can_blink
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_can_blink <unit> <boolean>) | void | 227 |
console: unit_can_blink <unit> <boolean>
unit_close
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_close <unit>) | void | 230 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_confirm_cancel_message <player>) | void | 896 |
console: unit_confirm_cancel_message <player>
unit_confirm_message
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_confirm_message <player>) | void | 895 |
console: unit_confirm_message <player>
unit_custom_animation_at_frame
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_custom_animation_at_frame <unit> <animation_graph> <string_id> <boolean> <short>) | boolean | 242 |
console: unit_custom_animation_at_frame <unit> <animation_graph> <string_id> <boolean> <short>
unit_custom_animation_relative_at_frame
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_custom_animation_relative_at_frame <unit> <animation_graph> <string_id> <string_id> <boolean> <short>) | boolean | 243 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_doesnt_drop_items <object_list>) | void | 307 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_drop_support_weapon <unit>) | void | 302 |
console: unit_drop_support_weapon <unit>
unit_enable_eye_tracking
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_enable_eye_tracking <unit> <boolean>) | void | 268 |
console: unit_enable_eye_tracking <unit> <boolean>
unit_enable_soft_ping_region
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_enable_soft_ping_region <unit> <damage_region> <boolean>) | void | 897 |
console: unit_enable_soft_ping_region <unit> <damage_region> <boolean>
unit_enter_vehicle
Puts a unit into the named seat of a vehicle.
| Signature | Returns | Slot |
|---|---|---|
| (unit_enter_vehicle <unit> <vehicle> <string_id>) | void | 261 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_enter_vehicle_immediate <unit> <vehicle> <string_id>) | void | 262 |
console: unit_enter_vehicle_immediate <unit> <vehicle> <string_id>
Called 16 times by the shipped campaign scripts, with 3 arguments.
unit_exit_vehicle
2 overloadsMakes a unit leave its vehicle.
| Signature | Returns | Slot |
|---|---|---|
| (unit_exit_vehicle <unit>) | void | 279 |
| (unit_exit_vehicle <unit> <short>) | void | 280 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_falling_damage_disable <unit> <boolean>) | void | 263 |
console: unit_falling_damage_disable <unit> <boolean>
unit_force_reload
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_force_reload <unit>) | void | 304 |
console: unit_force_reload <unit>
unit_get_custom_animation_time
→ shortNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_custom_animation_time <unit>) | short | 235 |
console: unit_get_custom_animation_time <unit>
Called 6 times by the shipped campaign scripts, with 1 argument.
unit_get_enterable_by_player
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_enterable_by_player <unit>) | boolean | 259 |
console: unit_get_enterable_by_player <unit>
unit_get_health
→ realA unit's health as a fraction from 0 to 1.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_health <unit>) | real | 292 |
console: unit_get_health <unit>
Called 36 times by the shipped campaign scripts, with 1 argument.
unit_get_primary_weapon
→ weaponNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_primary_weapon <unit>) | weapon | 1551 |
console: unit_get_primary_weapon <unit>
unit_get_shield
→ realA unit's shield as a fraction from 0 to 1.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_shield <unit>) | real | 293 |
console: unit_get_shield <unit>
unit_get_team_index
→ shortNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_team_index <unit>) | short | 256 |
console: unit_get_team_index <unit>
unit_get_total_grenade_count
→ shortNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_total_grenade_count <unit>) | short | 294 |
console: unit_get_total_grenade_count <unit>
Called 1 time by the shipped campaign scripts, with 1 argument.
unit_get_vehicle
→ vehicleNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_get_vehicle <unit>) | vehicle | 271 |
console: unit_get_vehicle <unit>
Called 7 times by the shipped campaign scripts, with 1 argument.
unit_has_any_equipment
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_has_any_equipment <unit>) | boolean | 298 |
console: unit_has_any_equipment <unit>
unit_has_equipment
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_has_equipment <unit> <object_definition>) | boolean | 299 |
console: unit_has_equipment <unit> <object_definition>
Called 6 times by the shipped campaign scripts, with 2 arguments.
unit_has_weapon
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_has_weapon <unit> <object_definition>) | boolean | 295 |
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
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_has_weapon_and_could_fire_primary_barrel <unit> <object_definition>) | boolean | 297 |
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
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_has_weapon_readied <unit> <object_definition>) | boolean | 296 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_impervious <object_list> <boolean>) | void | 308 |
console: unit_impervious <object_list> <boolean>
unit_in_vehicle
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_in_vehicle <unit>) | boolean | 270 |
console: unit_in_vehicle <unit>
Called 60 times by the shipped campaign scripts, with 1 argument.
unit_in_vehicle_type
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_in_vehicle_type <unit> <long>) | boolean | 264 |
console: unit_in_vehicle_type <unit> <long>
Called 70 times by the shipped campaign scripts, with 2 arguments.
unit_is_emitting
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_is_emitting <unit>) | boolean | 233 |
console: unit_is_emitting <unit>
unit_is_emp_stunned
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_is_emp_stunned <unit>) | boolean | 234 |
console: unit_is_emp_stunned <unit>
unit_is_playing_custom_animation
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_is_playing_custom_animation <unit>) | boolean | 244 |
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
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_is_playing_custom_first_person_animation <unit>) | boolean | 1533 |
console: unit_is_playing_custom_first_person_animation <unit>
unit_kill
Kills a unit.
| Signature | Returns | Slot |
|---|---|---|
| (unit_kill <unit>) | void | 231 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_kill_silent <unit>) | void | 232 |
console: unit_kill_silent <unit>
unit_lower_weapon
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_lower_weapon <unit> <short>) | void | 300 |
console: unit_lower_weapon <unit> <short>
Called 156 times by the shipped campaign scripts, with 2 arguments.
unit_night_vision_on
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_night_vision_on <unit>) | boolean | 836 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_only_takes_damage_from_players_team <unit> <boolean>) | void | 260 |
console: unit_only_takes_damage_from_players_team <unit> <boolean>
unit_open
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_open <unit>) | void | 229 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_play_random_ping <unit>) | void | 1537 |
console: unit_play_random_ping <unit>
unit_print_soft_ping_regions
compiled outNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_print_soft_ping_regions <unit>) | void | 898 |
unit_raise_weapon
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_raise_weapon <unit> <short>) | void | 301 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_active_camo <unit> <boolean> <real>) | void | 228 |
console: unit_set_active_camo <unit> <boolean> <real>
unit_set_animation_mode
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_animation_mode <unit> <string_id>) | void | 287 |
console: unit_set_animation_mode <unit> <string_id>
unit_set_current_vitality
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_current_vitality <unit> <real> <real>) | void | 283 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_enterable_by_player <unit> <boolean>) | void | 258 |
console: unit_set_enterable_by_player <unit> <boolean>
unit_set_integrated_flashlight
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_integrated_flashlight <unit> <boolean>) | void | 269 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_maximum_vitality <unit> <real> <real>) | void | 281 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_prefer_tight_camera_track <unit> <boolean>) | void | 277 |
console: unit_set_prefer_tight_camera_track <unit> <boolean>
unit_set_stance
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_set_stance <unit> <string_id>) | void | 1567 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_spew_action <unit>) | void | 303 |
console: unit_spew_action <unit>
unit_start_first_person_custom_animation
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_start_first_person_custom_animation <unit> <animation_graph> <string_id> <boolean>) | boolean | 1532 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_stop_custom_animation <unit>) | void | 236 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (unit_stop_first_person_custom_animation <unit>) | void | 1534 |
console: unit_stop_first_person_custom_animation <unit>
unit_suspended
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_suspended <unit> <boolean>) | void | 309 |
console: unit_suspended <unit> <boolean>
unit_test_seat
→ booleanNo description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (unit_test_seat <unit> <unit_seat_mapping>) | boolean | 278 |
console: unit_test_seat <unit> <unit_seat_mapping>
units_set_current_vitality
No description yet; the release build dropped the engine's help text.
| Signature | Returns | Slot |
|---|---|---|
| (units_set_current_vitality <object_list> <real> <real>) | void | 284 |
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.
| Signature | Returns | Slot |
|---|---|---|
| (units_set_maximum_vitality <object_list> <real> <real>) | void | 282 |
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.