Difference between revisions of "Data Team Tips and Tricks"
LegacyKing (talk | contribs) (Created page with "==Tips and Tricks== ===How to Round up in PCGen=== PCGen doesn't round up easily, but this can be worked around using this simple solution: floor(JepVarName/2)+(0.50001)) ...") |
LegacyKing (talk | contribs) (→Toggle Display) |
||
Line 12: | Line 12: | ||
DESC:The standard Text. <tab> DESC:Additional Text Here|PRERACE:1,Foo | DESC:The standard Text. <tab> DESC:Additional Text Here|PRERACE:1,Foo | ||
+ | |||
+ | ===How to get New Lines in DESC tags=== | ||
+ | If you want to have a New Line break you may use '&nl;' in the code. | ||
+ | |||
+ | DESC:Expansive breadth of text. &nl; New Paragraph of text. &nl; Another new paragraph. |
Latest revision as of 03:11, 25 January 2012
Contents
Tips and Tricks
How to Round up in PCGen
PCGen doesn't round up easily, but this can be worked around using this simple solution:
floor(JepVarName/2)+(0.50001)) or floor(skillinfo("TOTALRANK","NameOfSkill")/2+(0.50001))
Toggle Display
PCGen has the nice ability to selectively display certain object with the use of PRExxx tags. Say you want to display a certain text, but a little more if the Race is 'Foo'
DESC:The standard Text. <tab> DESC:Additional Text Here|PRERACE:1,Foo
How to get New Lines in DESC tags
If you want to have a New Line break you may use '&nl;' in the code.
DESC:Expansive breadth of text. &nl; New Paragraph of text. &nl; Another new paragraph.