Scripting is a very important tool in creating good missions or addons. Scripts can be executed from a trigger, or in the initialization field of a player or object, or even executed inside other scripts. A script is a simple text file, with an extension of .sqs or .sqf. In Arma2, .sqs scripts can still function, although .sqs format has been deprecated. If you are new to scripting you should try to script in .sqf. Also, start here.
A simple example of executing a script in the player init field would look something like this:
As there is a very keen interest in the newly added ArmA 2 scripting commands, the following list was created so that fans could easily find these new commands:
The links below take you to the OFP/ArmA Scripting Commands and related information.
Scripting Commands - Complete List of All Scripting Commands.
Scripting Commands for Arma 3 - Scripting Commands for Arma 3.
Scripting Commands for Take On Helicopters - Scripting Commands for Take On Helicopters.
Scripting Commands for Arma 2 - Scripting Commands for Arma 2 & Arma 2: Operation Arrowhead.
Scripting Commands Arma 2 vs VBS2 2 - List of commands that are in Arma 2 but not in VBS2 2.02.
Scripting Commands for Arma - Scripting Commands for Arma: Armed Assault.
Scripting Commands for OFP: Elite - Scripting Commands for OFP: Elite.
Scripting Commands for OFP Version 1.96 - Scripting Commands for OFP v1.46 to v1.96.
Scripting Commands OFP Version 1.46 - Scripting Commands for OFP v1.00 to v1.46.
Scripting Commands for VBS1 - Scripting Commands for VBS1.
This category has the following 21 subcategories, out of 21 total.
- ► Dialogs (28 P)
- ► Event Handlers (7 P)
- ► Introduced with (9 C)
- ► Moves (5 P)
- ► ParticleShape (empty)
- ► Reference Lists (12 C, 26 P)
- ► Types (9 P)
- ► Weapons (8 P)
Pages in category "Scripting Topics"
The following 41 pages are in this category, out of 41 total.