• 0

    posted a message on Using AI to send attack wave, need help

    @Terhonator:

    You can also use "Issue order" action to order the Ultralisk to move at target point. That forces the Ultralisk to move there first and attack after it arrives to defined Point. If you just send attack wave it uses "attack move" and the Ultralisk attacks to first enemy on its path. (Trigger should be something like this: "Order Ultralisk to Move targeting Point01 Replace excisting orders")

    Well, I have the new script with the help from you guys below. I am using the send attack wave. I tested it by walling off the ultralisk on a cliff with supply depots and it is trying to get out without attacking the supply depot. So its using move command to area then attack when it gets there? Cause if the "send attack wave" trigger uses attack move wouldnt it attack the supply depot wall? What could fix this, I've hit a wall myself Lol....

    Unit Group - Pick each unit in (Any units in (Entire map) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                Actions
                    AI - Disable script control for (Selected units for player 13)
                    Player - Set player 13 difficulty level to Insane
                    AI Advanced - Set the APM count for player 13 to 500
                    AI - Add (Picked unit) to the next attack wave for player 13
                    AI - Add (5 / 5 / 5 / 5) Ultralisk to the attack wave
                    AI - Set the target for player 13 attack waves to (Enemies of player 13)
                    AI - Set the target for player 13 attack (or defense) waves to be the region Region 005 with replace behavior Replace Group.
                    AI - Send the attack wave from player 13 to attack in 0 seconds and Don't Wait

    Posted in: Triggers
  • 0

    posted a message on Using AI to send attack wave, need help

    @celerisk: Go

    Hey, I was trying out your method first but I searched and searched but couldnt find a way to get this line option you made.

    Pick every pre-placed unit of that player and AI - Disable script control for picked unit

    Can you guide me through it?

    Thanks

    Posted in: Triggers
  • 0

    posted a message on Using AI to send attack wave, need help

    Thanks for all the help! Im going to try them out today. Will tell you how it goes. Thanks alot!!!

    Posted in: Triggers
  • 0

    posted a message on Using AI to send attack wave, need help

    Scenario: One special ultralisk in the middle that scheduled to attack everyone, spawns more later. At first I used a trigger such as

            Unit Group - Pick each unit in (Any units in (Entire map) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                Actions
                    Unit - Order (Picked unit) to ( Attack targeting (Position of (Closest unit to (Position of (Picked unit)) in (Any units in (Entire map) owned by player Any Player matching Required: Heroic; Excluded: Missile, Dead, Hidden, with at most Any Amount)))) (Replace Existing Orders)

    But that came up with a lot of bugs such as the ultralisk attacking only people who built close by then going after further people, unfair. And then people would just wall off a base at a cliff and it wouldn't know how to circle to the back to the entrance to get in and attack. So i thought if i could get the computer to behave like it does in ladder where it knows to search for you and attack even if you walled off.

    I found the AI attack wave but have not figured out how to use it. Right now I have a trigger to spawn the ultralisk for player 13 but it doesnt move or do anything with this trigger :

            AI Advanced - Initialize the AI for player 13
            AI Advanced - Set the APM count for player 13 to 500
            Player - Set player 13 difficulty level to Insane
            General - Wait 15.0 Real Time seconds
            AI - Add (1 / 1 / 1 / 1) Ultralisk to the attack wave
            AI - Set the target for player 13 attack waves to (Enemies of player 13)
            AI - Set the attack wave gather point to (Random point in Region 001) for player 13
            AI - Set the target for player 13 attack (or defense) waves to be the region Region 005 with replace behavior Replace Group.
            AI - Send the attack wave from player 13 to attack in 0 seconds and Don't Wait

    Can anyone help me with this please.

    Thanks

    Posted in: Triggers
  • To post a comment, please or register a new account.