Thread: Rolling Dice
-
July 30th, 2009, 10:15 #1
- Join Date
- Sep 2007
- Posts
- 11
Rolling Dice
I cannot figure this out, though I am no scripting expert.
I want to roll a d100, more specifically the 2d10 version. I know /die 2d10 works, but on a doubleclick command I cannot figure out how to roll 2d10. I can get it to roll d20, d100, etc -- but not 2d10.
What am I missing?
Code:function d10Check(type, bonus, desc, custom) table.insert(dice, "d10"); DieControlThrow(type, bonus, desc, custom, dice); end
-
July 30th, 2009, 17:03 #2
Insert a "d10" twice. A separate table entry is needed for each virtual die that is rolled.
-
July 30th, 2009, 19:43 #3
Or use the code listed here: https://www.fantasygrounds.com/forum...7&postcount=39
Using Ultimate license - that means anyone can play.
Valarian's Fantasy Grounds Rulesets
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks