Staredit Network > Forums > SC2 Assistance > Topic: Tethering units without Arm Magazine
Tethering units without Arm Magazine
Mar 18 2013, 6:02 am
By: DevliN  

Mar 18 2013, 6:02 am DevliN Post #1

OVERWATCH STATUS GO

I'm sure there has to be an easy solution to this, but my head is fried and I can't seem to figure it out. I have an ability that creates units around the caster. The created units are not selectable (because I'm not allowing players to deselect their heroes) and ideally they should attack enemies near the caster. It would be great if they attacked the caster's targets specifically, but I don't care as much about that just yet. Each created unit has timed life. The main issue I'm having is that I want them to follow the caster when he moves away, or switch to rally back to the caster if they get too far away from him.

In theory I imagine I could use Arm Magazine to create them rather than the Create Unit effect, but I'm under the impression that using that requires a weapon to be linked to it which I can't do for this map.

I also thought that I could make a simple trigger that forces the created units to move back to the caster when they are outside a region that is attached to him, but in order to do that I'd need them to have variables attached to them via triggers to then manage their whereabouts. Unless I'm thinking too hard about it and there is an easier way, of course. :lol:



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Mar 18 2013, 3:56 pm Wing Zero Post #2

Magic box god; Suck it Corbo

You just described almost exactly what Blizz did in the HotS campaign. Is that where you got the idea from? If not then looking at HotS mission 2(?) might help.




Mar 18 2013, 4:02 pm Biophysicist Post #3



If it's for a hero, the obvious solution is this:
-Have a Search Area effect that calls an Issue Order to make the caster move to the closest hero;
-Have an Enumerate Area validator that prevents that effect from going off if a hero is nearby;
-Have a behavior on the spawned units that calls the Search Area periodically.



None.

Mar 18 2013, 4:07 pm TF- Post #4

🤙🏾

I wonder if 'herd' behaviors can help with this, it would be real simple if they did.



🤙🏾

Mar 18 2013, 7:17 pm DevliN Post #5

OVERWATCH STATUS GO

Quote from Wing Zero
You just described almost exactly what Blizz did in the HotS campaign. Is that where you got the idea from? If not then looking at HotS mission 2(?) might help.
Which part are you talking about in the campaign? I only remember units using the Arm Magazine method, which I can't do. As far as the idea goes, this is for my Invasion map I started in 2010 so I didn't get it from HotS. :P If anything I'm stealing from my SC1 map, Demonic.

Quote from Biophysicist
If it's for a hero, the obvious solution is this:
-Have a Search Area effect that calls an Issue Order to make the caster move to the closest hero;
-Have an Enumerate Area validator that prevents that effect from going off if a hero is nearby;
-Have a behavior on the spawned units that calls the Search Area periodically.
There are 6 heroes on the map most likely fighting near each other. How would I have them target the specific hero that created them?

EDIT:
I ended up doing it with a trigger, though I'm still curious if there would be a better way with just data (i.e. Issue Order). This trigger doesn't always catch them and most of the time they are moving to try to catch up. Maybe there's something I'm not seeing in the Issue Order effect, but I still can't figure out how I'd make it target the point where that hero is specifically.

Basically I put a dummy behavior on the units and whenever they left a certain distance from the hero, they move back to the point where the hero is. I'm so glad I didn't try to trigger that last night. I was thinking waaaaaaay too hard on this.

Post has been edited 2 time(s), last time on Mar 18 2013, 7:45 pm by DevliN.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06: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
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- 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
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Roy