The search keyword must be a single word (no spaces).
Function AnyPlayerAttack
- Line
- 2062
- Location
- common.ai
- Constant?
- no
- Type
- function
- Arguments
- nothing
- Returns
- nothing
| 2062 | function AnyPlayerAttack takes nothing returns nothing |
| 2063 | local unit hall |
| 2064 | |
| 2065 | set hall = GetEnemyExpansion() |
| 2066 | if hall == null then |
| 2067 | call StartGetEnemyBase() |
| 2068 | loop
|
| 2069 | exitwhen not WaitGetEnemyBase() |
| 2070 | call SuicideSleep(1) |
| 2071 | endloop
|
| 2072 | set hall = GetEnemyBase() |
| 2073 | endif
|
| 2074 | |
| 2075 | call SetAllianceTarget(hall) |
| 2076 | call FormGroup(3,true) |
| 2077 | call AttackMoveKillA(hall) |
| 2078 | endfunction
|