SQS to SQF conversion: Difference between revisions

From Bohemia Interactive Community
Category: Syntax
Line 91: Line 91:
  #SKIP_1
  #SKIP_1
  COMMAND_1
  COMMAND_1
  goto "konec"
  goto "END"
  #SKIP_2
  #SKIP_2
  COMMAND_2
  COMMAND_2

Revision as of 21:02, 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