my first scripting project...

Post » Thu Sep 26, 2013 3:18 pm

Now that I've got everything up and running, the first project I'm going to attempt is to make a pillar play a 3d6 game with me through message boxes. I've already got the 3d6 game designed, and I've programmed the game in C++, so I'm just trying to translate it to papyrus to get a handle on how things are done.

So far I've got the script attached to the pillar generating an array of 3 random numbers between 1 and 6. I've got a message box attached via properties. My first question: How can I display the members of the array in the message box? I tried just putting:

threeDeeSix[0] threeDeeSix[1] threeDeeSix[2]

in the text box--it seemed to work when I only displayed one element, but displaying all of them didn't work. Any help would be appreciated.

User avatar
Jeneene Hunte
 
Posts: 3478
Joined: Mon Sep 11, 2006 3:18 pm

Return to V - Skyrim