Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED Keeping a hotkey
[SOLVED Keeping a hotkey
This topic is locked. You can no longer write replies here.
Aug 14 2012, 5:10 am
By: Leeroy_Jenkins  

Aug 14 2012, 5:10 am Leeroy_Jenkins Post #1



Okay so, I have a map where there is a scourge, and it is given to multiple players throughout the game. I want players to be able to hotkey the scourge. For a while this works, when the scourge is given to player 2 and given back to player 1 for example, player 1 still has his hotkey. The scourge is shared by all players of the map. For whatever reason, at some point in the game the hotkeys are no longer there. The scourge is the same scourge throught the game. It is given to all players at different points, it is moved by locations at certain points, that's about it. I just don't understand at what point it is losing its hotkey. Any help greatly appreciated!



None.

Aug 14 2012, 5:13 am Lanthanide Post #2



Starcraft engine limitation, unsolvable sorry.

Also I presume you mean unit group binding, eg ctrl-1 etc.



None.

Aug 14 2012, 5:23 am Leeroy_Jenkins Post #3



Damn :(



None.

Aug 14 2012, 5:23 am Azrael Post #4



Not sure if this will work in your map specifically, but it could be possible to fake it being the same unit.

For instance, you could give each person their own scourge, and allow them to hotkey it. Then when you want to give the scourge to someone else, you move the current person's scourge to the edge of the map, and move the new person's scourge to where the other person's scourge was.

For additional realness, you could use map revealers owned by a computer player to reveal the playing area to the players with shared vision, and force the players to turn off shared vision to themselves, so they can't see their scourge when it's been moved to the edge of the map.

Additionally, you could use EUD selection detection to tell when a player selects his scourge while it's at the edge of the map (which he'd do by hitting his hotkey), and immediately give the scourge to the computer and then back to the player in the same trigger (which I believe will retain the hotkey for the unit). Alternatively, you could just keep giving the scourges to the computer and back to the player, regardless of if they are being selected, just to make them deselect it that much faster.

Not sure if any of that is actually useful for what you're attempting to accomplish, though.




Aug 14 2012, 6:00 am Leeroy_Jenkins Post #5



No that wouldn't work at all for what is going on, good ideas though, thanks.



None.

Aug 19 2012, 5:16 am staxx Post #6



The way this works is to hot key the unit you want, and ONLY press that hot key when you have ownership of that unit. If you try and use the hotkey while someone else owns the unit, then your hotkey will be lost.

Hope that helps.



None.

Aug 19 2012, 5:44 am Wormer Post #7



Quote from staxx
The way this works is to hot key the unit you want, and ONLY press that hot key when you have ownership of that unit. If you try and use the hotkey while someone else owns the unit, then your hotkey will be lost.

Hope that helps.
Exactly this.



Some.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: emilyroberts, City, Roy