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

Script language

The HS language itself: the special forms that sequence and branch scripts, the arithmetic and comparison operators, the sleep family, casts between object types, and printing. Everything else in the table is the engine API these forms call into.

Functions
62
Work in this build
62
Compiled out
0

-

special form real

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

SignatureReturnsSlot
(- <number> <number>)real10

console: blam (- <number> <number>)

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

!=

special form boolean

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

SignatureReturnsSlot
(!= <expression> <expression>)boolean17

console: blam (!= <expression> <expression>)

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

*

special form real

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

SignatureReturnsSlot
(* <number(s)>)real11

console: blam (* <number(s)>)

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

/

special form real

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

SignatureReturnsSlot
(/ <number> <number>)real12

console: blam (/ <number> <number>)

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

%

special form real

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

SignatureReturnsSlot
(% <number> <number>)real13

console: blam (% <number> <number>)

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

+

special form real

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

SignatureReturnsSlot
(+ <number(s)>)real9

console: blam (+ <number(s)>)

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

<

special form boolean

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

SignatureReturnsSlot
(< <number> <number>)boolean19

console: blam (< <number> <number>)

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

<=

special form boolean

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

SignatureReturnsSlot
(<= <number> <number>)boolean21

console: blam (<= <number> <number>)

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

=

special form boolean

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

SignatureReturnsSlot
(= <expression> <expression>)boolean16

console: blam (= <expression> <expression>)

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

>

special form boolean

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

SignatureReturnsSlot
(> <number> <number>)boolean18

console: blam (> <number> <number>)

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

>=

special form boolean

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

SignatureReturnsSlot
(>= <number> <number>)boolean20

console: blam (>= <number> <number>)

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

abs_integer

long

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

SignatureReturnsSlot
(abs_integer <long>)long38

console: abs_integer <long>

abs_real

real

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

SignatureReturnsSlot
(abs_real <real>)real39

console: abs_real <real>

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

and

special form boolean

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

SignatureReturnsSlot
(and <boolean(s)>)boolean7

console: blam (and <boolean(s)>)

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

begin

special form

Evaluates each expression in order and returns the value of the last.

SignatureReturnsSlot
(begin <expression(s)>)passthrough0

console: blam (begin <expression(s)>)

Called 10,520 times by the shipped campaign scripts, with 1 to 78 arguments.

begin_count

special form

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

SignatureReturnsSlot
(begin_count <expression(s)>)passthrough2

console: blam (begin_count <expression(s)>)

Called 1 time by the shipped campaign scripts, with 3 arguments.

begin_random

special form

Evaluates the expressions in a random order.

SignatureReturnsSlot
(begin_random <expression(s)>)passthrough1

console: blam (begin_random <expression(s)>)

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

begin_random_count

special form

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

SignatureReturnsSlot
(begin_random_count <expression(s)>)passthrough3

console: blam (begin_random_count <expression(s)>)

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

bit_test

long

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

SignatureReturnsSlot
(bit_test <long> <short>)long45

console: bit_test <long> <short>

bit_toggle

long

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

SignatureReturnsSlot
(bit_toggle <long> <short> <boolean>)long46

console: bit_toggle <long> <short> <boolean>

bitwise_and

long

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

SignatureReturnsSlot
(bitwise_and <long> <long>)long40

console: bitwise_and <long> <long>

bitwise_flags_toggle

long

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

SignatureReturnsSlot
(bitwise_flags_toggle <long> <long> <boolean>)long47

console: bitwise_flags_toggle <long> <long> <boolean>

bitwise_left_shift

long

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

SignatureReturnsSlot
(bitwise_left_shift <long> <short>)long43

console: bitwise_left_shift <long> <short>

bitwise_or

long

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

SignatureReturnsSlot
(bitwise_or <long> <long>)long41

console: bitwise_or <long> <long>

bitwise_right_shift

long

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

SignatureReturnsSlot
(bitwise_right_shift <long> <short>)long44

console: bitwise_right_shift <long> <short>

bitwise_xor

long

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

SignatureReturnsSlot
(bitwise_xor <long> <long>)long42

console: bitwise_xor <long> <long>

branch

special form

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

SignatureReturnsSlot
(branch <condition> <script>)void29

console: blam (branch <condition> <script>)

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

breakpoint

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

SignatureReturnsSlot
(breakpoint <string>)void58

console: breakpoint <string>

cinematic_sleep

special form

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

SignatureReturnsSlot
(cinematic_sleep <short> [<script>])void27

console: blam (cinematic_sleep <short> [<script>])

cond

special form

Evaluates the first result whose condition is true.

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

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

device

special form device

Casts an object to a device.

SignatureReturnsSlot
(device <object>)device33

console: blam (device <object>)

evaluate

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

SignatureReturnsSlot
(evaluate <script>)void35

console: evaluate <script>

get_executing_running_thread

long

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

SignatureReturnsSlot
(get_executing_running_thread)long60

console: get_executing_running_thread

if

special form

Evaluates the second expression if the condition is true, otherwise the optional third.

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

console: blam (if <boolean> <then> [<else>])

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

inspect

special form

Prints an expression's value to the console.

SignatureReturnsSlot
(inspect <expression>)void28

console: blam (inspect <expression>)

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

kill_active_scripts

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

SignatureReturnsSlot
(kill_active_scripts)void59

console: kill_active_scripts

kill_thread

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

SignatureReturnsSlot
(kill_thread <long>)void61

console: kill_thread <long>

list_count

short

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

SignatureReturnsSlot
(list_count <object_list>)short88

console: list_count <object_list>

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

list_count_not_dead

short

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

SignatureReturnsSlot
(list_count_not_dead <object_list>)short89

console: list_count_not_dead <object_list>

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

list_get

object

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

SignatureReturnsSlot
(list_get <object_list> <short>)object87

console: list_get <object_list> <short>

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

log_print

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

SignatureReturnsSlot
(log_print <string>)void51

console: log_print <string>

max

special form real

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

SignatureReturnsSlot
(max <number(s)>)real15

console: blam (max <number(s)>)

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

min

special form real

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

SignatureReturnsSlot
(min <number(s)>)real14

console: blam (min <number(s)>)

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

not

boolean

Logical negation.

SignatureReturnsSlot
(not <boolean>)boolean36

console: not <boolean>

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

or

special form boolean

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

SignatureReturnsSlot
(or <boolean(s)>)boolean8

console: blam (or <boolean(s)>)

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

pin

real

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

SignatureReturnsSlot
(pin <real> <real> <real>)real37

console: pin <real> <real> <real>

Prints a string to the console.

SignatureReturnsSlot
(print <string>)void49

console: print <string>

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

random_range

short

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

SignatureReturnsSlot
(random_range <short> <short>)short188

console: random_range <short> <short>

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

real_random_range

real

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

SignatureReturnsSlot
(real_random_range <real> <real>)real189

console: real_random_range <real> <real>

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

scenery

special form scenery

Casts an object to scenery.

SignatureReturnsSlot
(scenery <object>)scenery34

console: blam (scenery <object>)

script_finished

boolean

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

SignatureReturnsSlot
(script_finished <string_id>)boolean63

console: script_finished <string_id>

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

script_started

boolean

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

SignatureReturnsSlot
(script_started <string_id>)boolean62

console: script_started <string_id>

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

set

special form

Assigns a value to a global variable.

SignatureReturnsSlot
(set <variable name> <expression>)passthrough6

console: blam (set <variable name> <expression>)

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

sleep

special form

Pauses the current script for the given number of simulation ticks.

SignatureReturnsSlot
(sleep <short> [<script>])void22

console: blam (sleep <short> [<script>])

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

sleep_forever

special form

Pauses the current script, or the named one, until something wakes it.

SignatureReturnsSlot
(sleep_forever [<script>])void23

console: blam (sleep_forever [<script>])

Called 291 times by the shipped campaign scripts, with 0 to 1 arguments.

sleep_until

special form boolean

Pauses the current script until the condition is true, re-testing it every so many ticks.

SignatureReturnsSlot
(sleep_until <boolean> [<short>])boolean24

console: blam (sleep_until <boolean> [<short>])

Called 5,044 times by the shipped campaign scripts, with 1 to 3 arguments.

sleep_until_game_ticks

special form boolean

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

SignatureReturnsSlot
(sleep_until_game_ticks <boolean> [<short>])boolean25

console: blam (sleep_until_game_ticks <boolean> [<short>])

unit

special form unit

Casts an object to a unit.

SignatureReturnsSlot
(unit <object>)unit30

console: blam (unit <object>)

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

vehicle

special form vehicle

Casts an object to a vehicle.

SignatureReturnsSlot
(vehicle <object>)vehicle31

console: blam (vehicle <object>)

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

wake

special form

Wakes a sleeping script by name.

SignatureReturnsSlot
(wake <script name>)void26

console: blam (wake <script name>)

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

weapon

special form weapon

Casts an object to a weapon.

SignatureReturnsSlot
(weapon <object>)weapon32

console: blam (weapon <object>)

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.