Jump to content

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

From Flowcode Help
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead""
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
Line 76: Line 76:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 90: Line 90:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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" | '''FrontDoorLocks'''
|-
|-
| colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter. 
| colspan="2" | Will lock or unlock the front doors depending on the number given to the paremeter. 
Line 109: Line 109:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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;" | '''FrontDoorOpenSwitch'''
| width="90%" class="mtx-class-macrohead" | '''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 123: Line 123:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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;" | '''FrontDoors'''
| width="90%" class="mtx-class-macrohead" | '''FrontDoors'''
|-
|-
| colspan="2" | Will allow the front doors to open. 
| colspan="2" | Will allow the front doors to open. 
Line 142: Line 142:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 161: Line 161:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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" | '''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 
| 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 175: Line 175:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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" | '''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 
| 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 
Line 189: Line 189:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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" | '''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.  
| 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 203: Line 203:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 222: Line 222:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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;" | '''RearDoorOpenSwitch'''
| width="90%" class="mtx-class-macrohead" | '''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.  
| 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 236: Line 236:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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 256: Line 256:
|-
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[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'''  
|-
|-
|}
|}

Latest revision as of 14:22, 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