Difference between revisions of "MD-500D/SL Features"

From
Jump to: navigation, search
(Macros and Appliers)
(Invoking)
Line 11: Line 11:
 
  apply seats-white
 
  apply seats-white
  
This
+
This will look for the notecard "*apply:seats-white" in the aircraft inventory, and execute commands from it.  Similarly, use the command:
 +
 
 +
exec auto
 +
 
 +
to invoke commands from the notecard "*macro:auto".
 +
 
 +
=== Commands ===

Revision as of 19:52, 14 March 2026

SECTION 13. SL Features

1 Macros and Appliers

Macros and appliers can be used to execute fixed sequences of commands. The commands are written in notecards with specific prefixes, "*apply:" for appliers, and "*macro:" for macros. Both types of notecards are functionally equivalent and differ only in the command used to invoke them, and the intended use. Appliers are intended to set texture and otherwise modify the visual appearance of the aircraft, while macros are intended to activate switches and controls to put the aircraft into a desired state.

1.1 Invoking

To invoke an applier, use the command:

apply seats-white

This will look for the notecard "*apply:seats-white" in the aircraft inventory, and execute commands from it. Similarly, use the command:

exec auto

to invoke commands from the notecard "*macro:auto".

1.2 Commands