Another check for capture event to prevent it from firing at start of scenario

Correct wrong creep placement.
This commit is contained in:
Piotr Cychowski 2008-01-13 08:07:48 +00:00
parent e756482598
commit 25f856a3ad
2 changed files with 19 additions and 16 deletions

View file

@ -4,6 +4,9 @@
[event]
name=capture
first_time_only=no
[filter]
side=2,3,4
[/filter]
[terrain]
x=$x1
y=$y1

View file

@ -230,15 +230,15 @@
x=1-60
y=1-60
[/place_shroud]
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 2 22 25}
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 2 21 24}
{VARIABLE i 0}
#ifdef HARD
{FOREACH azkotep_casaulties i}
{VARIABLE azkotep_casaulties[$i].side 2}
[unstore_unit]
variable=azkotep_casaulties[$i]
x=22
y=25
x=21
y=24
find_vacant=yes
[/unstore_unit]
{NEXT i}
@ -251,7 +251,7 @@
[/variable]
[/not]
[do]
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 2 22 25}
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 2 21 24}
[/do]
[/while]
#endif
@ -375,15 +375,15 @@
x=1-60
y=1-60
[/place_shroud]
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 3 25 7}
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 3 23 6}
{VARIABLE i 0}
#ifdef HARD
{FOREACH ystara_casaulties i}
{VARIABLE ystara_casaulties[$i].side 3}
[unstore_unit]
variable=ystara_casaulties[$i]
x=25
y=7
x=23
y=6
find_vacant=yes
[/unstore_unit]
{NEXT i}
@ -396,7 +396,7 @@
[/variable]
[/not]
[do]
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 3 25 7}
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 3 23 6}
[/do]
[/while]
#endif
@ -632,15 +632,15 @@
x=1-60
y=1-60
[/place_shroud]
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 3 25 7}
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 3 23 6}
{VARIABLE i 0}
#ifdef HARD
{FOREACH ystara_casaulties i}
{VARIABLE ystara_casaulties[$i].side 3}
[unstore_unit]
variable=ystara_casaulties[$i]
x=25
y=7
x=23
y=6
find_vacant=yes
[/unstore_unit]
{NEXT i}
@ -653,7 +653,7 @@
[/variable]
[/not]
[do]
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 3 25 7}
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 3 23 6}
[/do]
[/while]
#endif
@ -897,15 +897,15 @@
x=1-60
y=1-60
[/place_shroud]
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 2 22 25}
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 2 21 24}
{VARIABLE i 0}
#ifdef HARD
{FOREACH azkotep_casaulties i}
{VARIABLE azkotep_casaulties[$i].side 2}
[unstore_unit]
variable=azkotep_casaulties[$i]
x=22
y=25
x=21
y=24
find_vacant=yes
[/unstore_unit]
{NEXT i}
@ -918,7 +918,7 @@
[/variable]
[/not]
[do]
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 2 22 25}
{UNIT_ (Walking Corpse) (Fallen Elf) ("Fallen Elf") 2 21 24}
[/do]
[/while]
#endif