Jump to content

Component: Airplane Landing Gear (Scenarios): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable""
Line 73: Line 73:


===FrontDoorCloseSwitch===
===FrontDoorCloseSwitch===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 87: Line 87:


===FrontDoorLocks===
===FrontDoorLocks===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 106: Line 106:


===FrontDoorOpenSwitch===
===FrontDoorOpenSwitch===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 120: Line 120:


===FrontDoors===
===FrontDoors===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 139: Line 139:


===LandingGear===
===LandingGear===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 158: Line 158:


===LandingGearDownSwitch===
===LandingGearDownSwitch===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 172: Line 172:


===LandingGearUpSwitch===
===LandingGearUpSwitch===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 186: Line 186:


===RearDoorCloseSwitch===
===RearDoorCloseSwitch===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 200: Line 200:


===RearDoorLocks===
===RearDoorLocks===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 219: Line 219:


===RearDoorOpenSwitch===
===RearDoorOpenSwitch===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 233: Line 233:


===RearDoors===
===RearDoors===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
Line 253: Line 253:
==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" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]

Revision as of 14:15, 13 July 2026

Author Matrix TSL
Version 1.0
Category Scenarios


Airplane Landing Gear component

A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_LandingGearComponent_v002.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_LandingGearComponent_v002.fcfx

Detailed description

No detailed description exists yet for this component

Examples

There is a detailed walk through of the scenario detailed at the link below to go with this component.

Airplane Landing Gear Scenario






Macro reference

FrontDoorCloseSwitch

FrontDoorCloseSwitch
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 
- BYTE Return


FrontDoorLocks

FrontDoorLocks
Will lock or unlock the front doors depending on the number given to the paremeter. 
- BYTE OpenOrClose
Open =1 Close=0 
- VOID Return


FrontDoorOpenSwitch

FrontDoorOpenSwitch
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 
- BYTE Return


FrontDoors

FrontDoors
Will allow the front doors to open. 
- BYTE Direction
Drops the door down or close them. 0 = Close 1 = Open 
- VOID Return


LandingGear

LandingGear
Retracts and drops the landing gear. 
- BYTE Direction
Drop the wheel down or retracts them. 0 = Retracts 1 = Drop 
- VOID Return


LandingGearDownSwitch

LandingGearDownSwitch
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 
- BYTE Return


LandingGearUpSwitch

LandingGearUpSwitch
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 
- BYTE Return


RearDoorCloseSwitch

RearDoorCloseSwitch
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.  
- BYTE Return


RearDoorLocks

RearDoorLocks
Will unlock or lock the rear doors  
- BYTE OpenOrClose
Open =1 Close =0 
- VOID Return


RearDoorOpenSwitch

RearDoorOpenSwitch
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.  
- BYTE Return


RearDoors

RearDoors
Will allow the rear door to open  
- BYTE Direction
Drop the door down or close them. 0 = Close 1 = Open 
- VOID Return


Property reference

Properties