Ok the roam around thing works but they keep moving out of terran that shouldn't be able to get out of. I put borders locations around them to set the remove units and to create units at location. But the boarders arn't working what would be the correct trigger's to remove and create the unit from the boarders back to the location they started from?
ADDITION:
Triggers currently set as
Always();
---
RunAIScriptAt(Set Unit Order To: Junk Yard Dog, replace unit 4);
PreserveTrigger();
Comment("roam around");
Always();
Command(P7, Exactly, 0, Boundcollector Boundcollector);
Command(P7, Exactly, 0, mFBound mFBound);
---
RemoveUnitAtLocation(All, AnyUnit, P7, replace unit);
RemoveUnitAtLocation(All, AnyUnit, P7, replace unit 3);
RemoveUnitAtLocation(All, AnyUnit, P7, replace unit1);
RemoveUnitAtLocation(All, AnyUnit, P7, replace unit2);
RemoveUnitAtLocation(All, AnyUnit, P7, replace unit 4);
RemoveUnitAtLocation(All, AnyUnit, P7, replace unit 4);
GiveUnits(1, Boundcollector Boundcollector, P7, create boundcollector, P7);
GiveUnits(1, mFBound mFBound, P7, create mfbound, P7);
PreserveTrigger();
Command(P7, Exactly, 0, Boundcollector Boundcollector);
Command(P7, Exactly, 0, mFBound mFBound);
------
CreateUnit(1, Boundcollector Boundcollector, create boundcollector, P7);
CreateUnit(1, mFBound mFBound, create mfbound, P7);
PreserveTrigger();
Comment("roam around creator");
ADDITION:
Oh btw on roam around can units walk through buildings?
QUOTE(sckor @ Apr 30 2005, 09:24 AM)
what you could do is surround the area with higher or lower elevation that it currently is.[right][snapback]197839[/snapback][/right]
Basically, if the area with the roaming units, then place high dirt around it (considering it is the badlands tileset) and keep it enclosed.
how about...
Bring(w/e player,brings,0,anyunit,roam area);
action:
moveunit(all,anyunit,w/e player,anywhere,roam area);