SQS to SQF conversion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added category.)
m (Removed old link)
Line 127: Line 127:


* [[SQF syntax]]
* [[SQF syntax]]
* [http://seit.unsw.adfa.edu.au/coursework/ZEIT2305/Resources/SQF_Tutorial/basic_sqf.HTML The basics of SQF]


[[Category:Syntax]]
[[Category:Syntax]]
[[Category:Scripting Topics]]
[[Category:Scripting Topics]]

Revision as of 14:51, 17 January 2018

What's different in SQF

  • Every command has to end with semicolon.
  • SQF does not have a goto command anymore.
  • SQF commands can span several lines if they are enclosed in brackets.
  • SQF can return a variable, where SQS cannot.

Replacing

Comment

Template:Box File Template:Box File

Condition

Template:Box File Template:Box File

Delay

Template:Box File Template:Box File

Conditional command

Template:Box File Template:Box File

Multi-conditional command

Template:Box File Template:Box File

Cycle

Template:Box File Template:Box File

Cycle with step

Template:Box File Template:Box File

Structured conditional command

Template:Box File Template:Box File

Exiting

Template:Box File Template:Box File

See Also