I'm not really sure you can just force comment set text away from a character. You can reposition
all text spoken by the character &/or narration text though...
Just use the registerHookFunction with the textPosition hook.
local offset = 34 -- offset from bottom (in pixels)
local x = (game.WindowResolution.x / 2) -- calculate center value of resolution width
local y = (game.WindowResolution.y - offset) -- calculate offset of text from bottom
function txtPos(text)
text:setValue(VTextPosition, {x = game.ScrollPosition.x + x, y = game.ScrollPosition.y + y})
return true
end
registerHookFunction("setTextPosition", "txtPos")
...this script will automatically set the text to the bottom-center of the screen. Adjust offset to adjust distance from the bottom.