Difference between revisions of "Component: Airplane Landing Gear (Scenarios)"
(XML import - Pre 8.0 release) |
|||
Line 19: | Line 19: | ||
==Examples== | ==Examples== | ||
− | |||
There is a detailed walk through of the scenario detailed at the link below to go with this component. | There is a detailed walk through of the scenario detailed at the link below to go with this component. | ||
[[Airplane_Landing_Gear|Airplane Landing Gear Scenario]] | [[Airplane_Landing_Gear|Airplane Landing Gear Scenario]] | ||
− | |||
==Downloadable macro reference== | ==Downloadable macro reference== |
Revision as of 14:51, 22 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 detailed walk through of the scenario detailed at the link below to go with this component.
Airplane Landing Gear Scenario
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