![]() ![]() Have I found some weird bug or am I just missing something? Thanks. If visible_characters =get_total_character_count():Ĭurr_character = dialogueĮlif character = "!" or character = "?": (forgive the shoddy code if its off by 1 in some way as I have tried to reconstruct here without all the spaghetti debugging stuff and its been through many alternations and iterations), extends RichTextLabel I can also use the dialogue.length()-8 or -9 to provide the offset needed to get the proper pauses, but this isn't a great option as it won't let me use bbcode as i'd fully like and i'd have to add the tags to every line of text which just seems kind of hacky and not a good practice to rely on when i'm having a non-coder provide some dialogue in future. (this is something to do with get totalcharacters in Label not including whitespace for some reason). ![]() If I try to just use a regular text label with the following code, all the offsets are still off, despite there being no bbcode even added to the string. I have tried (and partially found) some solutions. However, for some reason it wont work consistently when bbcode is added like in the above example. If you see in the code below, it shouldn't be so difficult, I pass a variable which i think will return the current character being displayed, and if that character is a piece of punctuation, pause the char timer and wait until the pausetimer gives its timeout() signal. This is more commonly used in American English. You can easily improve your search by specifying the number of letters in the answer. Below are all possible answers to this clue ordered by its rank. We think the likely answer to this clue is SEMICOLON. Sales have increased every month since January. The crossword clue Punctuation for a pause with 9 letters was last seen on the September 01, 2018. What this means is that when i add a string like " This is a line of text, I think! And this is another poorly punctuated line, right?" instead of getting the pauses at the commas or question/exclamation marks it is at some offset. The full stop or period is the most common punctuation mark in the English language. It seems that the get totalcharacter_count() is different from the actual length of the string given (with added bbcode), and somewhere in this mix the visible character's variable is thrown off. However, for some reason I cannot get the pauses to match up with the characters when it gets round to actually displaying text. pause for a second when you reach a full stop). I am trying to write a way of displaying text which is able to pause (briefly) when certain characters are detected (e.g. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |