DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Development => Topic started by: SuXue on April 11, 2010, 07:30:22 AM

Title: AIFindDropAttackTarget() always returning false?
Post by: SuXue on April 11, 2010, 07:30:22 AM
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!
Title: Re: AIFindDropAttackTarget() always returning false?
Post by: AlsoKnownAs on April 11, 2010, 08:19:47 AM
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 .
Title: Re: AIFindDropAttackTarget() always returning false?
Post by: Kernel64 on April 11, 2010, 10:20:26 AM
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?
Title: Re: AIFindDropAttackTarget() always returning false?
Post by: 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.
Title: Re: AIFindDropAttackTarget() always returning false?
Post by: SuXue on April 12, 2010, 06:37:21 AM
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