Difference between revisions of "Component: Airplane Landing Gear (Scenarios)"
From Flowcode Help
Jump to navigationJump to search| Line 15: | Line 15: | ||
A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear. | A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear. | ||
| − | ==Component | + | ==Component Source Code== |
| − | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_LandingGearComponent_v002.fcfx FC_Comp_Source_LandingGearComponent_v002.fcfx] | |
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
''No detailed description exists yet for this component'' | ''No detailed description exists yet for this component'' | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 208: | Line 212: | ||
| 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]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|} | |} | ||
Revision as of 17:48, 9 November 2022
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Scenarios |
Contents
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 for the component source code: 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
Downloadable macro reference
| FrontDoors | |
| Will allow the front doors to open. | |
| Direction | |
| Drops the door down or close them. 0 = Close 1 = Open | |
| Return | |
| RearDoorLocks | |
| Will unlock or lock the rear doors | |
| OpenOrClose | |
| Open =1 Close =0 | |
| Return | |
| 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 | |
| Return | |
| FrontDoorLocks | |
| Will lock or unlock the front doors depending on the number given to the paremeter. | |
| OpenOrClose | |
| Open =1 Close=0 | |
| Return | |
| LandingGear | |
| Retracts and drops the landing gear. | |
| Direction | |
| Drop the wheel down or retracts them. 0 = Retracts 1 = Drop | |
| Return | |
| 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. | |
| Return | |
| RearDoors | |
| Will allow the rear door to open | |
| Direction | |
| Drop the door down or close them. 0 = Close 1 = Open | |
| Return | |
| 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. | |
| Return | |
Property reference
| Properties |