#Can you listen to ability pre-cast?
1 messages · Page 1 of 1 (latest)
Are you talking about doing something during the cast point of an ability, before it starts actually doing its effects? In that case I think you're looking for OnAbilityPhaseStart
Found 3 functions for OnAbilityPhaseStart
🇸 CDOTABaseAbility:OnAbilityPhaseStart(): bool
🇸 CDOTA_Ability_Lua:OnAbilityPhaseStart(): bool
Cast time begins (return true for successful cast).
🇸 CDOTA_Item_Lua:OnAbilityPhaseStart(): bool
Cast time begins (return true for successful cast).
or do you mean before you even start the ability at all, and are just hovering the cursor over them? cause i wouldn't know in that case