bob8010's Recent Forum Activity

  • Ahh, that works, thanks Tulamide. Still don't understand why the For Each wasn't working, but whatever, this'll do for now. Cheers!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Use the Window object's actions for scaling the window. Just set it to double / triple / quadruple your application's base resolution.

  • Thanks for the quick reply.

    I think I get it, yeah. My understanding was that using "NewLine" as the delimiter in the For Each would use the line breaks in the text file as the token, making each SubString = one line of the text file. Which could then be used to fill up the text box by, For Each SubString, setting it to its current contents + a line break (NewLine) + the current substring.

    But as I say, when I do that it only writes every second line, implying there's more than I'm seeing in how it separates the string with NewLine.

  • Hello, looking for a quick bit of help with the Text Manipulator object that doesn't seem to have been addressed elsewhere on the forum. I'm trying to use it to store some simple scripts for cutscenes / NPC scripted actions in a text file. I've got a few simple events in just to make sure it's reading the file line-by-line properly by filling a text box with the lines:

    TextManip: Load file "scripts.txt"

    -> For each substring, delimited by NewLine -> textbox: Set text to textbox.Text + NewLine + TextManip.GetCurrentSubString

    When I do this, it only writes every second line into the text box. What am I doing wrong, here? Can't quite figure out how it delimits substrings.

bob8010's avatar

bob8010

Member since 9 May, 2011

None one is following bob8010 yet!

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies