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!
Nope, there's no way to set control groups via code. ForceUIKey() only works on 1 key at a time so you cant get ctrl+1 to happen that way. Maybe with a memhack that allows you to simulate keypresses on the player's machine but that's probably pretty involved for what you need.
Best solution would be to show an error message for the player whose unit was replaced to tell them they need to remake the ctrl group.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.