It appears you have not registered with our community. To register please click here ...

May 18, 2012, 05:11:20 AM

Author Topic: AIFindDropAttackTarget() always returning false?  (Read 373 times)

SuXue

  • Resident
  • **
  • Posts: 39
    • View Profile
AIFindDropAttackTarget() always returning false?
« 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!

DarkBlizz - Making Battle.net Magic -

AIFindDropAttackTarget() always returning false?
« on: April 11, 2010, 07:30:22 AM »

AlsoKnownAs

  • Member
  • ***
  • Posts: 42
  • Having a drink in some bar far from Earth
    • View Profile
Re: AIFindDropAttackTarget() always returning false?
« Reply #1 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 .

Kernel64

  • Sr. Member
  • ****
  • Posts: 207
    • View Profile
Re: AIFindDropAttackTarget() always returning false?
« Reply #2 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?

Chriamon

  • Resident
  • **
  • Posts: 28
    • View Profile
Re: AIFindDropAttackTarget() always returning false?
« Reply #3 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.

SuXue

  • Resident
  • **
  • Posts: 39
    • View Profile
Re: AIFindDropAttackTarget() always returning false?
« Reply #4 on: April 12, 2010, 06:37:21 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

DarkBlizz - Making Battle.net Magic -

Re: AIFindDropAttackTarget() always returning false?
« Reply #4 on: April 12, 2010, 06:37:21 AM »