Code Commands: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
  [[exitWith]] {[[Code]]} is one example
  [[exitWith]] {[[Code]]} is one example


Because of the important change between the Armed Assault engine and previous versions (CWR / Resistance), the list is presented here.
Because of the important change between the Armed Assault engine and previous versions (CWC / Resistance), the list is presented here.


Essentially earlier engines accepted code as a [[String]] using quotation marks, ''or'' using brace, whereas Arma '''specifically''' requires brace.
Essentially earlier engines accepted code as a [[String]] using quotation marks, ''or'' using brace, whereas Arma '''specifically''' requires brace.

Revision as of 13:45, 5 September 2007

Code commands are any commands from the scripting language expecting a coded statement string as one of their paramaters

exitWith {Code} is one example

Because of the important change between the Armed Assault engine and previous versions (CWC / Resistance), the list is presented here.

Essentially earlier engines accepted code as a String using quotation marks, or using brace, whereas Arma specifically requires brace.

?(condition) : Code