Page tree

Versions Compared

Key

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

Image Modified



Introduced in

Version:1.00

Description

Description:

Returns the current state of the given Scud launcher.

The following states are possible:

  • 0 - No activity
  • 1 - Launch preparation
  • 2 - Launch prepared
  • 3 - Ignition
  • 4 - Launched

To control a Scud, use the appropriate scudLaunch.

Syntax

Syntax:scudState launcher
Parameters:
  • launcher: Object - Vehicle with Scud missile.
Return Value:Number - Current state of the launcher. Non-integer values indicate intermediate states.

Examples

Examples:
if (scudState _scudOne >= 3) then {hint "RUN!!!!"}

Additional Information

See also: scudLaunch
Multiplayer:
 

Problems:
 

Notes