Staredit Network

Staredit Network -> UMS Assistance -> value...area...not at all?
Report, edit, etc...Posted by cfro7211 on 2004-11-02 at 20:06:14
i'm making a map in which you are free to run around the map in open terrain, laying spider mines to kill enemies. only problem is that i cannot get the units to attack to the location of the spider mine droppers.

i tried using the ai script 'send all units on strategic/random suicide missions' but to no avail.
then i tried a trigger like this:
Trigger
Players:
¤ player x
Conditions:
¤ player y commands 1 unit x
Actions:
¤ order all units owned by player X to attack to location Y (location of unit X)
¤ preservetrigger


however, that did not work either. now i'm trying the ai script : value this area higher
i read the tutorials section on ai scripts, but it didnt say much about it:
[QUOTE]Value this Area Higher – This will set a region as “important” to the computer AI. After this has been processed, the computer will send forces to this region to defend it.

do i need an ai script(like a town) to be running for the value this area higher for the comp to attack? helpsmilie.gif
Report, edit, etc...Posted by greenreaper on 2004-11-02 at 21:01:57
When you did send all units on random suicide mission...did you put map revealers for that computer all over the map? Because if the computers can't see the spider mine droppers....then they won't attack.
Report, edit, etc...Posted by cfro7211 on 2004-11-02 at 23:13:11
yea i have map revealers all over, but its not doign anything.

do i need a ai script for like a town running for it to work?
Report, edit, etc...Posted by PearS on 2004-11-02 at 23:21:45
So let me get this straight. You want the computer to attack the player's unit that drops mines? (i'm guessing a vulture) Thats easy. Place a location over the vulture. And make a trigger saying

for p1

Always

Center location labled 'P1 vulture' on 'vulture' for 'p1' at 'anywhere'

then have this other trigger
perserve trigger

for computer

Always

Issue order 'attack' to 'p1 vulture'
perserve trigger

if you want them to attack to the spider mines themselves that is a whole nother story
Report, edit, etc...Posted by FaZ- on 2004-11-02 at 23:59:07
Dont preserve that trigger as such to always attack to them. It will constantly re-order them, causing them to pretty much be unable to attack if you use hyper triggers. Random suicide missions makes a unit target a random enemy unit, which does not have to be in its vision. I believe that the area in which the enemy unit is in must have previously been explored however.
Report, edit, etc...Posted by greenreaper on 2004-11-03 at 00:36:36
No, it doesn't have to be previously explored. I know due to past experiences in other maps. You don't need a town....just use run ai script (not run ai script at). If it doesn't work, then something is wrong either with your map or other triggers somehow interfering with that trigger. You should post your map up for us to see.
Report, edit, etc...Posted by PearS on 2004-11-03 at 00:46:08
IF he simply wants the units to attack to the vultures, then there is no need for an ai script...
Report, edit, etc...Posted by greenreaper on 2004-11-03 at 00:54:11
True, but without an AI Script the enemies would just stay still until the "vultures" crossed paths with them. He actually would need an AI script if he wanted the map to be fun.
Report, edit, etc...Posted by PearS on 2004-11-03 at 00:58:38
issue order to all 'any unit' owned by 'computer' attack to 'anywhere'

O_o ?
Report, edit, etc...Posted by FaZ- on 2004-11-03 at 14:48:10
Attack to anywhere would send the units on a course towards the center of the map. What you could do is just put the units on dogpound...?
Report, edit, etc...Posted by Drakiel on 2004-11-03 at 14:57:06
I'd have to see the map... Many questions are involved.
Are there multiple enemies? Mobs? Or a few?
Are there multiple self-controle units? Mobs? Or a few?
Do you want all of the enemies to attack you?
Do you want them to instantly raid you?

If so, Random Suicide Missions, would work perfectly... easy as pie.
Preserve that trigger though, because if more enemies are "created", then they won't pick up the first Suicide AI script.

Umm... If you want the enemies to prepare and gather forces before they Suicide, then... to Strategic Suicide Missions.

If you want them to just wander and kill anything they see. Junk Yard Dog.

IF You only own 1 vulture (or 2, hero), then you can create a location for each player each vulture, center location over vulture, and order all enemies to attack that location... But that's only if you have no more than 2 vultures per player.

What exactly are you trying to DO?

Vision means nothing, comps always know where you are. Vision only affects comps units (cloak, fog of war over high dirt, etc), I believe...

Best to post your map to see what you want.
Next Page (1)