Jump to content
Sign in to follow this  
Drumheller

Is there a way to make paragraph breaks in the briefing module?

Recommended Posts

Greetings. I am about to make a briefing module tutorial, but I want to know if there is a way to make paragraph breaks within the description field of the module itself.

If so, can someone tell me how? I'm sure it's something simple, but I can't figure out what search syntax to use to get a result for this.

Thanks!

Share this post


Link to post
Share on other sites

Hello MacScottie.. I am not sure how to add the breaks in the module (I haven't really tried using it in the A3 editor that much..) but you can still use the old method of creating the briefing by making a .sqf file and executing it in the mission's init.sqf file.. here is how to add the breaks in that. I am not sure if it would work in the module, but it is worth a shot.

It's pretty simple, just use the HTML code

</br>

after the line of text you want to break for single line break and

</br></br>

after the line of text you want to break for double line break.

An example in text...

player createDiaryRecord ["Diary",["Situation","The invasion of Takistan began last week following an intense aerial bombing campaign launched last month.<br/>Blabla more text here following the break."]];

An example in text of double break..

player createDiaryRecord ["Diary",["Situation","The invasion of Takistan began last week following an intense aerial bombing campaign launched last month.<br/><br/>Blabla more text here following the break."]];

Hope this helps!

Share this post


Link to post
Share on other sites

Thanks for the quick reply guys.

Unfortunately, it doesn't work. I'll open a ticket on the issue tracker.

p.s. Bink - Fuck Reskins ;)

Share this post


Link to post
Share on other sites

This definitely works, check your implementation.

Try this for in your description field:

This is line 1<br/>This is line 2 with a break<br/><br/>This is line 3 with 2 breaks

---------- Post added at 07:12 ---------- Previous post was at 06:54 ----------

If you would prefer an in game example, download my test mission:

https://dl.dropbox.com/u/9556723/ArmA3/Missions/module_diary_breaks.Stratis.7z

Edited by Nimrod
  • Like 1

Share this post


Link to post
Share on other sites
Thanks for the quick reply guys.

Unfortunately, it doesn't work. I'll open a ticket on the issue tracker.

p.s. Bink - Fuck Reskins ;)

Odd that it doesn't work.

I see that you have found that on my US Marines from A2? lol.

Share this post


Link to post
Share on other sites
This definitely works, check your implementation.

Try this for in your description field:

This is line 1<br/>This is line 2 with a break<br/><br/>This is line 3 with 2 breaks

---------- Post added at 07:12 ---------- Previous post was at 06:54 ----------

If you would prefer an in game example, download my test mission:

https://dl.dropbox.com/u/9556723/ArmA3/Missions/module_diary_breaks.Stratis.7z

God

damnit.

I made my tutorial video this morning without this ><

Well thanks! So note:

</br> DOES NOT WORK.

<br/> DOES WORK

  • Like 1

Share this post


Link to post
Share on other sites

Try this:
 <br/><br/>

  • Haha 1

Share this post


Link to post
Share on other sites
On 4/5/2013 at 2:12 AM, dna_uk said:

Try this for in your description field:


This is line 1<br/>This is line 2 with a break<br/><br/>This is line 3 with 2 breaks
 

 

QBitQDi.png

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  

×