|
|
| (9 intermediate revisions by 2 users not shown) |
| Line 17: |
Line 17: |
| ==Component Source Code== | | ==Component Source Code== |
|
| |
|
| Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_LandingGearComponent_v002.fcfx FC_Comp_Source_LandingGearComponent_v002.fcfx] | | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_LandingGearComponent_v002.fcfx FC_Comp_Source_LandingGearComponent_v002.fcfx] |
|
| |
|
| Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LandingGearComponent_v002.fcfx FC_Comp_Source_LandingGearComponent_v002.fcfx] | | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_LandingGearComponent_v002.fcfx FC_Comp_Source_LandingGearComponent_v002.fcfx] |
| Line 33: |
Line 33: |
|
| |
|
|
| |
|
| ''No detailed description exists yet for this component''
| |
|
| |
|
| ==Examples==
| |
|
| |
|
|
| |
|
|
| |
|
| | ''No detailed description exists yet for this component'' |
|
| |
|
| | ==Examples== |
|
| |
|
|
| |
|
| Line 48: |
Line 48: |
|
| |
|
|
| |
|
| There is a detailed walk through of the scenario detailed at the link below to go with this component.
| |
|
| |
|
| [[Airplane_Landing_Gear|Airplane Landing Gear Scenario]]
| |
|
| |
|
| ==Macro reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoors'''
| |
| |-
| |
| | colspan="2" | Will allow the front doors to open.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drops the door down or close them. 0 = Close 1 = Open
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorCloseSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearDownSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
| | There is a detailed walk through of the scenario detailed at the link below to go with this component. |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| | [[Airplane_Landing_Gear|Airplane Landing Gear Scenario]] |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorLocks'''
| |
| |-
| |
| | colspan="2" | Will unlock or lock the rear doors
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | OpenOrClose
| |
| |-
| |
| | colspan="2" | Open =1 Close =0
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearUpSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorOpenSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorLocks'''
| |
| |-
| |
| | colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | OpenOrClose
| |
| |-
| |
| | colspan="2" | Open =1 Close=0
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGear'''
| |
| |-
| |
| | colspan="2" | Retracts and drops the landing gear.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drop the wheel down or retracts them. 0 = Retracts 1 = Drop
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
| |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorCloseSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoors'''
| |
| |-
| |
| | colspan="2" | Will allow the rear door to open
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drop the door down or close them. 0 = Close 1 = Open
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorOpenSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
| ==Property reference==
| |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
| |
| |-
| |
| |}==Macro reference==
| |
|
| |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoors'''
| |
| |-
| |
| | colspan="2" | Will allow the front doors to open.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drops the door down or close them. 0 = Close 1 = Open
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
| | ==Macro reference== |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===FrontDoorCloseSwitch=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorCloseSwitch''' | | | width="90%" class="mtx-class-macrohead" | '''FrontDoorCloseSwitch''' |
| |- | | |- |
| | colspan="2" | Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended | | | colspan="2" | Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended |
| Line 264: |
Line 86: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===FrontDoorLocks=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearDownSwitch''' | | | width="90%" class="mtx-class-macrohead" | '''FrontDoorLocks''' |
| |- | | |- |
| | colspan="2" | Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| | | colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter. |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorLocks'''
| |
| |-
| |
| | colspan="2" | Will unlock or lock the rear doors | |
| |- | | |- |
| |- | | |- |
| Line 288: |
Line 98: |
| | width="90%" | OpenOrClose | | | width="90%" | OpenOrClose |
| |- | | |- |
| | colspan="2" | Open =1 Close =0 | | | colspan="2" | Open =1 Close=0 |
| |- | | |- |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| Line 295: |
Line 105: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===FrontDoorOpenSwitch=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearUpSwitch''' | | | width="90%" class="mtx-class-macrohead" | '''FrontDoorOpenSwitch''' |
| |-
| |
| | colspan="2" | Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorOpenSwitch'''
| |
| |- | | |- |
| | colspan="2" | Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended | | | colspan="2" | Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended |
| Line 321: |
Line 119: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===FrontDoors=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorLocks''' | | | width="90%" class="mtx-class-macrohead" | '''FrontDoors''' |
| |- | | |- |
| | colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter. | | | colspan="2" | Will allow the front doors to open. |
| |- | | |- |
| |- | | |- |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE | | | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE |
| | width="90%" | OpenOrClose | | | width="90%" | Direction |
| |- | | |- |
| | colspan="2" | Open =1 Close=0 | | | colspan="2" | Drops the door down or close them. 0 = Close 1 = Open |
| |- | | |- |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID |
| Line 339: |
Line 138: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===LandingGear=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGear''' | | | width="90%" class="mtx-class-macrohead" | '''LandingGear''' |
| |- | | |- |
| | colspan="2" | Retracts and drops the landing gear. | | | colspan="2" | Retracts and drops the landing gear. |
| Line 357: |
Line 157: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===LandingGearDownSwitch=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorCloseSwitch''' | | | width="90%" class="mtx-class-macrohead" | '''LandingGearDownSwitch''' |
| |- | | |- |
| | colspan="2" | Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement. | | | colspan="2" | Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended |
| |- | | |- |
| |- | | |- |
| Line 370: |
Line 171: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===LandingGearUpSwitch=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoors''' | | | width="90%" class="mtx-class-macrohead" | '''LandingGearUpSwitch''' |
| |- | | |- |
| | colspan="2" | Will allow the rear door to open
| | | colspan="2" | Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drop the door down or close them. 0 = Close 1 = Open
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorOpenSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement. | |
| |- | | |- |
| |- | | |- |
| Line 401: |
Line 185: |
|
| |
|
|
| |
|
| | | ===RearDoorCloseSwitch=== |
| | | {| class="mtx-class-macrotable wikitable" |
| ==Property reference== | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | | width="90%" class="mtx-class-macrohead" | '''RearDoorCloseSwitch''' |
| |- | | |- |
| |}==Macro reference==
| | | colspan="2" | Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement. |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoors'''
| |
| |-
| |
| | colspan="2" | Will allow the front doors to open.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drops the door down or close them. 0 = Close 1 = Open
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorCloseSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Front door will touch the collision switch by its original position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended | |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearDownSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Landing Gear will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |- | | |- |
| |- | | |- |
| Line 456: |
Line 199: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===RearDoorLocks=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorLocks''' | | | width="90%" class="mtx-class-macrohead" | '''RearDoorLocks''' |
| |- | | |- |
| | colspan="2" | Will unlock or lock the rear doors | | | colspan="2" | Will unlock or lock the rear doors |
| Line 474: |
Line 218: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===RearDoorOpenSwitch=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGearUpSwitch''' | | | width="90%" class="mtx-class-macrohead" | '''RearDoorOpenSwitch''' |
| |- | | |- |
| | colspan="2" | Test to see if the Landing Gear will touch the collision switch above it. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended | | | colspan="2" | Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement. |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorOpenSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the Back door will touch the collision switch by its final position. If it does, will return true. and stop movement. Assigned variable of a Bool is recommended
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''FrontDoorLocks'''
| |
| |-
| |
| | colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | OpenOrClose
| |
| |-
| |
| | colspan="2" | Open =1 Close=0
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''LandingGear'''
| |
| |-
| |
| | colspan="2" | Retracts and drops the landing gear.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" | Direction
| |
| |-
| |
| | colspan="2" | Drop the wheel down or retracts them. 0 = Retracts 1 = Drop
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
| | |
| | |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorCloseSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the rear door will touch the collision switch by its original position. If it does, will return true. and stop movement.
| |
| |- | | |- |
| |- | | |- |
| Line 549: |
Line 232: |
|
| |
|
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | ===RearDoors=== |
| | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoors''' | | | width="90%" class="mtx-class-macrohead" | '''RearDoors''' |
| |- | | |- |
| | colspan="2" | Will allow the rear door to open | | | colspan="2" | Will allow the rear door to open |
| Line 565: |
Line 249: |
| | width="90%" style="border-top: 2px solid #000;" | ''Return'' | | | width="90%" style="border-top: 2px solid #000;" | ''Return'' |
| |} | | |} |
|
| |
|
| |
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;"
| |
| |-
| |
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''RearDoorOpenSwitch'''
| |
| |-
| |
| | colspan="2" | Test to see if the rear door will touch the collision switch by its final position. If it does, will return true. and stop movement.
| |
| |-
| |
| |-
| |
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| |
| | width="90%" style="border-top: 2px solid #000;" | ''Return''
| |
| |}
| |
|
| |
|
| |
|
| |
|
|
| |
|
| ==Property reference== | | ==Property reference== |
|
| |
|
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | | {| class="mtx-class-macrotable wikitable" |
| |- | | |- |
| | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] |
| | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | | width="90%" class="mtx-class-macrohead" | '''Properties''' |
| |- | | |- |
| |} | | |} |