Autogenerating d% Column in Table for Gaming

Autogenerating d% Column in Table for Gaming

BlackFalconKYBlackFalconKY Posts: 1Questions: 1Answers: 0

So, has anyone used datatables to create some code that will generate a "d%" column on a table (i.e., 1 to 100) for use as random generators for roleplaying games? Basically, if the number of rows is 100 or less, it on the fly generates a distribution of 1-100 range numbers in the column. Adding/deleting rows recalculates the percentage range per row. Would be incredibly useful for RPG random generators. Anyone seen/doing anything of the like?

Answers

  • kthorngrenkthorngren Posts: 20,276Questions: 26Answers: 4,765

    Not exactly what you are looking for but maybe this example will get you started.

    Kevin

Sign In or Register to comment.