Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: KozTheBoss on April 12, 2013, 02:45:02 PM
-
yet another problem that i have run into =( I've looked on the Unity forums, and it seems that \n should make a new line and \t is tab, but none of them work when i input text via playmaker :(
Is there any way to make a line break via playmaker?
-
I was just messing with this last night for some triggers, and nothing worked /t /n nothing iv been looking into it and cant find anything yet. If you find anything let me know.
-
The only workaround for this is to copy and paste a return character (for example, from notepad).
Tested and works - I stored the return character as a string and then use build string with the separator as the stored return character :)
-
@Lamp do u have any screen shots of this, showing how u did this? anything would help.
-
Sure thing - the return character part is hard to screenshot :P but ill explain
Open up textEdit, hit enter, select all, copy! you now have a return character in your clipboard. Create a string variable in playmaker with the return character.
See actions below
(note you dont need the GUI text updating everyframe unless you need it to)
-
hey man :) thanks for taking your time to figure this out! I will try this asap :)
-
Works like a charm! Thank you very much! :)
-
it works great ty
-
Sorry for posted in the old post (but it's related)
I am using Window and can't resolve using the advised method (create a newline character in text editor > select all >copy & paste to a new variable)
I have attached the working scene (am using NGUI instead of UGUI).
Thanks for the help in million :)