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.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy, RIVE, NudeRaider