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

IS there a way to disable alt key?

Status
Not open for further replies.
Level 5
Joined
Jan 27, 2007
Messages
154
Well, I've been working in a map ryt now and I find alt key would destroy the environment made by the game. It's a stealth game and does not depend on usual invisibilty skills but on natural stealth talents so Alt would be pain in d ass..

Is there any way?
 
  • Game - Enable pre-selection functionality (Disable pre-selection circles, life bars, and object info)
That negative selection circle thing is great. I'm gonna rep+
 
@ toofless

I think that's not available in my version.. Im just 1.22
 
Last edited by a moderator:
http://www.wc3c.net/showthread.php?t=81742

Aloc (Locust): A unit that is given locust becomes unselectable, untargetable and ignores any pathing limitations. This means it can only be controlled and ordered with triggers. It won't show a life bar over its head too. Now to get rid of locust UnitRemoveAbility(u, 'Aloc') won't work therefore you'll need to chaos transform the unit into a different temporary unit type and immediately transform it back. However if the unit had been transformed with a chaos ability before then adding locust will make it unselectable but still targetable and it will also obey pathing rules. Another option to get rid of locust is the following hiding the unit, removing the ability and unhiding it again.

Collapse JASS:
JASS:
function UnitRemoveLocust takes unit u returns nothing
    local boolean backup = not IsUnitHidden(u)
    call ShowUnit(u, false)
    call UnitRemoveAbility(u, 'Aloc')
    call ShowUnit(u, backup)
endfunction

This solution has some side effects. The health bar above the unit as well as the player name when you move your mouse over the unit will not be shown any more. So this would also be a trick to get rid of those tooltips and health bars.
 
53676d1241395202-there-way-disable-alt-key-help-7.jpg
 

Attachments

  • Help 7.jpg
    Help 7.jpg
    108.5 KB · Views: 269
Status
Not open for further replies.
Back
Top