I want the caracher text, and dialogue text to also be placed down where the object text is. Does anyone know how to do that? Thank you in advance!
hello everyone, i followed the Tut. to manage text position but now i've to reset text position to default, how can i?
-- * function which updates the text position of displayed texts (character & narration) * --
function txtPos(text)
if Conditions["example"].Value then -- if condition "example" is true...
text:setValue(VTextPosition, {x = game.ScrollPosition.x + (game.WindowResolution.x / 2), y = game.ScrollPosition.y + (game.WindowResolution.y - 85)}) -- define the new text position
return true -- update text position
end
return false -- else don't update text position
end
registerHookFunction("setTextPosition", "txtPos") -- define the hook function for handling text position