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

From Flowcode Help
Jump to navigationJump to search
Line 20: Line 20:
  
 
==Detailed description==
 
==Detailed description==
 +
 +
  
  
Line 28: Line 30:
  
 
==Examples==
 
==Examples==
 +
 +
  
  
Line 38: Line 42:
 
[[Airplane_Landing_Gear|Airplane Landing Gear Scenario]]
 
[[Airplane_Landing_Gear|Airplane Landing Gear Scenario]]
  
==Downloadable macro reference==
+
==Macro reference==
  
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 14:12, 20 January 2023

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 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

Macro reference

Fc9-comp-macro.png FrontDoors
Will allow the front doors to open. 
Fc9-u8-icon.png - BYTE Direction
Drops the door down or close them. 0 = Close 1 = Open 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png 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 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png 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 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png RearDoorLocks
Will unlock or lock the rear doors  
Fc9-u8-icon.png - BYTE OpenOrClose
Open =1 Close =0 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png 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 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png 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 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png FrontDoorLocks
Will lock or unlock the front doors depending on the number given to the paremeter. 
Fc9-u8-icon.png - BYTE OpenOrClose
Open =1 Close=0 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png LandingGear
Retracts and drops the landing gear. 
Fc9-u8-icon.png - BYTE Direction
Drop the wheel down or retracts them. 0 = Retracts 1 = Drop 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png 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.  
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png RearDoors
Will allow the rear door to open  
Fc9-u8-icon.png - BYTE Direction
Drop the door down or close them. 0 = Close 1 = Open 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png 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.  
Fc9-u8-icon.png - BYTE Return



Property reference

Fc9-prop-icon.png Properties