Won't attack gate.
#1
Posted 24 October 2009 - 05:58 PM
How can I fix this?
#2
Posted 24 October 2009 - 11:31 PM
3 solutions:
Put a tactical marker 'Gate' where it gate is (this may not work depending on whether this feature is redundant or not (it probably isn't)).
Create an area around the gate and make a non-deactivating script along the lines of IF Team 'Team/Player_X' (X= AI team) enters area '(area)' THEN Unit ref 'attack gate' closest unit to waypoint 'gate waypoint' on team 'Team/Player_X' - then another script - IF Unit 'gate' has health above 0 percent THEN unit 'attack gate' attacks unit 'gate'. *This will not work so well for many attackers.
Make the walls on team civilian so the only thing the enemy can attack is the gate.
I suggest the 1st and 3rd option.
#3
Posted 25 October 2009 - 10:57 AM
The third option will work bestMake the walls on team civilian so the only thing the enemy can attack is the gate.
I suggest the 1st and 3rd option.
Open the Minas Tirith map or the Helms Deep map
These are maps with a 'CASTLE DEFEND' type structure /gameplay
So the only place AI can attack first is the CLOSED gate
Ai are stupid and tend not to follow real world scenarios
They don't <Go for the Gate> but just <Attack anything AI feel like>
So force them into attacking the gate to get to the compound
#4
Posted 25 October 2009 - 05:46 PM
Usually, the computer will attack anything on its path until it reaches your base, so it is possibly a problem with the gate object itself: some of the gate placeables ingame aren't destructable.
Try placing a gate for the enemy, and see if you can really damage it to make sure.
Also, like Puzzler said you should set the walls to indestructible or TeamCivilian.
#5
Posted 27 October 2009 - 12:15 PM
Also, like Puzzler said you should set the walls to indestructible or TeamCivilian.
Except I think if you make them indestructible and keep them on the AI's enemy's team then the AI may still try to attack the walls and the result would be even worse...?
#6
Posted 27 October 2009 - 02:31 PM
Also, like Puzzler said you should set the walls to indestructible or TeamCivilian.
Except I think if you make them indestructible and keep them on the AI's enemy's team then the AI may still try to attack the walls and the result would be even worse...?
Unselectable then, just in case
#7
Posted 28 October 2009 - 11:52 AM
Make the Gate Player_1 etc
Basically make the Gate the Only thing the AI can Attack ,
Except for what's in the compound Walls
I'm sure you got the solution by now
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users