AIFindDropAttackTarget() always returning false?

Started by SuXue, April 11, 2010, 07:30:22 AM

Previous topic - Next topic

SuXue

When I try to control the drop attack function, I notice this strange phenomenon which prevents the AI from using it.

Please let me know if any of you has been successful in using it. Thanks!

AlsoKnownAs

What I found in the MeleeAI.galaxy

Quote// for now I'm not counting e_attackState_DropAttack as attacking, it is a specialized attack
    // and not easy for other AI's to coordinate with it

It does not literally means "Drop the attack", funny  :D .

Kernel64

I thought drop attacks only occur when the opponent has no base that doesn't require transports?

Or maybe it returns false if the AI has no transports?

Chriamon

Pretty sure it is a function for the AI to find where it should target its dropattack; that is, finds a base to send a transport with the dropwave's units to perform a drop. It doesn't have to be an island base I think.

SuXue

Quote from: Chriamon on April 12, 2010, 05:52:31 AM
Pretty sure it is a function for the AI to find where it should target its dropattack; that is, finds a base to send a transport with the dropwave's units to perform a drop. It doesn't have to be an island base I think.

And the problem is, the function sometimes return false even if there are good drop-off points in the enemy's base