Create account / Log in

Tracking victory points in a deck

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Tracking victory points in a deck

Postby radchad » July 6th, 2012, 4:38 am

So I am making a module that has a deck of cards. Each card has a different victory point value associated with it.

I want to create a text label that lets me post the total amount (sum) of all the victory points of cards in a specific deck.

How would I do that?
radchad
 
Posts: 17
Joined: September 7th, 2010, 4:47 am

Re: Tracking victory points in a deck

Postby barbanera » July 6th, 2012, 8:18 am

Hint: perform counting of regular expression and either a combination of triggers to do the sum or, maybe, the new beanshell stuff will do it for you.
barbanera
 
Posts: 395
Joined: January 12th, 2012, 2:27 pm

Re: Tracking victory points in a deck

Postby radchad » July 6th, 2012, 2:56 pm

Is there a tutorial on perform counting of regular expression?
radchad
 
Posts: 17
Joined: September 7th, 2010, 4:47 am

Re: Tracking victory points in a deck

Postby radchad » July 7th, 2012, 12:33 am

Looks like the best way to do this that I found was creating a Game Piece inventory Window and using a sum function within a certain zone on the board.
radchad
 
Posts: 17
Joined: September 7th, 2010, 4:47 am


Return to Module Design

Who is online

Users browsing this forum: No registered users and 10 guests

cron