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.
[02:24 pm]
Apos -- :wob:
[04:16 am]
NudeRaider -- files in c:\program files\ are protected
[08:11 pm]
Symmetry -- why can't I seem to make eud editor change flingy.dat D:
[04:33 pm]
Ultraviolet -- :wob:
[2026-7-10. : 11:00 pm]
Vrael -- :wob:
[2026-7-10. : 5:18 pm]
IskatuMesk -- :wob:
[2026-7-10. : 7:29 am]
Zycorax -- :wob:
[2026-7-10. : 3:48 am]
O)FaRTy1billion[MM] -- :wob:
[2026-7-10. : 3:14 am]
Symmetry -- :wob:
[2026-7-10. : 1:03 am]
IskatuMesk -- that's a loaded sentence if I ever snorted one
Please log in to shout.


Members Online: DarkenedFantasies, Dem0n, Apos