C = "Hello World!" The variable C now has the value "Hello World!".Ī variable always has a Data Type.
B = 2 The variable B now has the value 2.
A = 1 The variable A now has the value 1.
Like in mathematics, they serve as placeholders for values. Variables are a fundamental building block of scripting (and programming in general).
Functions by FunctionalityĬommon Scripting Errors.
To aid with prioritization, this page provides three selections of topics, each relevant to beginner, intermediate and advanced scripters respectively.Īrgument Fortunately, there is no need to acquire detailed knowledge about all of these things in order to get started with scripting. There is a plethora of topics to learn about in the context of Arma scripting (see the table below). Its predecessor SQS has been considered deprecated since Armed Assault (2006) and is no longer used. The scripting language currently used in the Arma series is called SQF. Unfortunately, it is also one of the most complex and unforgiving aspects of addon (mod) and mission creation. Scripting is one of the most powerful and most versatile tools available in the Arma sandbox.