Community
SCI Programming => SCI Syntax Help => Topic started by: doomlazer on April 20, 2024, 12:46:23 PM
-
Anyone know where the character limit for wrapping strings to a newline in QfG4 lives? For Print statements you can set a custom "width:", but that doesn't work with messenger lines so a translator was asking how to change the default text width.
-
The talkWidth property on the Talker in question would seem to be it. I can't test just now.
-
Edit: Changing talkWidth works for talkers. Now I just need to find it for the non-talker default narrator lines. e.g., the first lines of the game in room 770 as the hero is waking up.
-
The narrator is an object too, and has a talkWidth property.
-
The narrator talkWidth is set to 0 and changing it does seem to work, but it turns out the translator wants to change narrator text dynamically per-line, which is difficult because most lines are called as sequences. I can't find a way to change per-line width in a way the translator could use easily. Oh, well.
-
Yeah, you're not gonna do anything
like that. If you want to limit the
thing's width, you're probably gonna
be stuck with hard-wrapping it all.
-
The French seem awfully concerned about text wrap formatting in general. That's the second translator I know who has made a point of it.