hex
<any hexadecimal numbers>
end
0004: $2 = 1
, so the game will correctly read it and set the value of the variable $2
to 1
.0..F
) is prefixed with 0
. So, for example, a sequence of three lettersA B C
will be compiled as the number 0xAB0C
.HEX..END
construct also accepts string literals, labels, global variables, model names. They are compiled without a preceding data type byte.0004: $PLAYER_CHAR = @get_offset
nn
nn
char
char
00 08 09 0A 0D DD
."This is a string"
is converted into "This is a string"
. Use the backward slash character \
to add multiple spaces in a string literal: "This \ \ \ is \ a \ \ \ \ string"
.&
sign can be both positive or negative, decimal or hexadecimal.E8 03 00 CB 5C FF
.