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.