This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
local obj = game:getLink(VGameCurrentObject)
if not obj:isEmpty() then
local text
if obj:getId().tableId == eObjects then
text = obj:getLink(VObjectName)
elseif obj:getId().tableId == eCharacters then
text = obj:getLink(VCharacterName)
end
if not text:isEmpty() then
local texts = text:getLinks(VTextAll)
for i=1,table.maxn(texts) do
local name = texts:getStr(VTextLanguageText)
local lang = texts:getLink(VTextLanguageLanguage)
if lang:getName() == 'Deutsch' then
print('german name: ' .. name)
elseif lang:getName() == 'English' then
print('english name: ' .. name)
end
end
end
end
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 free
local obj = game:getLink(VGameCurrentObject)
if not obj:isEmpty() then
local text
if obj:getId().tableId == eObjects then
text = obj:getLink(VObjectName)
elseif obj:getId().tableId == eCharacters then
text = obj:getLink(VCharacterName)
end
if not text:isEmpty() then
local texts = text:getLinks(VTextAll)
for i=1,table.maxn(texts) do
local text = texts[i]
local name = text:getStr(VTextLanguageText)
local lang = text:getLink(VTextLanguageLanguage)
if lang:getName() == 'Deutsch' then
print('german name: ' .. name)
elseif lang:getName() == 'English' then
print('english name: ' .. name)
end
end
end
end
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.