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.
[03:57 pm]
Echo -- ty
[2024-12-13. : 11:00 pm]
jjf28 -- Echo
Echo shouted: Excalibur What's the discord?
https://discord.gg/HwfNecXz
[2024-12-13. : 8:28 pm]
Echo -- I might be moving out of private banking soon. I got a job offer from the US Treasury as an examiner. DOGE won't be able to touch them since OCC is self-funded
[2024-12-13. : 8:26 pm]
Echo -- l)ark_ssj9kevin
l)ark_ssj9kevin shouted: Echo Voy does
Nice! Time going by fast
[2024-12-13. : 8:26 pm]
Echo -- dumbducky
dumbducky shouted: Echo Tired of moving every few years, hoping to move closer to extended family so my kids can be with their cousins
Yeah I feel you. I've moved quite a bit the past 5 years too.
[2024-12-13. : 8:25 pm]
Echo -- Excalibur
Excalibur shouted: Holy shit its Echo! :O Join the discord you fuck.
What's the discord?
[2024-12-13. : 8:25 pm]
Echo -- Oh wow it's (U)Bolt_Head LOL
[2024-12-13. : 9:33 am]
Oh_Man -- this guy could become america's Ned Kelly
[2024-12-13. : 1:30 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: Oh_Man Not really sure what you mean part of it lol. Seriously doubt anyone here is plotting to kill insurance company executives. I dunno how to feel about the event. On the one hand, fuck insurance companies and UHC is one of the worst. On the other hand, vigilante justice isn't ideal. Definitely not shedding any tears for the fallen CEO, and most likely wouldn't have reported the killer if I had been the one to spot him. There will always be another stooge to take his place though.
"part of the zeitgeist" probably means "approves of"
[2024-12-12. : 11:50 pm]
Ultraviolet -- Themselves or each other? I guess both are true
Please log in to shout.


Members Online: Roy, RIVE, NudeRaider