PDA

View Full Version : Results of dice roll from ActionsManager.processAction



BradYounie
March 27th, 2016, 21:10
I have a lua script that calls ActionsManager.performAction() to roll some dice. I need to have my script know what the results of the dice roll was. That is, if three dice were rolled, I need to know what each die rolled so that I can make some decisions based on them. But I have not been able to find any information on what performAction returns (if anything), or how to access the roll results once it's been made.

Can someone point me in the right direction?

damned
March 28th, 2016, 00:30
Perhaps have a look at the Mutant Year Zero extension. It checks the results of individual dice.

BradYounie
March 28th, 2016, 01:09
Perhaps have a look at the Mutant Year Zero extension. It checks the results of individual dice.

Thanks I will

BradYounie
March 28th, 2016, 03:25
Perhaps have a look at the Mutant Year Zero extension. It checks the results of individual dice.

That did it! Thanks. Dice explosions...check