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

Esc and hidden cancel button

Status
Not open for further replies.
Level 10
Joined
Mar 17, 2012
Messages
582
Hello there.
I have an issue. I've hidden the cancel button that worked on the Esc key, so now if I press Esc, it doesn't close the menu. E.g. Build menu where you chose what to build. If you select some unit and then select the "builder" again, it gets refreshed, but I've tried to implement it via triggers, which doesn't work the same way. If it did, it'd be perfect.
  • Refresh the hero
    • Events
      • Player - Player 2 (Blue) skips a cinematic sequence
      • Player - Player 4 (Purple) skips a cinematic sequence
      • Player - Player 5 (Yellow) skips a cinematic sequence
      • Player - Player 6 (Orange) skips a cinematic sequence
    • Conditions
    • Actions
      • Selection - Clear selection for (Triggering player)
      • Selection - Select The Ancient Relic 0002 <gen> for (Triggering player)
      • Wait 0.01 seconds
      • Selection - Clear selection for (Triggering player)
      • Selection - Select Hero[(Player number of (Triggering player))] for (Triggering player)
as you can see, I've already tried delays (bad noob practice, I know) and clearing selection.
Any ideas?
 
Last edited:
Level 10
Joined
Mar 17, 2012
Messages
582
Well... that's a bizarre interaction. Never would have thought ESC actually force-pressed the Cancel ability behind the scenes. How did you hide the button? 0,-11 button position or using the disable ability command?
9,-11 option.
It doesn't forcepress the Cancel ability and that's a problem(( as I need all 12 slots and still be able to use other abilities

Is there a way to force player press F1 key?
 
Status
Not open for further replies.
Top