SQS to SQF conversion: Difference between revisions

From Bohemia Interactive Community
Category: Syntax
(Article about difference between SQS and SQF. I'm not sure with headings (Command with condition, ...), so feel free to correct it.)
 
Line 49: Line 49:
  #SKIP
  #SKIP
  COMMAND_1
  COMMAND_1
  "END"
  #END
}}
}}
{{Box_File|SQF|color_dark=#78AF78|color_light=#f2fff2|
{{Box_File|SQF|color_dark=#78AF78|color_light=#f2fff2|

Revision as of 17:26, 1 March 2007

What's different in SQF

  • Every command have to be ended with semicolon.
  • Cycles are limited to 10 000 loops.

Replacing

Comment

Template:Box File Template:Box File

Condition

Template:Box File Template:Box File

Delay

Template:Box File Template:Box File

Command with condition

Template:Box File Template:Box File

Structured command with condition

Template:Box File Template:Box File

Cycle

Template:Box File Template:Box File

Cycle with step

Template:Box File Template:Box File

Structured command with conditions

Template:Box File Template:Box File