Staredit Network

Staredit Network -> UMS Assistance -> Lurker moving and attacking.
Report, edit, etc...Posted by JordanN_3335 on 2006-07-27 at 08:44:30
Ok for the final boss part I want it so the lurker moves around room "burrows" then when there is nothing in site it "unburrows" and moves again and "burrows"
Can someone help me for that part.
Report, edit, etc...Posted by IsaT on 2006-07-27 at 09:12:22
I really dont think you can do that with AI... You could always use regular triggers though, like
player brings exactly 0 any unit to location
order/move lurker to other location

Thats really all I can think of.
Report, edit, etc...Posted by iHaveNoRegrets on 2006-07-27 at 10:33:52
Just telling it to attack to location should make it burrow when it reaches that location.
Report, edit, etc...Posted by Latin-Assassin on 2006-07-27 at 10:51:43
what about making a sort of circle of locations and order them to attack to one another,like a circle thing sort of.... it shud work i think....
Report, edit, etc...Posted by iHaveNoRegrets on 2006-07-27 at 10:53:31
If you continuously order them to attack, you'll make them glitch around, burrowing and unburrowing, sometimes not burrowing at all.
Report, edit, etc...Posted by Latin-Assassin on 2006-07-27 at 10:57:52
but is they dont see an enemy they will just circle to the left, or right w/e, they wont attack unless they c an enemy.... wud it realli glitch? i dont see how...
Report, edit, etc...Posted by iHaveNoRegrets on 2006-07-27 at 11:05:39
Me either, but it does. I have tried it with maps and they do it. Unless it was a map glitch on my part, thats what they do.
Report, edit, etc...Posted by JordanN_3335 on 2006-07-27 at 11:06:33
QUOTE(damned_soldier @ Jul 27 2006, 10:53 AM)
If you continuously order them to attack, you'll make them glitch around, burrowing and unburrowing, sometimes not burrowing at all.
[right][snapback]532540[/snapback][/right]


Damned_soilder is right that could glitch or even worse. The player could just move out of that area and attack from there. I want to know if the lurker auto-detects the enimie when in contact and then when it unburrows it follows the nearby unit and starts over but I was thinking like if there was an A.I script that does that.
Report, edit, etc...Posted by Xx.Doom.xX on 2006-07-27 at 11:08:01
Trigger
Players:
¤ Enemy Player
Conditions:
¤ Always();
Actions:
¤ Order(Lurker, Player, location*, Attack/Patrol, location*);
¤ RunAIScriptAt(Set Unit Order To: Junk Yard Dog, location*);
¤ PreserveTrigger();


Put Patrol because an enemy computer will attack no matter what and making it patrol will probably make it do what you want to do. But to be safe, try both. happy.gif

EDIT: All In StarForge Triggers
Next Page (1)