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.
[2025-11-09. : 2:22 am]
Ultraviolet -- https://staredit.net/topic/18823/ get em big dog Ex
[2025-11-08. : 7:45 pm]
UndeadStar -- *gasp* then could it be Antitoxic was being...toxic?
[2025-11-08. : 6:00 pm]
NudeRaider -- Solstice245
Solstice245 shouted: "This isn't spam..." *looks inside* it's spam.
ya, if you think you need to point out something is not spam, it probably is spam.
[2025-11-07. : 7:09 pm]
IskatuMesk -- :wob:
[2025-11-07. : 5:24 pm]
lil-Inferno -- "ie, outwar" a game from 2002 lmao, shows when this shit was written
[2025-11-07. : 5:23 pm]
lil-Inferno -- "Do not solicit commercial or personal products, scams, chain letters, clan recruitments, marketing, or games (ie, outwar) for your personal gain." w/e
[2025-11-07. : 5:22 pm]
lil-Inferno -- I didn't know there was a self advertising rule
[2025-11-06. : 6:00 am]
Solstice245 -- "This isn't spam..." *looks inside* it's spam.
[2025-11-05. : 11:37 pm]
NudeRaider -- I mean sure, his shout technically violates the self-advertising rule, but I don't think anyone cares at this point...
[2025-11-04. : 10:25 pm]
Ultraviolet -- nudes finger hovering over the delete button over there
Please log in to shout.


Members Online: Oh_Man