I made a trigger that moves a reaver's scarab to the caster but all it does is fly a straight line. If I use junk yard dog, the scarab will wander around and about 50% of the time actually target an enemy. Is there an ai script that will make it attack enemy units?
You can use "Set Generic Command Point" and "Make these units patrol" to make them move to a specific point.
QUOTE(Demaris @ Mar 28 2006, 10:07 PM)
You can use "Set Generic Command Point" and "Make these units patrol" to make them move to a specific point.
[right][snapback]455337[/snapback][/right]
I used the generic one but not the patrol one because i don't want it to target a certain location. I want it to target any enemy units.
QUOTE(Deathscytheh9 @ Mar 28 2006, 11:08 PM)
I used the generic one but not the patrol one because i don't want it to target a certain location. I want it to target any enemy units.
[right][snapback]455338[/snapback][/right]
You want it to target units in the vicinity of the caster right? Well if you want this you set the location to that of a location folowing the caster.
QUOTE(PhoenixRajoNight @ Mar 28 2006, 10:11 PM)
You want it to target units in the vicinity of the caster right? Well if you want this you set the location to that of a location folowing the caster.
[right][snapback]455339[/snapback][/right]
Edit: I made the script for generic to the location of the caster. It goes in a straight line.
Then I make the script for make units patrol to the location of the caster. I moves to the middle of the location and blows up.
QUOTE(Deathscytheh9 @ Mar 28 2006, 11:14 PM)
You talking about the Make these units patrol script?
[right][snapback]455341[/snapback][/right]
Yes.
Actually using the "generic script" really does nothing. I took it off and it still went towards the top. (btw the scarab is a computer)
ADDITION:
Also in this tutorial
http://www.staredit.net/index.php?tutorial=33doesn't "Location you want them to move to" and "Location Scarabs will be" mean the same thing?
Jesus, Finally the sites back up. Neways I made a map up with the spell your trying to do for a mockup, and it works fine, here I will upload the mockup, and you can play it, it works fine. Compare the map to the triggers your using and maybe you can fix your problem.
[attachmentid=18019]
phoenix, how to DL the map that u're submitting ?
you save target as...
then put an ".scx"/".scm" to the end of the name
play it
but i did that & it didn't work, i dunno why ....
Due to the attachment error, it is saved as a text file. Therefor starcraft cannot run it.
It works fine! However only if the caster is below the enemies. Oh well, beggars can't be choosers. Thanksf or your help!
BTW, why do you have more than one reaver?
QUOTE(Deathscytheh9 @ Mar 29 2006, 01:00 PM)
It works fine! However only if the caster is below the enemies. Oh well, beggars can't be choosers. Thanksf or your help!
BTW, why do you have more than one reaver?
[right][snapback]455435[/snapback][/right]
I was gonna go a step further on the map, which I'm going to now, and no it doesnt always attack up I made a location for the lower right corner, for the command point, and put the templar on the other side and it works as well, afterwords.
Anyways, in my map, the scarabs always attack toward the center of the map so if the caster was at the bottom side of the map, all the scarabs will move up toward the center.
If you set the command point to a location in a different direction then it would go that way, and yes I checked this.