Download


only:

except:
0000
NOP
Has no effect and is commonly used to pad CLEO scripts with extra space to avoid the jump-at-zero-offset bug
nop
0001
WAIT
Pauses the script execution for specified amount of time in milliseconds
wait [time: int]
0002
GOTO
Transfers the script execution to the label unconditionally
goto [label]
0003
SHAKE_CAM
Shakes the camera with the given intensity
Camera.Shake(intensity: int)
0004
SET_VAR_INT
Sets the integer value of the VAR
[global var: int] = [literal: int]
0005
SET_VAR_FLOAT
Sets the float value of the VAR
[global var: float] = [literal: float]
0006
SET_LVAR_INT
Sets the integer value of the LVAR
[local var: int] = [literal: int]
0007
SET_LVAR_FLOAT
Sets the float value of the LVAR
[local var: float] = [literal: float]
0008
ADD_VAL_TO_INT_VAR
Adds the value to the value of the int VAR
[global var: int] += [literal: int]
0009
ADD_VAL_TO_FLOAT_VAR
Adds the value to the value of the float VAR
[global var: float] += [literal: float]
000A
ADD_VAL_TO_INT_LVAR
Adds the value to the value of the integer LVAR
[local var: int] += [literal: int]
000B
ADD_VAL_TO_FLOAT_LVAR
Adds the value to the value of the float LVAR
[local var: float] += [literal: float]
000C
SUB_VAL_FROM_INT_VAR
Subtracts the value from the value of the integer VAR
[global var: int] -= [literal: int]
000D
SUB_VAL_FROM_FLOAT_VAR
Subtracts the value from the value of the float VAR
[global var: float] -= [literal: float]
000E
SUB_VAL_FROM_INT_LVAR
Subtracts the value from the value of the int LVAR
[local var: int] -= [literal: int]
000F
SUB_VAL_FROM_FLOAT_LVAR
Subtracts the value from the value of the float LVAR
[local var: float] -= [literal: float]
0010
MULT_INT_VAR_BY_VAL
Multiplies the int VAR by the value
[global var: int] *= [literal: int]
0011
MULT_FLOAT_VAR_BY_VAL
Multiplies the float VAR by the value
[global var: float] *= [literal: float]
0012
MULT_INT_LVAR_BY_VAL
Multiplies the int LVAR by the value
[local var: int] *= [literal: int]
0013
MULT_FLOAT_LVAR_BY_VAL
Multiplies the float LVAR by the value
[local var: float] *= [literal: float]
0014
DIV_INT_VAR_BY_VAL
Divides the int VAR by the value
[global var: int] /= [literal: int]
0015
DIV_FLOAT_VAR_BY_VAL
Divides the float VAR by the value
[global var: float] /= [literal: float]
0016
DIV_INT_LVAR_BY_VAL
Divides the int LVAR by the value
[local var: int] /= [literal: int]
0017
DIV_FLOAT_LVAR_BY_VAL
Divides the float LVAR by the value
[local var: float] /= [literal: float]
0018
IS_INT_VAR_GREATER_THAN_NUMBER
Returns true if the int VAR value is greater than the value
[global var: int] > [literal: int]
0019
IS_INT_LVAR_GREATER_THAN_NUMBER
Returns true if the int LVAR value is greater than the value
[local var: int] > [literal: int]
001A
IS_NUMBER_GREATER_THAN_INT_VAR
Returns true if the value is greater than the int VAR value
[literal: int] > [global var: int]
001B
IS_NUMBER_GREATER_THAN_INT_LVAR
Returns true if the value is greater than the int LVAR value
[literal: int] > [local var: int]
001C
IS_INT_VAR_GREATER_THAN_INT_VAR
Returns true if the int VAR value is greater than the other int VAR value
[global var: int] > [global var: int]
001D
IS_INT_LVAR_GREATER_THAN_INT_LVAR
Returns true if the int LVAR value is greater than the other int LVAR value
[local var: int] > [local var: int]
001E
IS_INT_VAR_GREATER_THAN_INT_LVAR
Returns true if the int VAR value is greater than the int LVAR value
[global var: int] > [local var: int]
001F
IS_INT_LVAR_GREATER_THAN_INT_VAR
Returns true if the int LVAR value is greater than the int VAR value
[local var: int] > [global var: int]
0020
IS_FLOAT_VAR_GREATER_THAN_NUMBER
Returns true if the float VAR value is greater than the float value
[global var: float] > [literal: float]
0021
IS_FLOAT_LVAR_GREATER_THAN_NUMBER
Returns true if the float LVAR value is greater than the float value
[local var: float] > [literal: float]
0022
IS_NUMBER_GREATER_THAN_FLOAT_VAR
Returns true if the float value is greater than the float VAR value
[literal: float] > [global var: float]
0023
IS_NUMBER_GREATER_THAN_FLOAT_LVAR
Returns true if the float value is greater than the float LVAR value
[literal: float] > [local var: float]
0024
IS_FLOAT_VAR_GREATER_THAN_FLOAT_VAR
Returns true if the float VAR value is greater than the other float VAR value
[global var: float] > [global var: float]
0025
IS_FLOAT_LVAR_GREATER_THAN_FLOAT_LVAR
Returns true if the float LVAR value is greater than the other float LVAR value
[local var: float] > [local var: float]
0026
IS_FLOAT_VAR_GREATER_THAN_FLOAT_LVAR
Returns true if the float VAR value is greater than the float LVAR value
[global var: float] > [local var: float]
0027
IS_FLOAT_LVAR_GREATER_THAN_FLOAT_VAR
Returns true if the float LVAR value is greater than the float VAR value
[local var: float] > [global var: float]
0028
IS_INT_VAR_GREATER_OR_EQUAL_TO_NUMBER
Returns true if the int VAR value is greater or equal to the value
[global var: int] >= [literal: int]
0029
IS_INT_LVAR_GREATER_OR_EQUAL_TO_NUMBER
Returns true if the int LVAR value is greater or equal to the value
[local var: int] >= [literal: int]
002A
IS_NUMBER_GREATER_OR_EQUAL_TO_INT_VAR
Returns true if the value is greater or equal to the int VAR value
[literal: int] >= [global var: int]
002B
IS_NUMBER_GREATER_OR_EQUAL_TO_INT_LVAR
Returns true if the value is greater or equal to the int LVAR value
[literal: int] >= [local var: int]
002C
IS_INT_VAR_GREATER_OR_EQUAL_TO_INT_VAR
Returns true if the int VAR value is greater or equal to the other int VAR value
[global var: int] >= [global var: int]
002D
IS_INT_LVAR_GREATER_OR_EQUAL_TO_INT_LVAR
Returns true if the int LVAR value is greater or equal to the other int LVAR value
[local var: int] >= [local var: int]
002E
IS_INT_VAR_GREATER_OR_EQUAL_TO_INT_LVAR
Returns true if the int VAR value is greater or equal to the int LVAR value
[global var: int] >= [local var: int]
002F
IS_INT_LVAR_GREATER_OR_EQUAL_TO_INT_VAR
Returns true if the int LVAR value is greater or equal to the int VAR value
[local var: int] >= [global var: int]
0030
IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_NUMBER
Returns true if the float VAR value is greater or equal to the value
[global var: float] >= [literal: float]
0031
IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_NUMBER
Returns true if the float LVAR value is greater or equal to the value
[local var: float] >= [literal: float]
0032
IS_NUMBER_GREATER_OR_EQUAL_TO_FLOAT_VAR
Returns true if the value is greater or equal to the float VAR value
[literal: float] >= [global var: float]
0033
IS_NUMBER_GREATER_OR_EQUAL_TO_FLOAT_LVAR
Returns true if the value is greater or equal to the float LVAR value
[literal: float] >= [local var: float]
0034
IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_FLOAT_VAR
Returns true if the float VAR value is greater or equal to the other float VAR value
[global var: float] >= [global var: float]
0035
IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_FLOAT_LVAR
Returns true if the float LVAR value is greater or equal to the other float LVAR value
[local var: float] >= [local var: float]
0036
IS_FLOAT_VAR_GREATER_OR_EQUAL_TO_FLOAT_LVAR
Returns true if the float VAR value is greater or equal to the LVAR value
[global var: float] >= [local var: float]
0037
IS_FLOAT_LVAR_GREATER_OR_EQUAL_TO_FLOAT_VAR
Returns true if the float LVAR value is greater or equal to the float VAR value
[local var: float] >= [global var: float]
0038
IS_INT_VAR_EQUAL_TO_NUMBER
Returns true if the int VAR value is equal to the value
[global var: int] == [literal: int]
0039
IS_INT_LVAR_EQUAL_TO_NUMBER
Returns true if the int LVAR value is equal to the value
[local var: int] == [literal: int]
003A
IS_INT_VAR_EQUAL_TO_INT_VAR
Returns true if the int VAR value is equal to the other int VAR value
[global var: int] == [global var: int]
003B
IS_INT_LVAR_EQUAL_TO_INT_LVAR
Returns true if the int LVAR value is equal to the other int LVAR value
[local var: int] == [local var: int]
003C
IS_INT_VAR_EQUAL_TO_INT_LVAR
Returns true if the int VAR value is equal to the int LVAR value
[global var: int] == [local var: int]
0042
IS_FLOAT_VAR_EQUAL_TO_NUMBER
Returns true if the float VAR value is equal to the value
[global var: float] == [literal: float]
0043
IS_FLOAT_LVAR_EQUAL_TO_NUMBER
Returns true if the float LVAR value is equal to the value
[local var: float] == [literal: float]
0044
IS_FLOAT_VAR_EQUAL_TO_FLOAT_VAR
Returns true if the float VAR value is equal to the other float VAR value
[global var: float] == [global var: float]
0045
IS_FLOAT_LVAR_EQUAL_TO_FLOAT_LVAR
Returns true if the float LVAR value is equal to the other float LVAR value
[local var: float] == [local var: float]
0046
IS_FLOAT_VAR_EQUAL_TO_FLOAT_LVAR
Returns true if the float VAR value is equal to the float LVAR value
[global var: float] == [local var: float]
004D
GOTO_IF_FALSE
Transfers the script execution to the label if the condition result is false
goto_if_false [label]
004E
TERMINATE_THIS_SCRIPT
Ends the current script, preventing further execution
terminate_this_script
004F
START_NEW_SCRIPT
Starts a new script at the specified label
start_new_script [label] [arguments]
0050
GOSUB
Transfers the script execution to the label as a subroutine
gosub [label]
0051
RETURN
Returns from the current subroutine (0050)
return
0053
CREATE_PLAYER
Creates a player at the specified location
[var handle: Player] = Player.Create(modelId: model_char, x: float, y: float, z: float)
0058
ADD_INT_VAR_TO_INT_VAR
Adds the int VAR value to the other int VAR
[global var: int] += [global var: int]
0059
ADD_FLOAT_VAR_TO_FLOAT_VAR
Adds the float VAR value to the other float VAR
[global var: float] += [global var: float]
005A
ADD_INT_LVAR_TO_INT_LVAR
Adds the int LVAR value to the other int LVAR
[local var: int] += [local var: int]
005B
ADD_FLOAT_LVAR_TO_FLOAT_LVAR
Adds the float LVAR value to the other float LVAR
[local var: float] += [local var: float]
005C
ADD_INT_VAR_TO_INT_LVAR
Adds the int VAR value to the int LVAR
[local var: int] += [global var: int]
005D
ADD_FLOAT_VAR_TO_FLOAT_LVAR
Adds the float VAR value to the float LVAR
[local var: float] += [global var: float]
005E
ADD_INT_LVAR_TO_INT_VAR
Adds the float LVAR value to the float VAR
[global var: int] += [local var: int]
005F
ADD_FLOAT_LVAR_TO_FLOAT_VAR
Adds the float LVAR value to the float VAR
[global var: float] += [local var: float]
0060
SUB_INT_VAR_FROM_INT_VAR
Subtracts the int VAR value from the int VAR
[global var: int] -= [global var: int]
0061
SUB_FLOAT_VAR_FROM_FLOAT_VAR
Subtracts the float VAR value from the float VAR
[global var: float] -= [global var: float]
0062
SUB_INT_LVAR_FROM_INT_LVAR
Subtracts the int LVAR value from the int LVAR
[local var: int] -= [local var: int]
0063
SUB_FLOAT_LVAR_FROM_FLOAT_LVAR
Subtracts the float LVAR value from the float LVAR
[local var: float] -= [local var: float]
0064
SUB_INT_VAR_FROM_INT_LVAR
Subtracts the int VAR value from the int LVAR
[local var: int] -= [global var: int]
0065
SUB_FLOAT_VAR_FROM_FLOAT_LVAR
Subtracts the float VAR value from the float LVAR
[local var: float] -= [global var: float]
0066
SUB_INT_LVAR_FROM_INT_VAR
Subtracts the float LVAR value from the float VAR
[global var: int] -= [local var: int]
0067
SUB_FLOAT_LVAR_FROM_FLOAT_VAR
Subtracts the float LVAR value from the float VAR
[global var: float] -= [local var: float]
0068
MULT_INT_VAR_BY_INT_VAR
Multiplies the int VAR value by the int VAR
[global var: int] *= [global var: int]
0069
MULT_FLOAT_VAR_BY_FLOAT_VAR
Multiplies the float VAR value by the float VAR
[global var: float] *= [global var: float]
006A
MULT_INT_LVAR_BY_INT_LVAR
Multiplies the int LVAR value by the int LVAR
[local var: int] *= [local var: int]
006B
MULT_FLOAT_LVAR_BY_FLOAT_LVAR
Multiplies the int LVAR value by the int LVAR
[local var: float] *= [local var: float]
006C
MULT_INT_VAR_BY_INT_LVAR
Multiplies the int VAR value by the int LVAR
[global var: int] *= [local var: int]
006D
MULT_FLOAT_VAR_BY_FLOAT_LVAR
Multiplies the float VAR value by the float LVAR
[global var: float] *= [local var: float]
006E
MULT_INT_LVAR_BY_INT_VAR
Multiplies the int LVAR value by the int VAR
[local var: int] *= [global var: int]
006F
MULT_FLOAT_LVAR_BY_FLOAT_VAR
Multiplies the float LVAR value by the float VAR
[local var: float] *= [global var: float]
0070
DIV_INT_VAR_BY_INT_VAR
Divides the int VAR value by the int VAR
[global var: int] /= [global var: int]
0071
DIV_FLOAT_VAR_BY_FLOAT_VAR
Divides the float VAR value by the float VAR
[global var: float] /= [global var: float]
0072
DIV_INT_LVAR_BY_INT_LVAR
Divides the int LVAR by the int LVAR
[local var: int] /= [local var: int]
0073
DIV_FLOAT_LVAR_BY_FLOAT_LVAR
Divides the float LVAR by the float LVAR
[local var: float] /= [local var: float]