In that case, can I please make a feature request to implement something like:
Code:
playBackgroundMusic("nameofmusicfile")
... in a future SexScripts version, which works like playBackgroundSound but repeats the sound automatically when it ends (while playBackgroundSound keeps its current functionality)?
I don't want to be a pain, but this seems like a huge missing feature; it's something you can do in many other scripting engines, and not being able to do it in SexScripts is a real limitation.
In the meantime, I've *almost* got a workaround, but I need to know how to "time out" a getSelectedValue request (as you can with a showButton), like:
Code:
def timedbutton = showButton("This button will click itself in 10 seconds", 10);
How/can this be done with "getSelectedValue"? Either the script picking a value if the player makes no input or just returning 0 or even null would likely work for my use (all I need is some kind of "advancement without input", as with the showButton example above).
Alternately, if doing this just isn't possible AND if some sort of playBackgroundMusic function is totally impossible to implement (forgive me if I am asking the impossible there with groovy!), than could a similar optional parameter that "times out" a getSelectedValue input be added similar to showButton?