This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.
See the Indie Bundle Try it for freelocal cutsceneState = false
function checkCutsceneState()
if (not game.CutsceneAction:isEmpty() or not game.CurrentText:isEmpty() or game.HideCursor) and not cutsceneState then
cutsceneState = true -- update variable state to prevent looping (used to prevent setDelay function below from looping)
game.DrawActionText = eDrawNoActionText -- hide action text
elseif game.CutsceneAction:isEmpty() and game.CurrentText:isEmpty() and not game.HideCursor and cutsceneState then
cutsceneState = false -- reset variable state
setDelay(100, function() game.DrawActionText = eDrawActionTextAtCurrentPos end) -- enable action text after 100ms
end
end
registerEventHandler("mainLoop", "checkCutsceneState")