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?


  • kthorngrenkthorngren Posts: 20,591Questions: 26Answers: 4,823

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


Sign In or Register to comment.