User Tools

Site Tools


arma:scripting

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
arma:scripting [2009-04-01 00:27]
snakeman fixed code formatting. added live execVM tip.
arma:scripting [2009-04-16 11:52]
snakeman added more scripting stuff.
Line 6: Line 6:
  
 In a nutshell you never ever should create ArmA SQS content anymore, always create only SQF scripts. In a nutshell you never ever should create ArmA SQS content anymore, always create only SQF scripts.
 +
 +
 +====== Introduction to ArmA scripting ======
 +
 +During mission editing and addon editing you may come across situations where actions or features you would like to have in your mission or addon cannot be accomplished using the basic (or even the more advanced) capabilities of the mission editor or within config files (in the case of addons). Some examples of this might be really cinematic cutscenes in missions or special animations for an addon.
 +
 +The solution to this is to take advantage of the game-engines ability to call on an even more advanced feature known as scripting. Armed Assault'​s scripting language gives you more direct control of core game commands. With any combination of these scripting commands you can then create custom processes that meet the specific needs of your mission or addon. ​
 +
 +
 +===== Terms =====
 +
 +Before getting started, you should understand the meaning of some of these terms.
 +
 +**Script**
 +
 +When speaking about a script, it is generally considered a .sqs file, the same can be said for functions, since functions are a kind of script as well, the file ends with a .sqf. Both file types can be edited as a plain text file. 
 +
 +**Game Engine**
 +
 +The core program of the game which reads and executes your scripting commands at run time. 
  
  
arma/scripting.txt ยท Last modified: 2011-08-15 09:30 by snakeman