Blockland Forums > Suggestions & Requests
Dice coding
Deathwishez:
For the 10 sided dice that counts by 10's, do this:
onActivate > Self > VCE_modVariable > [10x10Dice] set [1]
onActivate > Self > VCE_modVariable > [10x10Dice] random [10]
onActivate > Self > VCE_modVariable > [10x10Dice] multiply [10]
slimabob:
--- Quote ---onActivate > Self > VCE_modVariable > [4Dice] set [1]
onActivate > Self > VCE_modVariable > [4Dice] random [4]
--- End quote ---
What is the other output event, Brick, client, vehicle, player, or minigame?
slimabob:
ok, i cant get it to work... :1
Deathwishez:
--- Quote from: slimabob on March 31, 2010, 08:13:20 PM ---What is the other output event, Brick, client, vehicle, player, or minigame?
--- End quote ---
To be honest, any of them would work. For now, just use Brick.
Also, don't forget to show the variable via event print.
slimabob:
--- Quote ---VCE_modVariable > [10x10Dice] set [1]
--- End quote ---
So, do i need the ['s around the number?