Difference between revisions of "Fsx connected"

From Sim Innovations Wiki
Jump to navigation Jump to search
(Created page with "== Description == '''connected = fsx_connected()''' '''fsx_connected''' is used to check if there is an active connected with FSX or Prepar3d. == Return value == {| class...")
 
Line 11: Line 11:
! Argument !! Type !! Description
! Argument !! Type !! Description
|-
|-
| '''connected''' || ''Boolean'' || True is connected to the hardware, otherwise false.
| '''connected''' || ''Boolean'' || True is connected, otherwise false.
|}
|}



Revision as of 07:30, 15 May 2019

Description

connected = fsx_connected()

fsx_connected is used to check if there is an active connected with FSX or Prepar3d.

Return value

Argument Type Description
connected Boolean True is connected, otherwise false.

Arguments

This function requires no arguments

Example

if fsx_connected() then
  print("We are connected to FSX of Prepar3d!")
end