Jump to content
Sign in to follow this  
billw

Newline in editor script?

Recommended Posts

Sorry dumb question but I can't find an answer: how do I add new line in the script entry in the ingame editor? I tried pressing return (closes dialog), pressing ctrl+return, shift+return, they don't seem to work... I would like to make my script more readable as everything on the same line is just rubbish...

Share this post


Link to post
Share on other sites

\n

message too short

---------- Post added at 04:23 PM ---------- Previous post was at 04:22 PM ----------

or

<br/>

for tasks and diaries

Share this post


Link to post
Share on other sites

Just switch to using script files out-of-game once you get to the point where "one-liners" are no longer feasible.

@cuel: He's talking about the editor's init fields etc.

Edited by SandyBandy

Share this post


Link to post
Share on other sites
\n

message too short

---------- Post added at 04:23 PM ---------- Previous post was at 04:22 PM ----------

or

<br/>

for tasks and diaries

Sorry I did mean literally adding a new line in the script itself (i.e. after a ; ) to help make the script more readable. I would still like to put anything less that 5 lines or so in the editor rather than external, but it doesn't mean I don't want it also readable.

So basically you can't do it? That is just *wow*.

Thanks anyway!

Share this post


Link to post
Share on other sites

I should read more than the title ;)

Yeah you'd have to use .sqf files.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×