Scripting Topics – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>")
(Page refresh)
Line 1: Line 1:
==Introduction==
{| style="width: 100%"
Scripting is a very important tool in creating good missions or addons. Scripts can be executed from a [[Triggers|trigger]], or in the initialization field of a [[player]] or [[object]], or even executed inside other scripts. A script is a block of statements often found in a plain text file with an extension of .sqs or .sqf. As of Arma 2, .sqf is the primary script file format and, although .sqs scripts can still function, the file format has been deprecated. If you are new to scripting you should try to script in .sqf.  
| style="vertical-align: top; width: 55%" | Scripting is a very important tool used to create good missions or addons.<br>
Most of the information found here can be generalized between many of the [[Bohemia Interactive]] games (mostly using the [[Real Virtuality]] engine). Game-specific material will be cited as such.  


A simple example of executing a script in the player init field would look something like this:


[<nowiki/>argument<nowiki>]</nowiki> [[exec]] "myscript.sqs" (for [[SQS syntax|SQS]] scripts)
If you are looking for an introduction to scripting for beginners, see '''[[Introduction to Arma Scripting]]'''.


nul = [<nowiki/>argument<nowiki>]</nowiki> [[execVM]] "myscript.sqf" (for [[SQF syntax|SQF]] scripts)
|
: {| _class="wikitable"
|+ '''Scripting commands by game'''
! <span style="font-family: serif; font-size: 1.75em">&infin;</span>
|
: [[:Category:Scripting Commands|All RV games]]
|-
! {{GVI|arma3|1.00}}
|
: [[:Category:Scripting Commands Arma 3|{{arma3}}]]
|-
! {{GVI|arma2|1.00}}
|
: [[:Category:Scripting Commands Arma 2|{{arma2}}]]
|-
! {{GVI|arma1|1.00}}
|
: [[:Category:Scripting Commands ArmA|{{arma}}]]
|-
! {{GVI|ofpe|1.00}}
|
: [[:Category:Scripting Commands OFP Elite|{{ofpe}}]]
|-
! {{GVI|ofpr|1.99}}
|
:[[:Category:Scripting Commands OFP 1.99|{{ofpr}} / {{arma0}}]]
|-
! {{GVI|ofp|1.46}}
|
: [[:Category:Scripting Commands OFP 1.46|{{ofp}}]]
|-
! {{GVI|tkoh|1.00}}
|
: [[:Category:Scripting Commands Take On Helicopters|{{tkoh}}]]
|}


This page is intended to serve as a launchpad for both new and experienced script writers to access tutorials and reference materials. Most of the information found here can be generalized between many of the [[Bohemia Interactive]] games. Game-specific material will be cited as such.
|}
 
==Getting Started==
 
For those looking to learn more about scripting, begin with the basic tutorial [[Introduction to Arma Scripting]].
 
==Command Reference==
The links below take you to the Scripting Commands and related information for the various [[Bohemia Interactive]] games.
 
[[:Category:Scripting Commands|Scripting Commands]] - '''Complete''' List of All Scripting Commands.
 
[[:Category:Scripting Commands Arma 3|Scripting Commands for Arma 3]] - Scripting Commands for '''Arma 3'''.
 
[[:Category:Scripting Commands Take On Helicopters|Scripting Commands for Take On Helicopters]] - Scripting Commands for '''Take On Helicopters'''.
 
[[:Category:Scripting Commands Arma 2|Scripting Commands for Arma 2]] - Scripting Commands for '''Arma 2 & Arma 2: Operation Arrowhead'''.
 
[[:Category:Scripting Commands ArmA|Scripting Commands for Arma]] - Scripting Commands for '''Arma: Armed Assault'''.
 
[[:Category:Scripting Commands OFP Elite|Scripting Commands for OFP: Elite]] - Scripting Commands for '''OFP: Elite'''.
 
[[:Category:Scripting Commands OFP 1.96|Scripting Commands for OFP Version 1.96]] - Scripting Commands for '''OFP v1.46 to v1.96'''.
 
[[:Category:Scripting Commands OFP 1.46|Scripting Commands OFP Version 1.46]] - Scripting Commands for '''OFP v1.00 to v1.46'''.


[[Category:Operation Flashpoint: Editing]]
[[Category:Operation Flashpoint Elite: Editing]]
[[Category:ArmA: Editing]]
[[Category:Arma 2: Editing]]
[[Category:Arma 3: Editing]]
[[Category:Arma 3: Editing]]
[[Category:Take_On_Helicopters:_Editing]]
[[Category:Take On Helicopters: Editing]]
[[Category:Arma 2: Editing]]
[[Category:ArmA: Editing]]
[[Category:Operation Flashpoint Elite: Editing]]
[[Category:Operation Flashpoint: Editing]]

Revision as of 17:41, 15 April 2020

Scripting is a very important tool used to create good missions or addons.

Most of the information found here can be generalized between many of the Bohemia Interactive games (mostly using the Real Virtuality engine). Game-specific material will be cited as such.


If you are looking for an introduction to scripting for beginners, see Introduction to Arma Scripting.

Scripting commands by game
All RV games
Arma 3 logo black.png1.00
Arma 3
Logo A2.png1.00
Arma 2
Logo A1 black.png1.00
Arma
ofpe logo.png1.00
Operation Flashpoint: Elite
ofpr version.gif1.99
Operation Flashpoint: Resistance / Arma: Cold War Assault
Logo A0.png1.46
Operation Flashpoint
tkoh logo small.png1.00
Take On Helicopters

Subcategories

This category has the following 10 subcategories, out of 10 total.

A

D

E

F

S