made it so the victory dialog just shows one time...

...if the last clan member you need to defeat is the last enemy leader
This commit is contained in:
Gunter Labes 2009-09-13 21:15:46 +00:00
parent 106f360712
commit 08ecbdce15

View file

@ -443,7 +443,7 @@
#enddef
[event]
name=die
name=last breath
first_time_only=no
[filter]
side=2,3,4,5
@ -476,12 +476,18 @@
[event]
name=enemies defeated
#
# Re-create Lord Bayar so he can talk. He's not dead;
# he's just out of commission.
#
{NAMED_LOYAL_UNIT 5 (Grand Knight) 8 54 (Lord Bayar) (_ "Lord Bayar")}
{BONUS_VICTORY}
[if]
[variable]
name=units_to_slay
greater_than=0
[/variable]
[then]
# Re-create Lord Bayar so he can talk. He's not dead;
# he's just out of commission.
{NAMED_LOYAL_UNIT 5 (Grand Knight) 8 54 (Lord Bayar) (_ "Lord Bayar")}
{BONUS_VICTORY}
[/then]
[/if]
[/event]
{campaigns/Heir_To_The_Throne/utils/deaths.cfg}