Staredit Network > Forums > SC2 Assistance > Topic: Make two individual units behave as one.
Make two individual units behave as one.
Feb 10 2014, 3:41 am
By: Dabbu  

Feb 10 2014, 3:41 am Dabbu Post #1



I'd like to have two Zerglings always be selected and receive orders almost like they were the same unit to the player controlling them.
Though enemies could target the individual Zergling from the pair.

If this is possible through the unit data it would be better than using triggers, so maybe the question belongs there.

Thanks in advance.



None.

Feb 10 2014, 4:45 am Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Add a conjoined behavior to both units at the same time -> units are linked. You can specify what they share, e.g. selection or life.
In your case, I would use acquire and selection.

For orders, you would need to use triggers.
To avoid infinite loops of orders, use a custom value to mark the ordered unit to ignore the order. Else they would order each other indefinetly.




Feb 10 2014, 6:04 am Dabbu Post #3



Gotcha.
Will let you know how it turns out.

It sounds like I don't need to worry about this since shared selection is a built in feature but...
Is there a way to intercept if the player attempts to un-select one unit from the pair (via shift click)?
That is, perform the "pre-action-completion trigger".
I'd like to avoid the "flickering" you would get from "post-action-completion trigger" or the dreadful periodic enforcement trigger.

Thanks for all you help Ahli, you're a gentleman and a scholar.



None.

Feb 10 2014, 6:36 am Ahli Post #4

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

He can't unselect one of these units. I believe.

Larvae use that when you enable that feature in the game options, I believe, and you can't deselect a single larva then. I think you will be deselecting all, if you try that.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: jun3hong, O)FaRTy1billion[MM]