• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Keyboard event problem

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
Hi everyone,
I want to press a key to cast spell (A Z E R for example)
But I can't.
In my trigger I only can use the arrows...
thW.png
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
Make an ability based of Channel.
Make it instant cast and make a dummy unit that casts the actual ability.
If you require a target, you dont need the channel ability to do this, you can cast the actual ability without problems.

Use as the event: "Unit starts the effect of an ability" to run a trigger.
 
Level 14
Joined
Nov 17, 2010
Messages
1,266
In the object editor set the hotkey for your spell to A. Then you won't need to use the keyboard event for your spell. You can just use the event like they said above "Unit starts the effect of an ability" and then the condition would be ability being cast equal to your ability.
 
Status
Not open for further replies.
Top