Difference between revisions of "Component: Airplane Landing Gear (Scenarios)"
Line 22: | Line 22: | ||
There is a scenario detailed here to go with this component. | There is a scenario detailed here to go with this component. | ||
− | [Airplane_Landing_Gear|Testing this] | + | [[Airplane_Landing_Gear|Testing this]] |
Revision as of 14:22, 9 May 2018
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Scenarios |
Contents
Airplane Landing Gear component
A simulation of an Airplane Landing Gear containing, switches, locking mechanisms and retracting landing gear.
Examples
There is a scenario detailed here to go with this component.
Downloadable macro reference
This component does not contain any downloadable macros
Simulation macro reference
FrontDoors
Will allow the front doors to open.
Parameters
- BYTE Direction
- Drops the door down or close them. 0 = Close 1 = Open
Return value
- This call does not return a value
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
Parameters
- This macro has no parameters
Return value
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
Parameters
- This macro has no parameters
Return value
RearDoorLocks
Will unlock or lock the rear doors
Parameters
- BYTE OpenOrClose
- Open =1 Close =0
Return value
- This call does not return a value
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
Parameters
- This macro has no parameters
Return value
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
Parameters
- This macro has no parameters
Return value
FrontDoorLocks
Will lock or unlock the front doors depending on the number given to the paremeter.
Parameters
- BYTE OpenOrClose
- Open =1 Close=0
Return value
- This call does not return a value
LandingGear
Retracts and drops the landing gear.
Parameters
- BYTE Direction
- Drop the wheel down or retracts them. 0 = Retracts 1 = Drop
Return value
- This call does not return a value
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.
Parameters
- This macro has no parameters
Return value
RearDoors
Will allow the rear door to open
Parameters
- BYTE Direction
- Drop the door down or close them. 0 = Close 1 = Open
Return value
- This call does not return a value
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.
Parameters
- This macro has no parameters
Return value
Property reference
This component does not contain any properties