Questa discussione ha qualche anno. Alcuni dettagli potrebbero riferirsi a una versione precedente di Visionaire Studio. Tutorial aggiornati
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.
La versione gratuita consente fino a 25 scene per progetto. Per più scene e per vendere il tuo gioco ti serve una licenza. Fino al 01/12/2026 tutte le licenze sono scontate del 30 %, per esempio l’Indie Bundle a 69,30 € invece di 99 €. Il codice BLACKFRIDAY viene detratto automaticamente alla cassa.
Vedi le licenze Provalo gratisIf 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")Questa discussione è chiusa perché nessuno risponde da più di un anno. Puoi fare la tua domanda in una nuova discussione.
Nuova discussioneDeponia, The Whispered World e oltre 160 altri giochi sono nati con Visionaire Studio. La versione gratuita arriva fino a 25 scene. Per più scene c’è Visionaire Studio PRO da 75 €, e per vendere il tuo gioco l’Indie Bundle a 99 €.
Fino al 1° dicembre compreso: tutte le licenze scontate del 30 %, per esempio l’Indie Bundle a 69,30 € invece di 99 €. Sconto applicato automaticamente.