How-To: Override Which Option Is Chosen
Goal: change which option fires when several are in range, instead of the default focused pick.
The default
Pressing interact acts on
CurrentOptions[0] - the scan task's focused target (closest to the cursor, or first along the aim).Implement the instigator hook
ICrimsonInteractionInstigator (CrimsonCommon) is the decoupled arbitration hook: ChooseBestInteractionOption(Query, Options) returns the winning option. Call it from your interact ability's press handler before firing - one Implements check. (CrimsonCore's prebuilt ability calls it automatically.)
Verify
With two interactables in range, your hook decides which one the press acts on; remove the interface call and it reverts to the closest/aimed-at target.