missileState: Difference between revisions
Lou Montana (talk | contribs) m (Fix) |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 12: | Line 12: | ||
|p1= munition: [[Object]] - missile | |p1= munition: [[Object]] - missile | ||
|r1= [[Array]] | |r1= [[Array]] with [engineState, lockState, flightState]: | ||
* engineState: [[String]] - one of "INIT", "THRUST", "FLY" or "" | * engineState: [[String]] - one of "INIT", "THRUST", "FLY" or "" | ||
* lockState: [[String]] - one of "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or "" | * lockState: [[String]] - one of "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or "" | ||
Revision as of 09:50, 1 January 2026
Description
- Description:
- Get the provided guided missile's engine, target lock and flight profile states.
- Groups:
- Weapons
Syntax
- Syntax:
- missileState munition
- Parameters:
- munition: Object - missile
- Return Value:
- Array with [engineState, lockState, flightState]:
- engineState: String - one of "INIT", "THRUST", "FLY" or ""
- lockState: String - one of "MANUAL", "LOCKED", "LOST", "INITIAL", "SEEKING" or ""
- flightState: String - one of "DEFAULT", "DIRECT", "TOPDOWN", "LOALDISTANCE", "LOALALTITUDE", "OVERFLY", "CRUISE" or "" (LOAL stands for "Lock-On After Launch")
Examples
- Example 1:
- Example 2:
- _myHelicopter addEventHandler ["Fired", { private _projectile = _this select 6; // or params ["", "", "", "", "", "", "_projectile"]; systemChat str missileState _projectile; }];
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note