<constants>
parameter in the modes.xml
. Dynamic declarations get created in the script code with the syntax outlined below.CONST..END
construct:CONST
<constant name> = <constant value>
END
_
). There are names reserved by the compiler that can not be used, such as Continue
, Break
, And
, etc (see compiler.ini)
.
A constant value might be a number (also a model identifier or a label); a string literal; a variable (also a class property); another constant.MoneyRequired
gets replaced with the number 30
and PlayerMoney
with $PLAYER_CHAR.Money