DrZombi
Content Creator
- Joined
- Jul 10, 2016
DI0 is your line name, this is not a variable. I don't get what you mean by "if DI0 is 0". DI0 does not hold any value :-/
Also, your buttonon line seems useless as you can chain BUTTONALL_OFF and BUTTONX_ON with no problem.
Here is an example of a menu initializing line taken from my dialogue template:
setup_menu_undress_INSTANT:"[BUTTONALL_OFF][BUTTON*8 x ( useUndressButton == 1 )*_ON][BUTTON*7 x ( undressGP1Count > 0 )*_ON][BUTTON*6 x ( undressGP2Count > 0 )*_ON][BUTTON*5 x ( undressGP3Count > 0 )*_ON][BUTTON*4 x ( undressGP4Count > 0 )*_ON][BUTTON*3 x ( undressGP5Count > 0 )*_ON][BUTTON1_ON][*followingLine*]" {"style":"Thought","set":{"da.button8.name":"Any","da.button7.varname":"undressGroup1","da.button6.varname":"undressGroup2","da.button5.varname":"undressGroup3","da.button4.varname":"undressGroup4","da.button3.varname":"undressGroup5","da.button1.name":"Back"}}
Hope you'll find this useful !
Also, your buttonon line seems useless as you can chain BUTTONALL_OFF and BUTTONX_ON with no problem.
Here is an example of a menu initializing line taken from my dialogue template:
setup_menu_undress_INSTANT:"[BUTTONALL_OFF][BUTTON*8 x ( useUndressButton == 1 )*_ON][BUTTON*7 x ( undressGP1Count > 0 )*_ON][BUTTON*6 x ( undressGP2Count > 0 )*_ON][BUTTON*5 x ( undressGP3Count > 0 )*_ON][BUTTON*4 x ( undressGP4Count > 0 )*_ON][BUTTON*3 x ( undressGP5Count > 0 )*_ON][BUTTON1_ON][*followingLine*]" {"style":"Thought","set":{"da.button8.name":"Any","da.button7.varname":"undressGroup1","da.button6.varname":"undressGroup2","da.button5.varname":"undressGroup3","da.button4.varname":"undressGroup4","da.button3.varname":"undressGroup5","da.button1.name":"Back"}}
Hope you'll find this useful !