PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


arma2:scripting:basics_of_sqf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma2:scripting:basics_of_sqf [2011/07/24 08:36] – created basics_of_sqf initial page. snakemanarma2:scripting:basics_of_sqf [2024/08/01 22:17] (current) – links added. snakeman
Line 1: Line 1:
-====== Basics of SQF ======+====== ArmA 2 Basics of SQF ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]] 
  
 ====== Chapter 1: Introduction ====== ====== Chapter 1: Introduction ======
Line 446: Line 449:
  
 As you can see this script is of about the same length as the original SQS file. It is better structured though, which makes it easier to keep track of what happens. It could be improved a bit more, replacing the two arrays with only one array. Note that I only filled the arrays with two elements, it was good enough to illustrate how it would work. So the script is shorter for fewer M2s, this doesn't have to mean that it's faster or less CPU demanding. As you can see this script is of about the same length as the original SQS file. It is better structured though, which makes it easier to keep track of what happens. It could be improved a bit more, replacing the two arrays with only one array. Note that I only filled the arrays with two elements, it was good enough to illustrate how it would work. So the script is shorter for fewer M2s, this doesn't have to mean that it's faster or less CPU demanding.
 +
arma2/scripting/basics_of_sqf.1311496588.txt.gz · Last modified: 2011/07/24 08:36 by snakeman