Scripting Topics – Category

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Navbox/RVScripting}}" to "{{Table/RVScripting}}")
 
(52 intermediate revisions by 19 users not shown)
Line 1: Line 1:
[[Category:Armed Assault: Editing]]
{| style="width: 100%"
[[Category:Operation Flashpoint Elite: Editing]]
| style="vertical-align: top; width: 55%" | Scripting is a very important tool used to create good missions or addons.<br>
[[category:Operation Flashpoint: Editing]]
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.  
===Introduction===
Scripting is a very important tool in creating good missions or addons. Scripts can be excuted from a [[Triggers|trigger]], or in the init field of a [[player]] or [[object]], or even executed inside other scripts. A script is a simple text file, with an extension of .sqs.  


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


this [[exec]] "myscript.sqs"
{{Table/RVScripting}}


As there is a very keen interest in the newly added '''Armed Assault''' scripting commands, the following list was created so that fans could easily find these new commands. See [[:Category:Armed Assault: New Scripting Commands List|New Scripting Commands List]]
{{GameCategory|ofp| Editing}}
 
{{GameCategory|ofpe|Editing}}
===Command Reference===
{{GameCategory|arma1| Editing}}
The links below take you to the OFP Scripting Commands and related information.
{{GameCategory|arma2|Editing}}
 
{{GameCategory|arma3|Editing}}
----
[[Category:Take On Helicopters: Editing]]
 
[[:Category:Scripting Commands|Scripting Commands]] - '''Complete''' List of All Scripting Commands.
 
[[:Category:Scripting Commands ArmA|Scripting Commands for ArmA]] - Scripting Commands for '''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'''.
 
 
----
 
<center>
[[:Category:Arrays|Arrays]] | [[CfgVehicles]] | [[:Category: Types|Types]] | [[:Category: Weapons|Weapons]] | [[:Category: Common Scripting Errors|Common Scripting Errors]]
</center>
 
----
 
===History===
 
Original information came from the [http://www.flashpoint1985.com/docs/comref_102002/comref.html Operation Flashpoint Command Reference (COMREF)], additional information such as examples and comments have been added to this Wiki version.

Latest revision as of 08:35, 5 May 2021

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.


Real Virtuality Scripting
Terminology ArgumentIdentifierExpressionOperandOperatorsParameterStatementVariablesMagic VariablesFunction
Syntax SQF SyntaxSQS SyntaxOrder of PrecedenceControl Structures
Tutorials Introduction to Arma ScriptingCode Best PracticesExample CodeCode OptimisationMission OptimisationMultiplayer ScriptingSQS → SQF
Data Types General ArrayBooleanCodeConfigControlDiary RecordDisplayEden EntityEden IDEditor ObjectGroupHashMapLocationNamespaceNumberObjectScript Handle
SideStringStructured TextTaskTeamTeam MemberNaNAnythingNothingVoidSwitch TypeWhile TypeWith TypeFor TypeIf Type
Special Arrays Array of Eden EntitiesColorDateParticleArrayPositionUnit Loadout ArrayVector3DWaypoint
Scripting Commands Scripting CommandsScripting Commands by Functionality
Scripting Functions Scripting FunctionsFunctions by Functionality
Debugging Common Scripting ErrorsDebugging TechniquesException handling
Advanced Event ScriptsEvent HandlersPreProcessor CommandsInitialisation OrderPerformance Profiling

Subcategories

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

A

D

E

F

S