Convert a (unused) macro to use [goal]
This commit is contained in:
parent
e087bbfa59
commit
aafe86364b
1 changed files with 8 additions and 5 deletions
|
@ -340,12 +340,15 @@
|
|||
type=objective
|
||||
|
||||
[ai]
|
||||
[protect_location]
|
||||
x=$ai_controller.side_$ally_side|_current_settings.defend_location.x
|
||||
y=$ai_controller.side_$ally_side|_current_settings.defend_location.y
|
||||
radius=6
|
||||
[goal]
|
||||
name=protect_location
|
||||
[criteria]
|
||||
x=$ai_controller.side_$ally_side|_current_settings.defend_location.x
|
||||
y=$ai_controller.side_$ally_side|_current_settings.defend_location.y
|
||||
[/criteria]
|
||||
protect_radius=6
|
||||
value=20
|
||||
[/protect_location]
|
||||
[/goal]
|
||||
[/ai]
|
||||
|
||||
[option]
|
||||
|
|
Loading…
Add table
Reference in a new issue