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.
[09:05 pm]
Zoan -- beep beep
[09:05 pm]
Zoan -- btw speaking of movies we saw Coyote vs Acme last night; that movie was great imo
[09:04 pm]
Zoan -- I threw in more of my thoughts, get ur popcorn ready
[07:59 pm]
Zycorax -- Damn, the popcorn smiley was just in my imagination :hurr:
[07:32 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: An SD thread on AI? omg YES inject that shit directly into my veins
looks like a whole lot of popcorn is needed. Interesting how ai - that soulless thing - can stir so much emotion in us humans. :awesome:
[03:42 pm]
Vrael -- time to suppress its visibility by finally responding in the Free Will topic :D
[12:44 am]
Oh_Man -- An SD thread on AI? omg YES inject that shit directly into my veins
[12:20 am]
*Symmetry toots*
[2026-9-07. : 6:55 pm]
Moose -- Ya, might as well condense to one forum LMAO
[2026-9-07. : 6:21 pm]
Symmetry -- I mean let's be real he could've posted it in Introductions and it wouldn't have mattered
Please log in to shout.


Members Online: Zoan