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#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

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.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: 8milae9823tp0, Roy, 3milae7523gc6, 1jasminec193hL4