COALITION Wiki Difference between revisions of "Beginning SQF"

Difference between revisions of "Beginning SQF"

From COALITION Wiki
Line 1: Line 1:
SQF stands for '''Status Quo Function''' and is the code-based scripting engine that powers the game. This guide will outline some very basic features to get you started as well as guide you into incorporating SQF into your mission(s).
SQF stands for '''Status Quo Function''' and is the code-based scripting engine that powers the game. This guide will outline some very basic features to get you started as well as guide you into incorporating SQF into your mission(s).


=The Basics=
==The Basics==


==Data Types==
===Data Types===
To begin, wrap your head around the different [https://community.bistudio.com/wiki/Data_Types data types] that can be included into scripts. In layman terms, data types are simply different types of data that can be stored, created, and/or used as values.
To begin, wrap your head around the different [https://community.bistudio.com/wiki/Data_Types data types] that can be included into scripts. In layman terms, data types are simply different types of data that can be stored, created, and/or used as values.


==Control Structures==
===Control Structures===
Control Structures are statements which are used to control execution flow in the scripts. They are sequences of scripting code which help to control complex procedures. You can use control structures to define code which is only executed under certain conditions or repeated for a couple of times. You can find all supported control structures [https://community.bistudio.com/wiki/Control_Structures listed here].
Control Structures are statements which are used to control execution flow in the scripts. They are sequences of scripting code which help to control complex procedures. You can use control structures to define code which is only executed under certain conditions or repeated for a couple of times. You can find all supported control structures [https://community.bistudio.com/wiki/Control_Structures listed here].


=Including SQF into Missions=
==Including SQF into Missions==


=Getting Advanced=
==Getting Advanced==

Revision as of 05:05, 2 July 2018

SQF stands for Status Quo Function and is the code-based scripting engine that powers the game. This guide will outline some very basic features to get you started as well as guide you into incorporating SQF into your mission(s).

The Basics

Data Types

To begin, wrap your head around the different data types that can be included into scripts. In layman terms, data types are simply different types of data that can be stored, created, and/or used as values.

Control Structures

Control Structures are statements which are used to control execution flow in the scripts. They are sequences of scripting code which help to control complex procedures. You can use control structures to define code which is only executed under certain conditions or repeated for a couple of times. You can find all supported control structures listed here.

Including SQF into Missions

Getting Advanced