*System() - Wizard Statement

Adds a selectable system to a system group.

Syntax

*System("sys_label", sys_def, "file_name",
                              "help_text", 
                              [sys_num])
*System("None")

Arguments

sys_label
The descriptive label of the system.
Type: label
sys_def
An existing system definition in "file_name".
Type: DefineSystem
file_name
The name of the .mdl file containing the system definition for sys_def.
Type: string
help_text
Additional selection information (not used).
Type: string
sys_num (Optional)
Specifies a system number for the system.
Type: integer

Example

*BeginSystemGroup(sys_body, "Vehicle body")
  *if ( model_type == "Full vehicle" )      
    *System( "Body", sysdef_body,
             "Libs/Models/Body/body1.mdl", 
             "Vehicle body")
  *else()
    *System( "Body fixed to ground", 
             sysdef_body_fix,
             "Libs/Models/Body/body2.mdl", 
             "Vehicle body")
    *System("None")
  *endif()
*EndGroup()

Context

*BeginSystemGroup()

Comments

*System()-Wizard Statement is used to add systems without attachments to the system group. Systems with attachments should be added using a *BeginSystem() block.

The user can add the option of no system by specifying a sys_label of None and omitting all other arguments.