• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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

Status
Not open for further replies.
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.
 
> 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.
Back
Top