in_alt_cast_modifier not inheriting functionality of in_alt_cast

MIJAMIJAMIJA

New member
while the effect of in_alt_cast and in_alt_cast_modifier was merged in the most recent patch:

- The Alternate Cast modes "Modifier Button" and "Alternate Cast Button" have had their behaviors merged

this merger has not applied to the actual command itself. in_alt_cast is now removed from the game, while in_alt_cast_modifier remains.
if you bind your modifier key to lets say "X" you can then either use it as a modifier:

>Hold X, use "Rescue Beam" and it self casts.

Or you can use it as the self cast key:

>Use Rescue Beam press x, and it self casts.

however the second functionality, which is what in_alt_cast used to be, does not work by using in_alt_cast_modifier. it only works when the key is bound via the hotkey menu.

Why does this matter?

For people who dislike having an excessive amount of buttons to press when theres no need for it, you can actually have self cast and targetable cast on the same key via an alias:

alias +self "+in_item1"
alias -self "+in_alt_cast;-in_alt_cast;-in_item1"

this alias is set up so if you hold down your item button, you enter target-mode, and can press left click (+attack) to cast on a teammate.
however if you let go of it, you cast it on yourself.
that means by pressing the button and letting go, you self cast, by holding it down, you can target cast. this gives you both functionalities on 1 key, and its definitely not "cheating", its just QoL.

this however relies on being able to send the alt cast modifier input to trigger the merged "alt_cast" functionality, and there is no longer support for this.
please either add this support back in or add functionality for single button selfcast/target cast in hotkey itself.


--
Additional info:


Strangely enough, if you enter targetable cast mode on lets say healing rite (activate the item) then press a key you've bound to +in_alt_cast_modifier, nothing happens. HOWEVER if you write "+in_alt_cast_modifier" into the console then it will cast.
so it appears to accept the command when sent in console but not when sent via a key bound to it using console, only if its bound to it in hotkeys.

For example:
bind g +in_alt_cast_modifier
Hold G, press Healing rite = self cast
Press healing rite, press g = nothing

this is clearly some sort of bug.
 
Last edited:
bump. needs either fixing of the command in console to work as expected or added support for a proper QoL self cast method.
 
Back
Top