yes there is spacebar events for triggers, but keyboard input events have a 1 second or so delay on bnet online with other players, which is kinda bad for a action game
I've used the search and found those topics before, and those topic methods don't work...
Setting max and min pan duration only prevents the camera from moving when you hit space...
However, spacebar is still associated first priority with camera alert pan, and so pressing spacebar still tries to camera alert pan and doesn't do the ability (hotkey of spacebar)
There must be a way to disable the alert space hotkey, allowing for an button ability to use the spacebar right?
go to data editor go to alerts and find the alert for when ur base is underattack or when ally or unit is under attack there will be multiple ones and in primary action uncheck all. Might be better to just uncheck all for all the alerts if u want.
edit: you can also uncheck display to self and other in the display tab
this is sort of last resort but you could have it so that if spacebar is pressed, the location of the current camera position is saved (a region is moved there, or u put the coordinates in a vairable,etc.) then immediately moved back to that spot from wherever the camera tries to move to... so its a quick back and forth sort of thing...
I'm trying to set spacebar as the hotkey in buttons for an ability
But its not working
Its probably because spacebar is used for centering the camera
So I went into triggers, and put in disable alert UI frame
and also in data editor the Calert and unchecked the flags
But the spacebar hotkey for the ability still doesnt work
Anyone know how to do this?
There are spacebar events for triggers!
What's your localisation? Blizzard sucks with translation.
In german the spacebar is called "Weltraum" which can be literally translated to space, but it means cosmic space.
Edit: Ah, now I get it XD
But like I said before, make an event trigger with used key - spacebar and then unit do order.
yes there is spacebar events for triggers, but keyboard input events have a 1 second or so delay on bnet online with other players, which is kinda bad for a action game
with data editor there is no delay
So does anyone have an inkling of an idea to set spacebar as an ability hotkey?
buump...
so does anyone have any ideas how to disable the alert space hotkey
so that you can set an ability button hotkey as space?
(because when player presses key space event trigger, lags and has delay on bnet)
This might help
http://forums.sc2mapster.com/development/triggers/8380-trigger-fully-disabling-any-key/
edit:
I found exactly what you wanted:
http://forums.sc2mapster.com/development/map-development/6615-is-there-any-way-to-stop-spacebar-from-moving-the-camera/?post=16
I've used the search and found those topics before, and those topic methods don't work...
Setting max and min pan duration only prevents the camera from moving when you hit space...
However, spacebar is still associated first priority with camera alert pan, and so pressing spacebar still tries to camera alert pan and doesn't do the ability (hotkey of spacebar)
There must be a way to disable the alert space hotkey, allowing for an button ability to use the spacebar right?
Any further help is greatly appreciated!~~
@HatsuneMikuMegurine: Go
go to data editor go to alerts and find the alert for when ur base is underattack or when ally or unit is under attack there will be multiple ones and in primary action uncheck all. Might be better to just uncheck all for all the alerts if u want.
edit: you can also uncheck display to self and other in the display tab
@gamfvr: Go
Did that method work for you?
Because I tried changing all 124 alerts, unchecking primary, secondary, and display
And it does not work
Attached is test map where I changed all the alerts, and the marine stimpack (with hotkey set as spacebar) does not work when spacebar is pressed
this is sort of last resort but you could have it so that if spacebar is pressed, the location of the current camera position is saved (a region is moved there, or u put the coordinates in a vairable,etc.) then immediately moved back to that spot from wherever the camera tries to move to... so its a quick back and forth sort of thing...
last resort rly...
@iE4TM4PS: Go
the camera moving or not moving is not the problem
its the fact that spacebar is associated with camera alert in the first place
so any ability with button hotkey spacebar doesnt work
cause any spacebar press you do, does the the camera alert instead of ability