Solved openborvariant("branchname")

Question that is answered or resolved.

ZVitor

Active member
at level.txt

Code:
branch spider
z 190 240 0
file	data/levels/DR.txt
end

i cant see the return of openborvariant("branchname"), even after use a branch item
Code:
drawstring(22, 22, 2, "teste:"+openborvariant("branchname")+"?");
My_Mod_0834.png



Im sure it should be something really stupid which i didnt figured, so plz help here :)




 
I tested this and it works. I've added it to my updated.c

Code:
drawstring(201,2,3,"stage:  "+openborvariant("current_stage"));
drawstring(201,22,3,"branch:  "+openborvariant("branchname"));

Once I touch the branch item, it will retrieve me the brunch name. ( I can't make a snapshot right now). But once the branch jump is done, the value got reseted.
72zspph.png


I think we need to inform this to the devs, because I thinnk this value should be persistent.

Do you need to identify the branch or the stage? You can add, at branch item, a set globalvar to stor the branch name.
 
Back
Top Bottom