Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.70

Description

Description:

Limits the climb / dive speeds for non-PhysX aircraft that are controlled by an AI pilot.

Note: Not available in V2.0 - V3.19.

Syntax

Syntax:aircraft setMaxDive vspeed
Parameters:
  • aircraft: Object - AI-controlled plane or helicopter (usage with other types of vehicles may crash VBS).
  • vspeed: Number - Maximum vertical speed (in m/sec). Any positive value affects climb and dive speeds. Any negative value re-enables the defaults. The actual vertical speed may differ from the defined value by up to 5 m/sec.
Return Value:Nothing

Examples

Examples:
plane1 setMaxDive 20;

Additional Information

See also: getMaxDive, setMaxBank
Multiplayer:
Problems:

Notes