Addendum:Ok, so although the below works in 6.99.13 (which I figured had issues with the on hide) it does not work in 6.99.14
Once again, directly a choice is made, the screen and all the buttons disappears without giving time for any transforms to run.
Has anyone got a choice screen 'on hide' transform running in the new version?
The nightly builds (since the 'on hide' fix that Tom implemented) allow the below code to work fine.
If I get time I will try running the transforms without each part of the code and try to find a neater solution.
As the title suggests, is there a way to delay the actions in the choice screen (or indeed any screen that automatically Hide()'s) so that on hide transforms have enough time to run?
Ren'py 6.99.13 with individual Transforms applied as ATL on each choice button in turn using 'on start' to show (as 'on show' doesn't work) and presumably 'on hide' to hide.
Currently, the click immediately hides the screen and shows the say window again.
I can get around that using a function call and set_transform_event("hide") on all the button transforms as long as I remove the actual i.action parts (which do not wait until the transforms are finished)
Unfortunately the action needs to return the chosen value to work with rollback (and indeed to continue the game)
Already tried:
Function effecting var = renpy.display.behavior.PauseBehavior( delay=1.5, result=renpy.run(i.action) ) => return var.event(None, 0,0,0)
Function( invoke_in_new_context, renpy.pause, 1.5 ) ... then the i.action bits
config.transition_screens = True ... no effect
Plenty of other possibilities too
Note: already tried old suggestions from forum which do not work in 6.99.13
Any ideas?