Page MenuHomeFeedback Tracker

Request: new command 'getTargetLock' to expand upon current 'playerTargetLock' command
New, NormalPublic

Description

Currently, you can spectate different vehicles and query the 'playerTargetLock' command to get the results for each vehicle. It is not possible to do this without spectating as the playerTargetLock does not take any parameters. Request a command 'getTargetlock unit' to allow querying different units to similar effect.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Set a vehicle of any kind where the gunner AI is given a target (but holds fire).
Alt-S to spectate the gunner and run playerTargetLock command in debug console.
Command will return info for the spectated unit and not the original player unit.

Additional Information

This would be very handy for controlling AI 'fire' or 'attack' behavior in vehicles. Some weapon types, especially missiles or guided munitions, have limits where the AI can and will target an object or vehicle but there is no 'lock' due to no heat signature or other environments. It would be useful to know there is no 'lock' to conserve the firing of the weapon. Otherwise, the only option is to leave it up to the AI to decide when to fire which is often non-existent or poorly implemented (AI spam fires on a target).

Event Timeline