Component: Lift (Misc Shapes)

From Flowcode Help
Revision as of 14:41, 16 January 2023 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Ben Rowland
Version 1.0
Category Misc Shapes


Lift component

Simple lift created using panel primitives with functioning doors. Includes camera controls to simplify simulations.

Component Source Code

Please click here for the component source code: FC_Comp_Source_Lift.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Downloadable macro reference

Fc9-comp-macro.png GetCameraPosition
Gets the location of the camera objects to allow for automated 3D panel inside or outside tracking and views. Returns a Flowcode handle variable containing the position. 
Fc9-u8-icon.png - BYTE View
Range: 0-1 Where 0 = Inside and 1 = Outside 
Fc9-h32-icon.png - HANDLE Return


Fc9-comp-macro.png ControlDoor
Controls the lift door.  
Fc9-bool-icon.png - BOOL State
State to move to 0=Open 1=Closed 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png CheckDoor
Checks to see if the door is open, closed or moving. Returns 1 if the door is closed or 0 if the door is open. Returns 255 if the door is moving. 
Fc9-u8-icon.png - BYTE Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Viewpoint
Some useful camera positions 
Fc9-type-21-icon.png Door Movement Period
Amount of time in milliseconds for the doors to open and close.