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 free-- testing action text snippet which I pasted from the wiki...
function myActionText(mousePos)
-- individual action text: object name (in current language) of object below cursor, if there is no object then '<empty>' is shown as action text
local obj = game:getLink(VGameCurrentObject)
if obj:getId().tableId == eButtons then
return 'current object: ' .. obj:getTextStr(VObjectName)
end
return '<empty>'
end
registerHookFunction("getActionText", "myActionText")
--[[
Update action text of current language with new text
Written by AFRLme [Lee Clarke]
--]]
-- * function which updates the action text of an object for the current language * --
function setText(obj, txt)
local texts = obj.TextTextLanguages -- get all texts belonging to the object
-- + --
for i = 1, #texts do -- iterate through the stored texts
if texts[i].language == game.StandardLanguage:getId().id then
texts[i].text = txt; obj.TextTextLanguages = texts -- update old text with new text
break -- no need to keep iterating, cancel the loop
end
end
end
setText(Buttons["use"].ButtonName, "new text") -- far as I remember. something like that anyway!
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.