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.
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: RIVE, Roy, Ultraviolet