var d4 = (Math.floor(Math.random() * 4)+1); d4roll = d4;
As you can see, it’s just two lines – the first, identifying what the variables number will be, and the second, declaring the text box to be equal to the variable.
So, when the triangle button on the bottom of the module is pressed, a random number between 1 and 4 appears on the scroll above!
When I first started with Adobe Captivate, it seemed like a more flexible version of powerpoint. I’m beginning to see the power and utility behind the software, and it’s opening a lot of avenues for what I want to create in the future.