* 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>
* Fix Brackets around code
* Update fnc_handleFired.sqf
* Shouldn't have changed this one
---------
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
* Add uniqueItems function
* Optimize dogtag children actions function
* Optimize getDetonators item search
* Store CfgWeapons lookup in getDetonators
* Update items to use new function
* Update items to use new function 2
* More optimization of uniqueItems function
* Update items to use new function 3
* Optimizations with private, params, and isEqualType
* Fixed tab being used instead of space
* Fixed tabs inserted by notepad++
* More usage of new private syntax and params
- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax
* clean up and formatting