Staredit Network

Staredit Network -> UMS Assistance -> Spell
Report, edit, etc...Posted by Deathscytheh9 on 2006-03-28 at 23:06:36
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?
Report, edit, etc...Posted by Demaris on 2006-03-28 at 23:07:53

You can use "Set Generic Command Point" and "Make these units patrol" to make them move to a specific point.
Report, edit, etc...Posted by Deathscytheh9 on 2006-03-28 at 23:08:47
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.
Report, edit, etc...Posted by PhoenixRajoNight on 2006-03-28 at 23:11:25
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.
Report, edit, etc...Posted by Deathscytheh9 on 2006-03-28 at 23:14:31
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.
Report, edit, etc...Posted by PhoenixRajoNight on 2006-03-28 at 23:16:35
QUOTE(Deathscytheh9 @ Mar 28 2006, 11:14 PM)
You talking about the Make these units patrol script?
[right][snapback]455341[/snapback][/right]


Yes.
Report, edit, etc...Posted by Deathscytheh9 on 2006-03-28 at 23:26:31
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=33
doesn't "Location you want them to move to" and "Location Scarabs will be" mean the same thing?
Report, edit, etc...Posted by PhoenixRajoNight on 2006-03-29 at 06:25:42
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]
Report, edit, etc...Posted by JaFF on 2006-03-29 at 07:36:17
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 ....
Report, edit, etc...Posted by dumbducky on 2006-03-29 at 08:37:22
Due to the attachment error, it is saved as a text file. Therefor starcraft cannot run it.
Report, edit, etc...Posted by Deathscytheh9 on 2006-03-29 at 13:00:31
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?
Report, edit, etc...Posted by PhoenixRajoNight on 2006-03-29 at 15:48:39
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.
Report, edit, etc...Posted by Deathscytheh9 on 2006-03-29 at 18:29:20
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.
Report, edit, etc...Posted by PhoenixRajoNight on 2006-03-29 at 18:34:13
If you set the command point to a location in a different direction then it would go that way, and yes I checked this.
Next Page (1)