*********** REPLY SEPARATOR *********** On 20/03/2006 at 9:04 AM triasge wrote:
>--- In [email protected], "Tim McCarron" ><[EMAIL PROTECTED]> wrote: >> >> Hi Brent, that sounds great :) >> > >It would also be useful to not just have the total dice roll be >assigned to a global variable but the individual rolls as well. This bit shouldn't be too hard and will make it useful for symbolic dice also. A DiceButton named 3d6 that rolls 1,3,5 would set properties 3d6_total = 9 3d6_die1 = 1 3d6_die2 = 3 3d6_die3 = 5 >For >instance having 3 dice rolled with a result of 3, 4, and 1. Each >rolled value is then stored. Roll three dice again and get 2, 1, 1 and >assign these to variables. Then compare the rolls. 3 beats 2, 4 beats >1 and 1 draws with 1. > >This will enable triggers to set off depending on how many "wins" you get. This might be getting a bit beyond the design parameters :) Cheers, Brent. ____________________________________________________________ Brent Easton Analyst/Programmer University of Western Sydney Email: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vassalengine/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
