The Daily Click ::. Forums ::. Klik Coding Help ::. Stupid Q about strings...
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th April, 2004 at 20:07:57 -

When i choose "change alterable string" in the event editor, how would i make a line change thing ? i think it used to be \n or something, but that doesn't work ...

 
n/a

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
28th April, 2004 at 20:17:59 -

make a text object that has only one paragraph containing only a new line.

Then on the event editor, set the alterable string of your text thing you're working with(not the new line one) to "blah blah blah" + paragraph$( "moo...", 0 )+ " other stuff"

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th April, 2004 at 20:27:09 -

isn't that an awkward way of doing it ? i'm pretty sure there's a command or something for it...at least, i think i remember doing the \n thing back in the KnP days, so surely MMF must have a similar feature ?

 
n/a

cake



Registered
  13/12/2002
Points
  1173
28th April, 2004 at 20:59:23 -

I think its something like

"$newline"
or
"NewLine$"

something like that

 
n/a

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
28th April, 2004 at 21:11:18 -

I'm pretty sure it's NewLine$. You can check in the Special Conditions box in the expression editor.

 
http://www.klik-me.com

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
28th April, 2004 at 21:16:22 -

Yup, it's NewLine$

I never noticed that.

Use my method if you use TGF though. TGF doesn't have the convenient NewLine$ thingamabob.

 
n/a

Evil Monkey



Registered
  08/12/2002
Points
  598
28th April, 2004 at 22:09:11 -

You can just press Ctrl + Enter in the expression evaluator.

 
Project Progress:

1.: Droid Runner (5% Complete)
Finishing Up Game Engine

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
29th April, 2004 at 07:22:15 -

Evil - But if you are mixing strings it gets a bit more complex. Say you want two strings on differant lines:

string1.txt + Newline$ + string2.txt

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
29th April, 2004 at 08:41:09 -

ah..i thought that would be the proper syntax when i read about the newline thing, but the ctrl+enter just seemed to produce a syntax error... thx though

 
n/a
   

Post Reply



 



Advertisement

Worth A Click