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.
[04:24 am]
anoeth47 -- Sie_Sayoka >>> Thanks!!! Got the png's to show up in Map Showcase
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
Please log in to shout.


Members Online: NiceNowIHaveAName