A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »[Tutorial] Text Formatters

Author Topic: [Tutorial] Text Formatters (1 messages, Page 1 of 1)
Moderators: Dennis

sparky
Joined: Jun 27, 2009

Death does not bring you any closer to God.


Posted: Aug 22, 2017 07:13 PM    Msg. 1 of 1       
|n = newline character
|t = convert line into 4 columns
|l (L) = left-justify
|c = center
|r = right-justify

Know of any others?

|b = bold?
|i = italic?
|u = underline?
|p = paragraph?
|k = ?



SAPP Code in screenshot:
rprint(i,"|cLine 1")	--	1
rprint(i," ") -- 2
rprint(i," ") -- 3
rprint(i,"Pipe characters can be used to format text on the screen. Normal lines have 80..") -- 4
rprint(i,"..characters and there are 22 lines per screen. A space equates to a blank line:") -- 5
rprint(i," ") -- 6
rprint(i,"Pipe characters alter this somewhat. The pipe character (|) formats the text") -- 7
rprint(i,"based upon the character immediately following the pipe:") -- 8
rprint(i,"n = Newline inserted. Subequent text on that line is typically hidden.") -- 9
rprint(i,"1234|n5678") -- 10
rprint(i,"t = Tab columns occur on that entire row. 4 columns max -- more overwrite 4th.") -- 11
rprint(i,"1234|t5678|t90|t1234|t5678|t90|t1234|t5678|t90") -- 12
rprint(i,"l = Left-justified text afterwards. (5678)") -- 13
rprint(i,"|r1234|l5678|c90") -- 14
rprint(i,"c = Centered text afterwards. (5678)") -- 15
rprint(i,"1234|c5678|r90") -- 16
rprint(i,"r = Right-justified text afterwards. (5678)") -- 17
rprint(i,"1234|r5678|c90") -- 18
rprint(i," ") -- 19
rprint(i," ") -- 20
rprint(i," ") -- 21
rprint(i,"|cLine 22") -- 22

Edited by sparky on Aug 22, 2017 at 07:17 PM
Edited by sparky on Aug 22, 2017 at 07:48 PM

 

 
Previous Older Thread    Next newer Thread





Time: Tue September 26, 2017 5:11 AM 343 ms.
A Halo Maps Website