times \n Doesn't Work in the LE Anymore

  • Weather
  • Weather's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 483
  • Thank you received: 262
15 Feb 2016 22:36 #1
Is this intentional? Originally, when \n is typed into the text dynamic field of a help trigger, it would show up in-game as a newline.
However, in one of the updates to MBP (around 1.6?) Doing so would instead add another backslash to the code (in the .mis file \\n is there instead of \n), which causes \n to actually appear when the marble touches the trigger instead of a newline.

I found this annoying because I often use it and was wondering if this is on purpose, and if not, is it too hard to fix?

Please Log in or Create an account to join the conversation.

  • Three
  • Three's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • level designer
  • Posts: 468
  • Thank you received: 349
16 Feb 2016 03:51 - 16 Feb 2016 03:52 #2
Can confirm this happens, it's definitely a bit annoying. It's likely because there was a change to formatting in the level editor so you could type words in a help trigger without having to include backslashes. For now, you can just add \n in the .mis file using Notepad.

Follow me on twitter at @threefolder
Last edit: 16 Feb 2016 03:52 by Three.

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1333
  • Thank you received: 604
16 Feb 2016 04:10 #3

so you could type words in a help trigger without having to include backslashes


Yeah, when I updated the Inspector (thing where you enter text in the editor), I told it to not collapse \ escapes. I can revert that if it is necessary.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

Please Log in or Create an account to join the conversation.

  • Weather
  • Weather's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 483
  • Thank you received: 262
16 Feb 2016 16:46 #4
Maybe add an option in the world editor settings to not add another backslash when \n is typed? For now though, I have been using the replace feature in Notepad to replace \\n with \n.

By the way, could you by any chance fix the axis in the LE? If you try to use it to move an object, it moves it by what I'm guessing is the move scale in the settings per pixel, making it very sensitive if you want to move it to a specific point, so instead I've been (ctrl +) dragging objects without the axis and using the round coordinates button.

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 0.920 seconds
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.