The Daily Click ::. Forums ::. Klik Coding Help ::. NewLine$
 

Post Reply  Post Oekaki 
 

Posted By Message

Matt Boothman

The Nissan Micra of forum members

Registered
  20/09/2002
Points
  109

Game of the Week Winner
28th December, 2006 at 07:11:46 -

Make a string object (String1 for example), delete what's there and press enter once (to insert the new line character).

Then go to the event editor put (for example):
+click
-set alterable string(text object) to String1 + "your text"
and then it will add a new line with that text?

So instead of a newline character, you insert the characters of your string1, which is a single line break.

 
http://soundcloud.com/normbo - Listen to my music.

Aptennap



Registered
  23/04/2004
Points
  916
28th December, 2006 at 09:23:07 -

with string object you mean text object right?

 
Oh sweet mary.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
28th December, 2006 at 09:54:29 -

They're called String objects in MMF. Are they called something different in TGF? Does it matter? Try it and see.

 
n/a

Aptennap



Registered
  23/04/2004
Points
  916
28th December, 2006 at 10:42:32 -

Well i did what you said and it didn't work so i geuss it only works in mmf then.

 
Oh sweet mary.

Hernan



Registered
  04/03/2003
Points
  707

VIP Member
28th December, 2006 at 11:21:30 -

Heeheehee what a noob. He still doesn't understand
An example: http://hernanzhou.googlepages.com/Linebreaks.gam
If you still don't understand...Well forget it then

 
This space is for rent

Aptennap



Registered
  23/04/2004
Points
  916
28th December, 2006 at 15:39:27 -

Man i must be the biggest n00b evar. I did what you did but it doesnt work with me, I'll forget it

 
Oh sweet mary.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
28th December, 2006 at 18:42:28 -

How could it not work with you? Hernan just gave you a gam file with an example.

 
n/a

Aptennap



Registered
  23/04/2004
Points
  916
29th December, 2006 at 05:49:44 -

i added a text object, deleted the text and pressed enter, then i did Set text to AltString(text) + "my text", but it didnt work

 
Oh sweet mary.

Aptennap



Registered
  23/04/2004
Points
  916
29th December, 2006 at 05:53:05 -

Whoops im really sorry, it just didnt work with the game i was working on, i made a new game and it worked then,sorry.

 
Oh sweet mary.
   

Post Reply



 



Advertisement

Worth A Click