Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Units targeting buildings, how?
Units targeting buildings, how?
Jan 8 2008, 4:48 pm
By: 12egoldi  

Jan 8 2008, 4:48 pm 12egoldi Post #1



As for the people reading this, i know i suck at starcraft mapping.
Well, my problem is this:
Well, my map is a helms deep map (lotr).
Its a survival map, every 30 secs. a new horde of uruk hai attack helms deep.
There are two main "gates". the "wall" and the "gate..."
What i do is:
(in slang)
switch 1 is set
create 30 uruk for p 5 in spawn1
order any uruk at spawn 1 to attack to "wall" (location)
clear switch 1

The problem is, when the uruk hai reach the wall they dont attack the buildings which, if u see in the pic. below, dont let the uruk hai enter helms deep. All they do is act crazy while the guys in the top of the wall shoot them

WHY?

Attachments:
gates.gif
Hits: 9 Size: 85.08kb



None.

Jan 8 2008, 7:59 pm who Post #2



does the computer /player controlling the uruk-hai have the other players set to enemies? if not, make an always/preserve trigger that sets the alliances



None.

Jan 8 2008, 8:55 pm Impeached Post #3



Also, use patrol instead of attack, and patrol to a location behind the wall or something. It works better, the units will attack much more often.



None.

Jan 8 2008, 10:22 pm Falkoner Post #4



The problem I believe you are having is that your units decide to attack the enemies units instead of their buildings when attacked. It's just a basic SC AI, and there is no perfect way to stop them from attempting to defend themselves.



None.

Jan 9 2008, 2:13 am 12egoldi Post #5



k...thanks...



None.

Jan 9 2008, 2:19 am Maian Post #6



It looks like the Red player controls the units on the structure terrain as well as the 'wall'
Give the 'wall' to a player 9 or 10. Then make triggers that make the attacking units are allied to the defending units (so they'll ignore them and attack the wall). After the wall is destroyed, make the attacking units unally the defending units.



None.

Jan 9 2008, 1:34 pm Riney Post #7

Thigh high affectionado

You could always use Neutral siege tanks instead of Supply depots. They WILL target those first >:P



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Jan 9 2008, 2:35 pm Conspiracy Post #8



There is an AI Script like Make this Area more valuable. Or something like that. If you use that alot on the section of walls, then they may attack that over the units, presuming that you also use random suicide...



None.

Jan 9 2008, 6:14 pm Falkoner Post #9



EDIT: First double post :P

Post has been edited 1 time(s), last time on Jan 9 2008, 6:21 pm by Falkoner.



None.

Jan 9 2008, 6:14 pm Falkoner Post #10



No, it will just make them value that area, and since units are able to attack at that area, they will still attack those units, it's just a basic AI.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: O)FaRTy1billion[MM]