Fi engine cluster add

From Sim Innovations Wiki
Jump to navigation Jump to search

Description

fi_engine_cluster_id = fi_engine_cluster_add(type)

fi_engine_cluster_add is used to add a flight illusion engine cluster.

Return value

Argument Type Description
fi_engine_cluster_id String This value can be used for further reference.

Arguments

# Argument Type Description
1 type String Gauge type. See Flight Illusion Engine Clusters for available engine clusters.

Example

-- Gauge type is a Robinson R22 engine cluster
fi_engine_cluster_id = fi_engine_cluster_add("R22")

-- Set the position of the first needle to the middle
fi_engine_cluster_prop_set(fi_engine_cluster_id , "NEEDLE_POS_1", 0.5)