Staredit Network > Forums > SC2 Assistance > Topic: Artillery
Artillery
Jul 19 2010, 8:52 pm
By: StormTemplar  

Jul 19 2010, 8:52 pm StormTemplar Post #1



I want to make an artillery unit that continually attacks but to only one location, then, if necessary, "rotated" by a certain degrees by a "crank" next to the artillery.. The only way I can think of doing it is by using a grid-type function. But with SC2 I wondered if there could be some new way.



None.

Aug 13 2010, 12:47 am shmeeps Post #2



How are you planning on implementing this? I think you could have an artillery unit with four "clickable" around it, and then create a trigger with the even "Unit is clicked", with the unit being the four movement units (cranks) around it. Each one would move a region a respective way, and the unit would always be ordered to fire upon that region. Of course, you'd also have to create an attack that targets an area, and not a unit. Or you could make the attack splash and target a dummy unit to splash damage everything in the region.

However, this might create some abnormalities, as the region would have to move by a certain amount each way, so anything in between steps wouldn't be targetable. A way around that may be to play with a sine/cosine function to get a correctly scaling region movement.

I dunno, if you elaborate a bit more maybe we can come up with something better. It's just a little vague right now.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Roy, Moose