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

[JASS] Grouping

Status
Not open for further replies.
Level 3
Joined
Sep 30, 2004
Messages
16
Is it possible that you make a trig where u assign the 1 button on the key board to a unit group so that when u press it again you automatically select a unit, even if you hadn't previously clicked that unit and pressed ctrl+1????
 
The only keys that can be detected by events is the arrow keys so it is not possible. Otherwise it would be possible if you save a uniot group or a unit in a variable and then use the "Selection - Select (Last created unit group) for Player 1 (Red)" or "Selection - Select (Triggering unit) for Player 1 (Red)". (The vaules are just examples.)
 
Status
Not open for further replies.
Back
Top