This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Until 1 Dec 2026 all licenses are 30 % off, for example the Indie Bundle for €69.30 instead of €99. The code BLACKFRIDAY is applied automatically at checkout.
See licenses Try it for freelocal scn = nil
function scene_change()
if not game.CurrentScene:isEmpty() and game.CurrentScene:getName() ~= scn then
scn = game.CurrentScene:getName()
game.CurrentCharacter.CharacterCurrentOutfit.OutfitRandomMinTime = 10000
game.CurrentCharacter.CharacterCurrentOutfit.OutfitRandomMaxTime = 20000
end
end
registerEventHandler("mainLoop", "scene_change")Hello,Your method is valid too. Mine is a bit more global, but the less system intensive method would probably be to add the random min/max time changes into the first frame of each & every random animation - like you said. In our case, we have quite a lot of random animations so I used my method to save some time.you can overwrite the RandomMinTime and RandomMaxTime values in the outfit via lua, but these dont get saved in the save files, so you may need to change them in the first frame of a started random animation:Characters["charname"].CurrentOutfit.RandomMaxTime = XXX (integer)Characters["charname].CurrentOutfit.RandomMinTime = XXX (integer)Edit: Damn, should go to lunch while posting xD
it has to be a definition script
This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Through December 1: all licenses 30% off, for example the Indie Bundle for €69.30 instead of €99. Applied automatically at checkout.