I have just started to use this editor, I am pretty familiar with the triggers and such already. But for some reason they made doing simple things in SC2 a pain in the ass.
In SC1, I'd make a siege tank, and 2 regions, one for picking out the siege tank and one for where I want him to shoot. Then I'd simply make the trigger tell him to keep shooting there. He would not then instantly blast away any unit that came within his range, he did what the trigger told him.
So, I have made 3 Siege tanks, 3 regions and a few points. I want the siege tank in Region1 to fire at Point1, and Point2, then loop. I have a trigger that initiates every 5 seconds.
Unit Group - Pick each unit in (Any units in Region1 owned by player 15 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack targeting Point1) (After Existing Orders)
Unit - Order (Picked unit) to ( Attack targeting Point2) (After Existing Orders)
So is there a way for me to disable the auto attack and get it to fire the siege shells at those 2 points? any help is appreciated.
Why aren't the line returns working? Guess I have to double space.
I just tried the AI triggers, disabling the AI for the tanks is not stopping them. I excluded all AI Filters, and set Tactical AI to None. It's still shooting as it pleases.
I had made this in weapon data. There should be some field that control range of search target. I am not at my PC right now, so can't tell you exect field. Hope you'll find.
Also check flags of weapon.
I have just started to use this editor, I am pretty familiar with the triggers and such already. But for some reason they made doing simple things in SC2 a pain in the ass.
In SC1, I'd make a siege tank, and 2 regions, one for picking out the siege tank and one for where I want him to shoot. Then I'd simply make the trigger tell him to keep shooting there. He would not then instantly blast away any unit that came within his range, he did what the trigger told him. So, I have made 3 Siege tanks, 3 regions and a few points. I want the siege tank in Region1 to fire at Point1, and Point2, then loop. I have a trigger that initiates every 5 seconds.
Unit Group - Pick each unit in (Any units in Region1 owned by player 15 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked unit) to ( Attack targeting Point1) (After Existing Orders)
Unit - Order (Picked unit) to ( Attack targeting Point2) (After Existing Orders)
So is there a way for me to disable the auto attack and get it to fire the siege shells at those 2 points? any help is appreciated.
Why aren't the line returns working? Guess I have to double space.
try something like Disable AI control of unit (maybe in Advanced AI in trigger functions?)
Or in unit properties delete AI things there, responses etc.
I just tried the AI triggers, disabling the AI for the tanks is not stopping them. I excluded all AI Filters, and set Tactical AI to None. It's still shooting as it pleases.
The tank doesn't have the ability to fire without target has he? with attack point he tries to move there and attack every unit in sight.
like pressing A or T and click on a point on the map
Oh, he was able to do it in SC1. How can I edit his ability to do so?
I had made this in weapon data. There should be some field that control range of search target. I am not at my PC right now, so can't tell you exect field. Hope you'll find. Also check flags of weapon.
don't know this but a workaround would be an immortal invisible unit with no collision and firing at it