#How to use dota_ability_execute in binding hotkeys

1 messages · Page 1 of 1 (latest)

covert hill
#

I have some problem with that. I test on Mirana and Antimage

When I type in console: bind "q" dota_ability_execute 0 I only hear the sound that ability is trying to execute but nothing happens.
When I type bind "q" +dota_ability_execute 0 it works

but when I try the same for AM blink (binding W) then with "+" it cast ability -> show the cursor target, but only if I hold the button. If I release it, the target cursor disappears and can't use ability. Without (+) it only make the ability execute sound.

How to use it correctly?

orchid patio
#

Let me ask this in a different way: why are you trying to bind hotkeys with this, instead of just letting the player use their hotkeys to activate their abilities?

What is the end goal of doing this?

grave grotto
#

cmd dota_ability_execute has Invalid

#

Abilities.ExecuteAbility( integer nAbilityEntIndex, integer nCasterEntIndex, boolean bIsQuickCast )

#

use this api

covert hill
#

Ok, thx

orchid patio
#

@covert hill what about me

covert hill
#

I just testing keybinds for abilities in slots 7+, but to be honest Its not rly matter why Im doing this but why it doesn't work.

orchid patio
#

This is likely because this console command is extremely old and outdated

#

You can keybind to custom panorama functions, in which case it will do the code in it like @grave grotto suggested

covert hill
#

Ok I just wanted to know if Im doing something wrong or the command is the problem

#

Yea I was planning to use Panorama but then found this cmd on github and wanted to try.

covert hill
#

I understand that adding hotkey icon on ability panel is something that I have to do in Panorama and there is no any API for that?