Skip to content

Commit

Permalink
use [remove_event] instead of variable logic
Browse files Browse the repository at this point in the history
description_num got removed at an earlier point

[ci skip]
  • Loading branch information
sevu authored and Vultraz committed May 2, 2017
1 parent 9cf2e79 commit 7771982
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions data/campaigns/tutorial/scenarios/01_Tutorial_part_1.cfg
Expand Up @@ -603,19 +603,12 @@

{PRINT ( _ "Attack the quintain with your fighters")}

{VARIABLE trying_to_be_a_wiseguy yes}

[event]
name=select
id=trying_to_be_a_wise_guy
[filter]
id=student
[/filter]
[filter_condition]
[variable]
name=trying_to_be_a_wiseguy
boolean_equals=yes
[/variable]
[/filter_condition]

[message]
speaker=Delfador
Expand All @@ -629,7 +622,9 @@
type=Elvish Fighter
[/filter]

{VARIABLE trying_to_be_a_wiseguy no}
[remove_event]
id=trying_to_be_a_wise_guy
[/remove_event]

{CLEAR_PRINT}

Expand Down Expand Up @@ -932,7 +927,6 @@
message= _ "After your victory notice, the map will be grayed out to indicate that the scenario is over; this is called <i>linger mode</i>. You will still be able to examine the final positions and state of your troops and any surviving enemies. When you’re finished, click the <b>End Scenario</b> button to go on to the next scenario in the campaign."
[/message]

{CLEAR_VARIABLE trying_to_be_a_wiseguy,description_num}
[/event]

[event]
Expand Down

0 comments on commit 7771982

Please sign in to comment.