Staredit Network > Forums > SC2 Assistance > Topic: Reselecting unit
Reselecting unit
Mar 2 2014, 8:31 am
By: payne  

Mar 2 2014, 8:31 am payne Post #1

:payne:

http://pastebin.com/jX64fkSY

Why is this not working? ...



None.

Mar 2 2014, 9:19 am payne Post #2

:payne:

_Select back
Events
Unit Selection - Any Unit is Selected by player Any Player
Local Variables
Conditions
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Owner of (Triggering unit)) != (Triggering player)
Then
Unit Selection - Deselect (Triggering unit) for player (Triggering player)
Unit Group - Pick each unit in (_ Cowboy units in Init Minigame - Grid Boundary owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most 1) and do (Actions)
Actions
Unit Selection - Select (Picked unit) for player (Triggering player)
Else


That worked... >_>
Basically, you need to UNSELECT the selected unit before being able to select another unit.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
Please log in to shout.


Members Online: jun3hong