playerTargetLock: Difference between revisions
m (2.16 -> 2.18) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Line 12: | Line 10: | ||
|s1= [[playerTargetLock]] | |s1= [[playerTargetLock]] | ||
|r1= [[Array]] | |r1= [[Array]] with [target, lockValue, config] | ||
* target: [[Object]] - the locked object | * target: [[Object]] - the locked object | ||
* lockValue: [[Number]] - in range 0..1 where 1 is fully locked | * lockValue: [[Number]] - in range 0..1 where 1 is fully locked | ||
Latest revision as of 10:01, 2 January 2026
Description
- Description:
- Get the local player's current locked target (with weapons that can lock on).
- Groups:
- Object Manipulation
Syntax
- Syntax:
- playerTargetLock
- Return Value:
- Array with [target, lockValue, config]
Examples
- Example 1:
- Example 2:
- playerTargetLock; // returns [objNull, 0, configNull] if no lock is being done
Additional Information
- See also:
- cursorTarget
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note