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:
parent
106f360712
commit
08ecbdce15
1 changed files with 13 additions and 7 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue