Error in Enemies Groupins.

dantedevil

Well-known member
I have a txt with some enemies to test my mod.
I use this txt all time until today.
Now the openbor closes without any error in the log paying with all heros.
When i kill the first enemy group the opebor closes.

Here txt:
Code:
music		data/music/7.bor
background	data/bgs/stage1-1/panel.gif
panel	        data/bgs/stage1-1/panel.gif
frontpanel	data/bgs/stage1-1/front.gif
order           a

#-------1

Group 2 3

at 5


spawn	amazon
coords	-190 180 
health	60
map 1
at	5

Wait 
at 90

spawn	amazon
coords	380 175 
health	60
map 1
alias   amazon
at	90


spawn	amazon
coords	380 220 
health	60
map 1
at	90



#-------2

Group 3 3 

at	250


spawn	amazon
coords	280 180 200
health	50
map 1
alias   amazon
at	250


spawn	amazon
coords	360 200
health	60
map 1
alias   amazon
at      400

Wait 
at      550


spawn	amazon
coords	-140 220
health	60
map 1
at	550


spawn	amazon
coords	360 210
health	60
map 1
alias   amazon
at	550

spawn	amazon
coords	-60 180 200
health	50
map 1
alias   amazon
at	550

spawn	amazon
coords	350 200
health	50
map 1
at	550


#-------3

Group 3 3 


spawn	trash
item    lifeup
coords	340 175
at 700

at 700

spawn	amazon
coords	190 180 200
health	60
map 1
alias   amazon
at	700


spawn	amazon
coords	360 220
health	50
map 1
alias   amazon
at	850


Wait 
at 1000


spawn	amazon
coords	-130 220
health	60
map 1
at	1000

spawn	amazon
coords	140 180 200
health	60
map 1
alias   amazon
at	1000

spawn	amazon
coords	-150 200
health	60
map 1
at	1000

spawn	amazon
coords	350 225
health	60
map 1
alias   amazon
at	1000



#-------4

Group 3 3 

at 1150

spawn	amazon
coords	350 180
health	60
map 1
at      1150


spawn	amazon
coords	220 200 200
health	50
map 1
alias   amazon
at      1300


Wait 
at 1450


spawn	amazon
coords	-140 225
health	60
map 1
alias   amazon
at      1450


spawn	amazon
coords	360 180
health	60
map 1
at      1450

spawn	amazon
coords	-50 200 200
health	50
map 1
alias   amazon
at      1450

spawn	amazon
coords	360 225
health	50
map 1
alias   amazon
at      1450


#-------5


Group 3 3 


spawn	trash
item    lifeup
coords	340 175
at 1600

spawn	trash
2pitem  lifeup
coords	380 175
at 1600


at 1600

spawn	amazon
coords	190 180 200
health	50
map 1
alias   amazon
at      1600



spawn	amazon
coords	380 200 200
health	100
at      1755



Wait 
at 1755


spawn	amazon
coords	-140 180
health	60
map 1
at      1755


spawn	amazon
coords	360 220
health	60
map 1
alias   amazon
at      1755



spawn	amazon
coords	150 200 200
health	50
map 1
alias   amazon
at      1755

spawn	amazon
coords	350 225
health	50
map 1
at      1755

Any idea?
 
Sorry for the ] , thath not present in my level txt.
About the question, yes.
I test a few levels and when i kill the last enemy for the first group the OpenBor closes.
What happend here?
 
I found the error.

Change this:
Code:
#-------1

Group 2 3

at 5


spawn	amazon
coords	-190 180 
health	60
map 1
at	5

Wait 
at 90

spawn	amazon
coords	380 175 
health	60
map 1
alias   amazon
at	90


spawn	amazon
coords	380 220 
health	60
map 1
at	90

For this:
Code:
#-------1

at 5


spawn	amazon
coords	-190 180 
health	60
map 1
at	5

spawn	amazon
coords	380 175 
health	60
map 1
alias   amazon
at	90


spawn	amazon
coords	380 220 
health	60
map 1
at	90

Wait
at 90
 
I've just reread your level text and found the problem

#-------3

Group 3 3


spawn trash
item    lifeup
coords 340 175
at 700

at 700

and this too:

#-------5


Group 3 3


spawn trash
item    lifeup
coords 340 175
at 1600

spawn trash
2pitem  lifeup
coords 380 175
at 1600


at 1600

Both have same error: wrong at declaration. It should be placed after group
 
Back
Top Bottom