Component: Airplane Landing Gear (Scenarios)

From Flowcode Help
Revision as of 14:22, 9 May 2018 by BenR (talk | contribs)
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category Scenarios


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

Testing this


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

BYTE


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

BYTE


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

BYTE


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

BYTE


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

BYTE


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

BYTE



Property reference

This component does not contain any properties