Endlevel and routes

O Ilusionista

Captain 100K
Hi guys, I got a little rusty and I have a question.
I want to make a level where when you beat all the enemies (like a normal level) it will spawn two entities (arrows, type none) which will use a jumptobranch code.

How do I prevent the stage to end when I spawn those arrows? Spawn them as endlevel type?
 
IIRC endlevel type could prevent level from ending but it has sideeffect such as nullifying fadeout FX or something
That's why I prefer to spawn fake enemy like this:

name    FakeEn
health 10
type    enemy
nomove  1 1
stealth 350
antigravity 100
offscreenkill 200
nodrop 2
defense all 0 2000


anim idle
loop 1
delay 100
offset 1 1
frame data/chars/misc/empty.gif

Spawn this together with the arrows and openbor will think there's one enemy left and thus prevents level from ending :)
 
Back
Top Bottom