missileState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |branch1= dev |gr1= Weapons |descr= Returns engine and target lock states of the given guided missile. |s1= missileState munition |p1= munition: Object - missile |r1= Array - in format [engineState, lockState], where:<br> * engineState: String - one of the "INIT", "THRUST", "FLY" or "".<br> * lockState: String - one of the "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or "". |x1= <sqf>_state =...")
 
No edit summary
Line 13: Line 13:
|p1= munition: [[Object]] - missile
|p1= munition: [[Object]] - missile


|r1= [[Array]] - in format [engineState, lockState], where:<br>
|r1= [[Array]] - in format [engineState, lockState, flightState], where:<br>
* engineState: [[String]] - one of the "INIT", "THRUST", "FLY" or "".<br>
* engineState: [[String]] - one of the "INIT", "THRUST", "FLY" or "".<br>
* lockState: [[String]] - one of the "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or "".
* lockState: [[String]] - one of the "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or "".
* flightState: [[String]] - on of the "DEFAULT", "DIRECT", "TOPDOWN", "LOALDISTANCE", "LOALALTITUDE", "OVERFLY", "CRUISE" or "". LOAL stands for "Lock-on after launch".


|x1= <sqf>_state = missileState missile1;</sqf>
|x1= <sqf>_state = missileState missile1;</sqf>

Revision as of 23:04, 3 July 2024

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 - on 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