Code: Select all
imagebutton xpos 1240 ypos 8 insensitive imb_n idle imb_i hover imb_h selected_idle imb_si selected_hover imb_sh action quickbtn[i][1]
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/nav/navigation.rpy", line 146: Syntax error while parsing python expression.
8 insensitive
^
Ren'Py Version: Ren'Py 6.17.2.319
Code: Select all
imagebutton:
xpos 1240
ypos 8
insensitive imb_n
idle imb_i
hover imb_h
selected_idle imb_si
selected_hover imb_sh
action quickbtn[i][1]
i.e. these all work*:
Code: Select all
imagebutton ypos 8 idle Null() action NullAction
imagebutton ypos 8 hover Null() action NullAction
imagebutton ypos 8 selected_idle Null() action NullAction
imagebutton ypos 8 selected_hover Null() action NullAction
Code: Select all
imagebutton ypos 8 insensitive Null() action NullAction
*for certain values of 'work'. If the screen is actually displayed there will be an error for the missing idle image in the other examples, but at least they will parse.