Code: Select all
screen outfit_game():
default move = truecenter
add "mc big" at move
imagebutton:
idle "arrow left.png"
action (
SetScreenVariable("move", toOffscreenLeft),
Function(PreviousOutfit),
SetScreenVariable("move", fromOffscreenRight),
SetScreenVariable("move", truecenter)
)
imagebutton:
idle "arrow right.png"
action (
SetScreenVariable("move", toOffscreenRight),
Function(NextOutfit),
SetScreenVariable("move", fromOffscreenLeft),
SetScreenVariable("move", truecenter)
)How do I solve this problem? Is there a way to insert a variable change into an ATL transform or to add a callback to an ATL transform without breaking it, or maybe a way to make an action wait for the completion of the previous action? Or is there a better solution?