[objectives][show_if] testcase.

This commit is contained in:
Alexander van Gessel 2009-04-19 19:07:12 +01:00
parent 49cb5c10b7
commit 0d47d1530e

View File

@ -253,6 +253,46 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
side=1
[/show_objectives]
[/event]
[event]
name=start
[objectives]
[objective]
condition=win
description= _ "Defeat the enemy leader (he's at 29,16!)"
[show_if]
[have_unit]
x,y,canrecruit,side=29,16,yes,2
[/have_unit]
[/show_if]
[/objective]
[objective]
condition=win
description= _ "Defeat the enemy leader (he's at 28,18!)"
[show_if]
[have_unit]
x,y,canrecruit,side=28,18,yes,2
[/have_unit]
[/show_if]
[/objective]
[objective]
condition=win
description= _ "Defeat the enemy leader (I have no clue where he is)"
[show_if]
[not]
[have_unit]
canrecruit,side=yes,2
[and]
x,y=29,16
[or]
x,y=28,18
[/or]
[/and]
[/have_unit]
[/not]
[/show_if]
[/objective]
[/objectives]
[/event]
[event]
name=moveto