RequiresTargetingActivation

Tracking Issue: #476

When playing with a controller (gamepad), some abilities allow the player to press (A) again to aim the ability, which allows them to rotate the camera with the buttons that would normally cycle the ability selection.

In base game this behaviour was hardcoded to work only for a few specific Targeting Methods. Highlander replaces the original implementation with a the RequiresTargetingActivation config array that takes values from XComGame.ini config file. This potentailly allows mods to use this behavior for custom Targeting Methods that do not extend any of the Targeting Methods that are already configured to use this behavior.

[XComGame.CHHelpers]
+RequiresTargetingActivation=X2TargetingMethod_Grenade
+RequiresTargetingActivation=X2TargetingMethod_Cone

Source code references