Difference between revisions of "Data Team Tips and Tricks"

From PCGen Wiki
Jump to: navigation, search
(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)) ...")
(No difference)

Revision as of 03:08, 25 January 2012

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