Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:1.70

Description

Description:

Limits the climb / dive speeds for non-

physX

PhysX aircraft that are controlled by an AI pilot.

Note: Not available in

Versions 2

V2.0 -

3

V3.19.

Syntax

Syntax:aircraft setMaxDive vspeed
Parameters:
  • aircraft: Object - AI-controlled plane or helicopter
.
  • (
Usage
  • usage with other types of vehicles
will
  • may crash VBS
!
  • ).
  • vspeed: Number - Maximum vertical speed (in m/sec). Any positive value
will affect climb, as well as
  • affects climb and dive speeds. Any negative value
will
  • re-
enable
  • 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