• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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