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.
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.
Just telling it to attack to location should make it burrow when it reaches that location.
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....
If you continuously order them to attack, you'll make them glitch around, burrowing and unburrowing, sometimes not burrowing at all.
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...
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.
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.
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.
EDIT: All In StarForge Triggers