Create account / Log in

Random in calculated property

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Random in calculated property

Postby kerkael » January 29th, 2018, 12:25 pm

Hi all,

I can't have this wor k : how to add a random number in a calculated property.
I know how to use the dice result, like this : {GetProperty("1d20_result")}.
But this result won't change until i roll the dice again !

How to make the random number generated in the value definition ?

I don't want to add a sequence of operations like : click the button -> rolls the dice -> calculated the property depending on the dice.

There must be a specific syntax to call for the dice to be rolled. Please ?

thx for your help
kerkael
 
Posts: 150
Joined: December 1st, 2017, 3:03 pm

Return to Module Design

Who is online

Users browsing this forum: No registered users and 1 guest