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 result = 0
local items = game.CurrentCharacter.Items
for i = 1, #items do
if items[i]:getName() == "hammer" or items[i]:getName() == "nails" or items[i]:getName() == "wood" then
result = result + 1
if result == 3 then return true end
end
end
return falseYou set up your display text to show when the player has got the gun-with-bullet, but not the money-bag.... which would then shift the issue to "if have not the gun, but the money bag". So effectively you would need to have an else for each if statement.If you want the display text to show when the player hasn't the gun, you need to move the else down under the first end if.
return Conditions["item1_found" ].Value and Conditions["item2_found" ].Value and
Conditions["item3_found" ].ValueYep, that is true. If you move the else to the first if-query the text would display wether the player has the money bag or not. The engine would only check if the player has got the gun or not.You set up your display text to show when the player has got the gun-with-bullet, but not the money-bag.... which would then shift the issue to "if have not the gun, but the money bag". So effectively you would need to have an else for each if statement.If you want the display text to show when the player hasn't the gun, you need to move the else down under the first end if.
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.