MysticalMist
Well-known member
I'm redesigning a level currently and I added some custom intros for my enemies that are called via script within the level file.
For some reason, after all of the enemies are cleared, the level doesn't proceed nor end. Here is the portion of code at the end of the level, and when this is removed, the issue disappears randomly. Though I still want to implement it. I've done this before just fine, so I dunno why it's buggy this time around.
For some reason, after all of the enemies are cleared, the level doesn't proceed nor end. Here is the portion of code at the end of the level, and when this is removed, the issue disappears randomly. Though I still want to implement it. I've done this before just fine, so I dunno why it's buggy this time around.
Code:
wait
at 1400
group 3 3
at 1400
spawn TartS
alias Tart
coords 490 273
at 1400
spawn Sanchez
health 100
@script void main() {
performattack(getlocalvar("self"), openborconstant("ANI_FOLLOW12"));
} @end_script
coords 320 209
map 1
at 1400
spawn TartWindow
health 1
alias Ember
coords 464 213 75
map 1
at 1400
spawn Sanchez
health 100
@script void main() {
performattack(getlocalvar("self"), openborconstant("ANI_FOLLOW12"));
} @end_script
coords 419 208
map 1
at 1400
spawn Tart
@script void main() {
performattack(getlocalvar("self"), openborconstant("ANI_FOLLOW12"));
} @end_script
coords 86 207
flip 1
at 1400
spawn Tart
@script void main() {
performattack(getlocalvar("self"), openborconstant("ANI_FOLLOW12"));
} @end_script
coords 371 207 75
at 1400
spawn Sanchez
coords 495 276
map 1
at 1400
