This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
function SCUMMActionText(mousePos)
local obj = game:getLink(VGameCurrentObject)
local verb = game:getLink(VGameActiveCommand):getTextStr(VButtonName)
local obj_name = obj:getTextStr(VObjectName)
if obj:getId().tableId == null then
return verb
end
if obj:getId().tableId == eObjects then
return verb
end
if obj:getId().tableId == eObjects then
return verb .. ' ' .. obj_name
else
return verb
end
end
registerHookFunction("getActionText", "SCUMMActionText") if obj:getId().tableId == null then
return verb
endIf a command is set, (eg "Use") and then an object exist (Item, Character, Scene Obj)
return verb + object (eg Use the chair) as above.
IF command is set + object exist AND left mouse is clicked
return verb .. ' ' .. obj_name EVEN if the mouse exits the object area, until action is performed.
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.Black Friday: the Indie Bundle is 30 % off until 1 Dec 2026, €69.30 instead of €99. The code BLACKFRIDAY is already applied.
Get 15 % off Try it for freeIf you wish, please check this video: https://vimeo.com/220475028/97f35289cfI like it. For which age (figur looks "kawai"...)?(This video is in Italian, English translation will be available as soon Italian version has finished)
Hello everyone, thanks for the replyah, now i understand.I've probably explain the problem in a wrong way, sorry for my bad English.@AFRLme @SebastianI've tried that option, but I need the action text phrase only to stay there until the action is performed, even if I move the mouse cursor outside the object. Please take a look to the video:You can see what happens with "Never" and "Always", then at 1:09 minutes Youcan see how Monkey Island manage the action text.I'm trying to obtain the "Monkey Island" style action text.@SebastianCool! Your video tutorial will help me a lot, I'll watch it for sure, many thanks@MachtnixLike Monkey Island 1&2 so I think is rated E. It is not a child game, but the game is making fun of Anime cliches, Adventure Graphic cliches and citation, in a personal style. I hope you like it
function Myaction(mousePos)
return 'my custom phrase here'
end
registerHookFunction("getActionText", "Myaction")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.
Until December 1: the Indie Bundle is 30% off with the code BLACKFRIDAY, €69.30 instead of €99.