ACE3/addons/aircraft/functions
Fabio Schick aecafe673b
Aircraft - Drone "Follow Unit" Waypoint Action (#9889)
* Fix "Recharge" interaction showing on destroyed drone

* Add "Follow Unit" action

* Improve condition check

* UGV Following via PFH that updates WP Pos

* Use HOLD WP for all Follow Actions

Since FOLLOW WP would stop working on AI Soldiers after some time.

* Allow selecting a follow distance

* Follow Distance under separate interaction, just like Loiter Alt

Only visible when a HOLD waypoint is selected, which is pretty much always going to have been created by the "Follow" interaction.

* Localize "Follow" Interaction

* Show structuredText Hint when following/changing distance

* Variable for cursorTarget Reuse

* Better isKindOf condition use

* Make "Ship"-kind vehicles followable

* Clean up Comments and systemChat Debugs

* Comment explanation for custom PFH solution over vanilla "Follow"-WP

* Trim excess brackets from setWaypointPosition argument

Co-Authored-By: johnb432 <58661205+johnb432@users.noreply.github.com>

* Broader determination for UGV follow distances

Co-Authored-By: PabstMirror <pabstmirror@gmail.com>

* Prevent infinite PFH loop if follow target is deleted

Co-Authored-By: PabstMirror <pabstmirror@gmail.com>

* Delete Follow WP when PFH terminates

* The ternary rules

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Various requested changes

Co-Authored-By: johnb432 <58661205+johnb432@users.noreply.github.com>

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-07-02 02:16:48 -07:00
..
fnc_canShowEject.sqf General - Change count to forEach where appropriate (#9890) 2024-04-04 08:15:26 -03:00
fnc_droneAddActions.sqf Aircraft - Drone "Follow Unit" Waypoint Action (#9889) 2024-07-02 02:16:48 -07:00
fnc_droneGetTurretTargetPos.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_droneModifyWaypoint.sqf General - Replace toLower with toLowerANSI where applicable (#9790) 2024-03-07 22:08:13 +01:00
fnc_droneSetWaypoint.sqf Aircraft - Drone "Follow Unit" Waypoint Action (#9889) 2024-07-02 02:16:48 -07:00
fnc_initEjectAction.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00