From Bohemia Interactive Community
Revision as of 14:48, 22 July 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A statement is a piece of scripting code. It is an instruction to the script Interpreter and tells it to do something.

Types of Statements

Value Assignment

A value assignment to a variable.

_variable = 5;

Control Structure

Any control structure including its blocks.

if (_value > _limit) then { hint "oh no"; };


Any scripting command including its arguments.

player sideChat "hello";