• 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.

[Trigger] how to make when a player clicks "G" or something as a event

Status
Not open for further replies.
Level 11
Joined
Jul 12, 2005
Messages
764
No, it's not possible in jass, but you're right about the Channel ability.
Uncheck the option "Visible" (so its icon will not appear), make it an instant cast ability, and set 'G' as hotkey. You can detect when the player presses G by detecting when the hero casts the appropriate spell.
Note that a hero can only have 5 abilities.
 
Level 7
Joined
Nov 12, 2005
Messages
299
> he can have as many as possible as long as they are invisible
No, he can't start with more than 5 hero abilities regardless of what they are.
But there is no limit (in theory) to the number of abilities you can add using triggers.
 
Status
Not open for further replies.
Top