Staredit Network

Staredit Network -> UMS Assistance -> units no attack
Report, edit, etc...Posted by Menehunes on 2004-12-07 at 00:22:00
ok in this trailer i made at the last scene the units dont attack. well some do but most of them just walk into each other. and i did make a trig at this moment to make them enemies. if any one else can tell me y i would really like it
Report, edit, etc...Posted by Spite on 2004-12-07 at 00:45:25
I'm sorry can you be a bit more clear? I dont understand what your trying to say or ask?
Report, edit, etc...Posted by Screwed on 2004-12-07 at 03:33:02
The Order-Attack Action Command in starcraft for computers does function the same way they do with humans. When you order attack them to a location, they usually will not react to any units even if they are enemies. They respond when they are stuck and stopped moving.

The solution to your problem is, estimate where the units clash when they battle and order attack the units to there.

Or, another solution - which I canoot garauntee to work, but worth a shot is -

Set generic command point at the location you want them to attack to and order the units to patrol to upper left corner (the upper left corner is actually just the location you set for generic command point). Both 'generic command point' and 'patrol to upper left corner' can be found under "Run AI Script and location".
Report, edit, etc...Posted by Nozomu on 2004-12-08 at 16:00:32
Actually, to correct your first statement, Screwed, units ordered to attack with a trigger behave differently from units ordered to attack with, say, the mouse. They will only attack enemies in the location to which they were ordered. So if you make the location huge, they will attack a larger area. However, until they arrive in the location they won't attack any unit they see unless their way is blocked.
Report, edit, etc...Posted by ChaosRyder on 2004-12-08 at 18:06:44
... When you order units to atack to a location, they will go to it, ataking every enemies on there paths. To make them move without atacking, order them to move to a location. But watch out not to use Move to location trigger, this will only teleport them. You need to use the Order- Move Triggers
Report, edit, etc...Posted by Screwed on 2004-12-08 at 18:17:36
= =""

Sorri about this ChaosRyder, just a correction about your statement. Computers don't attack enemies on their way there if ordered by the Order-attack to command. SC is screwed up - they only attack once they have reached their destination or being stuck and then stopped by something on the way there.

That's what Nozomu and I were saying in our first 2 posts.
Report, edit, etc...Posted by SaLaCiouS(U) on 2004-12-08 at 22:16:58
If you have computers unallied they will attack eachother. Please refrain from making such ignorant remarks. Obviously units that are enemies of one another will attack eachother.
Report, edit, etc...Posted by KaboomHahahein on 2004-12-08 at 22:36:27
About the attack move thing.

It works, I'm almost certain. There is a few maps that use the attack to "location" and the units attack all the way to the location.

Takes those volcano maps for expample. The computr units attack to the certain location. Maybe some other triggers intefere with the attack order for some reason.
Report, edit, etc...Posted by SaLaCiouS(U) on 2004-12-08 at 22:40:24
The action does work. Always.
Report, edit, etc...Posted by MillenniumArmy on 2004-12-09 at 00:04:52
Sometimes when i make computer units attack to a location, they dont attack.

My solution: Use Patrol to location. They do attack whatever they bump into in this case
Report, edit, etc...Posted by AqoTrooper on 2004-12-09 at 10:40:58
about not attacking when they get the attack order, this is because they attack the tile - what means that you can use this only to attack buildings, not units.
if you tell it to attack a unit in the location it'll just go there.
so, as MillenniumArmy said, if you want it to attack enemy units you need to tell it to patrol, that way the units will attack any ground or air unit in their patrol range.
but agains building don't use patrol, use the attack, this is what it meant for.
Report, edit, etc...Posted by SaLaCiouS(U) on 2004-12-09 at 16:30:42
That information is 100% wrong. Patrolling is between two locations. Attack move means attacking towards a spot, attacking anything on the way.
Report, edit, etc...Posted by RexyRex on 2004-12-09 at 17:04:35
Lets do this: Upload the map, and someone wil fix it.

No more senseless flaming...
Report, edit, etc...Posted by Nozomu on 2004-12-10 at 01:53:18
QUOTE(SaLaCiouS(U) @ Dec 8 2004, 11:16 PM)
If you have computers unallied they will attack eachother. Please refrain from making such ignorant remarks. Obviously units that are enemies of one another will attack eachother.
[right][snapback]108078[/snapback][/right]

Actually, Sala, they will only fight back if attacked. Otherwise they will just pass by each other. Try it - order one group of units owned by a computer player at the far left side of the map to attack to a small location on the far right side and order another group of units owned by an enemy computer player on the right side of the map to attack to the far left side. They'll pass right by each other, stopping in the location to which you ordered them to attack. I'd make a demo for you but I don't have StarCraft on my Mac, and you could just do it yourself in 2 minutes.
Report, edit, etc...Posted by AqoTrooper on 2004-12-10 at 06:33:06
QUOTE(SaLaCiouS(U) @ Dec 10 2004, 12:30 AM)
That information is 100% wrong. Patrolling is between two locations. Attack move means attacking towards a spot, attacking anything on the way.
[right][snapback]108284[/snapback][/right]

if you think I'm wrong, test it.

this is how the 5 basic commands work:
1. stop - the unit will stand still and attack enemy units if being attacked, or if the units are half range away from it.
*note - if the unit is cloaked it'll attack enemy units only when being attacked.
*note - if the unit started attacking an enemy unit and that unit runs away, the unit will follow that unit to the distance of 5 times it's attack range.
*note - if the unit is a critter it'll randomly move around.
*note - this is the default command, and if the unit does no other command it'll do this one.
2. hold position - the unit will immidietly attack any unit in range, but will keep standing still even if it'll be attacked by a unit with a longer range.
*note - the unit will not follow enemy units, and will attack even when cloaked.
3. patrol - moves from current position to a chose position, than back, and repeating.
*note - attacks any unit in range like with hold position, and followes enemies like in stop.
*note - delays for 2 seconds in every of the patrol line ends.
*note - if it'll follow an enemy unit that started running away from it, it'll go back to it's patrol 3 seconds later.
4. move - the unit moves to a chosen position ignoring any enemies in it's way.
*note - it will wait 1 second in the reached area before responding to enemy attacks on it.
5. attack - if the attack was told to attack a sprite, it'll attack it if possible. if it was told to attack a tile - it'll attack it if possible.
*note - if the unit choosed to be attacked is away from range the unit will move to enter the needed range.
*note - if there is no sprite in the tile choosen, the unit will just move there like in the move command.

since the 'order' action allowes to to tell a unit only to attack a location, which chooses a tile, it can attack only building.
it won't attack units in the location, just move there.
you can try telling it to attack the unit sprite in SF, wish you luck ad no bugs, but there probobly will be.
Next Page (1)