INDEX

[MACROS] (start a block of macro assignments)


Purpose:

Indicates the portion of the script file that is to contain macro assignments.

Used with:

Any ThrustMaster DirectConnect device

What are macros?

Macros are simply control assignments that are given unique labels (names), and put in the [MACROS] section of the script file. The label then can be used in the [CONFIG] section to reference the assignment.

If a macro has a well-chosen label, then the assigned macro label helps to make the control action clear to someone reading the script file. A point needs to be made that control assignments can be made with or without the use of macro labels. There's no performance advantage using one method or the other in setting up the script file -- choosing which method to use is more a matter of style.

Entry:

[MACROS]
macro_assignment_1
macro_assignment_2
:
:
macro_assignment_n
[END]

Show me how to assign game actions to macros
See a sample game script file without macros
See the same game script file with macros

Restrictions, notes:

  1. No terminating period ( . ) is needed after the [MACROS] tag.
  2. An [END] tag must be used to terminate the [MACROS] block.
  3. Nesting of blocks is not permitted. Example of illegal nesting.
  4. Multiple [MACROS]/[END] blocks can be the same script file.


prev home next