Liu-Kang
Member
It already works smoother than normal branches but alas, it still ends the same way... I'll offer my txt files in case I've slipped up anywhere-
Here's the beginning of my levels.txt. Right now getting to the secret area is no problem but it goes there after defeating the bosses no matter what:
Here's where the entity is spawned in the level itself, much before the bosses:
Now the branch entity itself:
Here's the beginning of my levels.txt. Right now getting to the secret area is no problem but it goes there after defeating the bosses no matter what:
set Kaiju-Royale
typemp 0
nosame 1
lives 5
credits 6
continuescore 1
cansave 2
skipselect
select data/levels/sel4.txt
scene data/scenes/01.txt
z 185 270 160
file data/levels/st1b.txt
branch PathB
file data/levels/st1b2020.txt
end
next
scene data/scenes/02.txt
z 200 270 160
file data/levels/st2.txt
next
Here's where the entity is spawned in the level itself, much before the bosses:
#-------2
wait
at 500
group 3 3
at 500
spawn Ufo
coords 226 234
at 500
spawn Kamacuras
coords -130 190
at 500
spawn Kamacuras
2pspawn 1
coords 750 210
at 500
spawn Bemular
3pspawn 1
coords 550 193
at 500
spawn branchb
coords 155 260
at 600
Now the branch entity itself:
name BranchB
nomove 1
nolife 1
score 0 -1
antigravity 100
candamage player
type none
shadow 0
anim idle
loop 1
delay 50
offset 110 102
followanim 1
followcond 1
attack25 82 94 52 10 0 0 1 1
dropv -8 0
frame data/chars/misc/2020goop16.gif
frame data/chars/misc/2020goop16.gif
frame data/chars/misc/2020goop16.gif
anim follow1
delay 50
offset 110 102
frame data/chars/misc/2020goop16.gif
@cmd jumptobranch "PathB" 1
frame data/chars/misc/2020goop16.gif
frame data/chars/misc/2020goop16.gif