Map Database  •  FAQ  •  RSS  •  Login

SET_AI_ATTACK TARGET 1

<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 05 Apr 2011, 03:55

SET_AI_ATTACK TARGET 1

Is there a a secret that I don't know about SET_AI_ATTACK TARGET 0?
If I use SET_AI_ATTACK TARGET 2 the attack works perfectly. Can anyone help please?

It is quite frustrating because it seems to be the only attack where you can enable the enemy to properly use their bowmen :?
I used to spam this forum so much...
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 13 Apr 2011, 17:53

If you use !SET_AI_ATTACK TARGET 0, the enemy will attack your soldiers.
!SET_AI_ATTACK TARGET 1 makes the enemy attack your buildings. !SET_AI_ATTACK TARGET 2 is used to let the enemy attack your buildings as well. The difference is that with TARGET 1, the enemy will attack the building which is the nearest to his start position, while with TARGET 2 the enemy will attack the building which is the nearest to the troops that should attack.

I'm not sure about TARGET 1 though, I barely use it (if I do use it at all).
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 13 Apr 2011, 20:41

Darn! I gave this thread the wrong name :x It should be TARGET_0, as that is the one I have issues with. Anyway, for osme reason when I use !SET_AI_ATTACK TARGET 0, they won't do anything, but if I change it to SET_AI_ATTACK TARGET 1, it works.

Any idea why?
I used to spam this forum so much...
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 14 Apr 2011, 08:46

No. Are there any enemy units on the map?
I recall I too had a problem like that, that's why I always use TARGET 2 because it always works.
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 14 Apr 2011, 18:10

Yes, there were troops.

I wanted to use TARGET 0 because the enemy won't use their bowmen and crossbowmen very well otherwise. They just blindly send them into your soldiers' formation :?
I used to spam this forum so much...
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 16 Apr 2011, 20:50

Well that's Mr. AI's fault.
I don't know why TARGET 0 doesn't work while TARGET 1 does. That's a mystery for me too...
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 17 Apr 2011, 19:43

Attacks can be such ****** sometimes. I really don't think we will ever fully understand them. Like just the other day: an attack was working perfectly. I placed an extra group of soldiers for the human player and it stopped working, so I removed the added troops. And guess what. It still didn't work.
I used to spam this forum so much...

Return to “General Talk”

Who is online

Users browsing this forum: No registered users and 5 guests