Create account / Log in

Sum together dynamic property

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Sum together dynamic property

Postby greenknight » December 14th, 2020, 9:36 am

What I'm trying to do:

- I have a bunch of discarded pieces that's been dragged to a discard pile (a map window).
- Each pieces has a corresponding cost in points (a dynamic property).
- I want to use a Global Key Command or something similar to sum together the points of all the pieces in that map window, and report it to the chat log.
greenknight
 
Posts: 75
Joined: November 18th, 2015, 9:46 pm

Re: Sum together dynamic property

Postby Benkyo » December 18th, 2020, 10:48 pm

Have the discard as a deck, have the deck count properties, have another piece on the same map use the sum of those properties and a trigger to generate a report in response to the GKC.
Benkyo
 
Posts: 326
Joined: March 13th, 2013, 11:02 pm


Return to Module Design

Who is online

Users browsing this forum: No registered users and 2 guests