Originally Posted by: I^Love^Mixery 
They probably try to garrison a destroyed building or they think they are still inside a building.
You could try to remove (Unit -> Delete or Remove -> Remove) any building if it is destroyed. Or you could try to entirely destroy any building once it is un-garrisonable (too much damage).
I believe you are right. Instead I make them go back into the humvees ready to move if possible.
So I have played maybe 10 games online with other people. Pretty fun but there is one serious issue. As a team we all bunker up and the computer has a flaw for this. The computer moves to nearest humvees but because of this they do not attack very well while moving. They just keep moving. Is there something I could add to this? BTW, the humvees are stealthed.
Code:
Happens every frame when enabled*** IF ***
Counter 'ComputerArea5RandomTimer' IS Equal To 0
*** THEN ***
Unit '5a' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5a' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5a' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5b' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5b' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5b' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5c' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5c' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5c' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5d' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5d' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5d' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5e' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5e' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5e' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5f' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5f' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5f' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5g' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5g' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5g' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5h' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5h' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5h' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5i' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5i' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5i' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5j' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5j' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5j' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5k' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5k' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5k' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5l' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5l' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5l' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5m' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5m' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5m' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5n' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5n' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5n' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5o' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5o' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5o' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5p' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5p' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5p' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5q' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5q' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5q' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5t' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5t' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5t' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5u' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5u' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5u' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5v' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5v' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5v' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Unit '5w' will move towards the nearest 'AmericaInfantryPilot' within area 'HuntingArea'
Unit '5w' will move towards the nearest 'AmericaVehicleMedic' within area 'HuntingArea'
Unit '5w' will move towards the nearest 'AmericaVehicleHumvee' within area 'HuntingArea'
Maybe I could just enable it every 1 second or longer? Maybe they would then not get so close?
What about attack move? I tried attack move on unit one time and I believe it did nothing because they are stealthed.
Edit: It isn't enabled every frame though anyway because it deactivates. I will have to test hunt but I believe that only works when the command center is accessible being this map has it cut-off the computer does nothing.
Newest update:I did some testing and nothing worked for me except this seems to work:
Unit '5e' changes his attitude to Aggressive
He tries to move at same time but stops and shoots then tries to move but still stops to shoot. This looks very aggressive and works for me. He attacked the bunker first tried to move but it was like instant stop, shooting at the bunker like crazy, moved VERY small step forward shooting still at bunker. So I will add this in at start correct?
Edited by user Monday, January 6, 2014 11:26:02 PM(UTC)
| Reason: Not specified