Staredit Network

Staredit Network -> UMS Assistance -> Scarab AI and roaming
Report, edit, etc...Posted by Kyuubi. on 2005-06-02 at 22:51:42
I have read some of the tutorials here and I understand a few points of it. I want to set up a map where the scarabs will appear from an area(where human players cannot see the reavers and see the scarabs appear.

This is how my map is set up as a test...
-I have placed like 5 reavers with full hangar count in a spot(say at top right corner where not visible to human players 'location 0') at along with an enemy target like a nexus so they can each attack to get their scarabs out.
-This is also hypered

Trigger
Conditions:
-'Player 2'(computer) brings at least 1 'scarab' at 'location 0'
Actions
-Move 'all scarabs' at 'location 0' to 'location 1'
-Preserve trigger

I did several things on this but I don't seem to get this right.
The scarabs get moved...but they just stand and stacked in 1 one spot. They stand still and other thing is that the scarabs don't do any damage when I put a unit where they explode. I also put the triggers from the tutorial 'set generic command target' and 'make these units patrol(top left corner)'. Scarabs still stand still.

Is there a way to make the scarabs move or patrol a place and do damage? I'm not sure if I'm setting up the triggers right or what I'm doing wrong. Any help would be appreciated.

Report, edit, etc...Posted by MindArchon on 2005-06-02 at 23:01:10
QUOTE(Shadowlash @ Jun 2 2005, 07:51 PM)
I have read some of the tutorials here and I understand a few points of it.  I want to set up a map where the scarabs will appear from an area(where human players cannot see the reavers and see the scarabs appear.

This is how my map is set up as a test...
-I have placed like 5 reavers with full hangar count in a spot(say at top right corner where not visible to human players 'location 0') at along with an enemy target like a nexus so they can each attack to get their scarabs out.
-This is also hypered

Trigger
Conditions:
-'Player 2'(computer) brings at least 1 'scarab' at 'location 0'
Actions
-Move 'all scarabs' at 'location 0' to 'location 1'
-Preserve trigger

I did several things on this but I don't seem to get this right.
The scarabs get moved...but they just stand and stacked in 1 one spot.  They stand still and other thing is that the scarabs don't do any damage when I put a unit where they explode.  I also put the triggers from the tutorial 'set generic command target' and 'make these units patrol(top left corner)'.  Scarabs still stand still.

Is there a way to make the scarabs move or patrol a place and do damage?  I'm not sure if I'm setting up the triggers right or what I'm doing wrong.  Any help would be appreciated.
[right][snapback]224545[/snapback][/right]


Im not sure about the damage part, but run 'Junkyard Dog' to get the scarabs to roam.
Report, edit, etc...Posted by in_a_biskit on 2005-06-03 at 04:46:13
You can use "Make these units patrol" to make scarabs run around. But I don't think they will attack anything, even if they see enemy units.
Instead of moving all scarabs, try moving only one at a time; I'm guessing that they can't move because they are stacked.

Tux made scarabs attack with some AI script in his map "Flash Flood". I'm not sure which script it was, though.
Report, edit, etc...Posted by LegacyWeapon on 2005-06-03 at 09:22:33
No, I'm pretty sure stacked scarabs can still move. They can stack because they don't take up any 'blockage' space.
Report, edit, etc...Posted by Kyuubi. on 2005-06-03 at 12:39:46
I got the scarabs the way I want it now. I thought the scarabs would be controlled by the reaver on which target they would attack...but when they are moved by a trigger it seems their AI is changed, roam and, find their own targets.

Wierd how they can't stay still and they gotta keep roaming. Unlike interceptors, they cant be clicked on either. Thanks for the help though. smile.gif
Next Page (1)