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



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