creating a die effect

Started by ginanubismon, Sun 31/08/2008 20:06:51

Previous topic - Next topic

ginanubismon

Hi, I was wondering how can create a "working" 20 sided die that is completely random.
"I shall call thee, Roger Ellison David Nicouli Etcher Calvin Kevin Sue in honor of what kind of a big jack@$$ you had been to guys like me." ADR -01 Jabberwock Type on fanfiction writers.

Dualnames

If it's not my fault, I 'd say I don't really understand what is a working 20 sided die.. if you could explain yourself I'd be happy to help you out.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

ginanubismon

Quote from: Dualnames on Sun 31/08/2008 20:50:36
If it's not my fault, I 'd say I don't really understand what is a working 20 sided die.. if you could explain yourself I'd be happy to help you out.

A 20 sided die is commonly used in pen and paper rpgs, a lot of tile board games and other things.

If it helps, here is a picture link.

http://upload.wikimedia.org/wikipedia/commons/c/c7/BluePlatonicDice.jpg

The die at the left end is a twenty sided die.
"I shall call thee, Roger Ellison David Nicouli Etcher Calvin Kevin Sue in honor of what kind of a big jack@$$ you had been to guys like me." ADR -01 Jabberwock Type on fanfiction writers.

Buckethead

I think you mean dice, not die. Anyway, you should have a look at the random function.  :)

Khris

Yes, just use
Code: ags
Random(19)+1
which will result in a random result from 1 to 20.

ginanubismon

Thanks, that will help.

Trivial fact: A die is a singular for dice.
"I shall call thee, Roger Ellison David Nicouli Etcher Calvin Kevin Sue in honor of what kind of a big jack@$$ you had been to guys like me." ADR -01 Jabberwock Type on fanfiction writers.

SMF spam blocked by CleanTalk