missileState

From Bohemia Interactive Community
Revision as of 00:05, 4 July 2024 by Killzone Kid (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns engine and target lock states of the given guided missile.
Groups:
Weapons

Syntax

Syntax:
missileState munition
Parameters:
munition: Object - missile
Return Value:
Array - in format [engineState, lockState, flightState], where:
  • engineState: String - one of the "INIT", "THRUST", "FLY" or "".
  • lockState: String - one of the "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or "".
  • flightState: String - one of the "DEFAULT", "DIRECT", "TOPDOWN", "LOALDISTANCE", "LOALALTITUDE", "OVERFLY", "CRUISE" or "". LOAL stands for "Lock-on after launch".

Examples

Example 1:
_state = missileState missile1;

Additional Information

See also:
missileTargetPos setMissileTargetPos setMissileTarget missileTarget

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note