Thread: Automatic units
View Single Post
thebutcher
Senior Member
Volunteer Data File Author
 
Join Date: Apr 2005
Posts: 220

Old November 20th, 2006, 07:33 PM
Hey there,

Trying to add a unit automatically if a certain ruleset is selected for an army. When you play the Griffin army you can choose The Temple of the South ruleset. This allows you to purchase (at 5 points a piece) "Treasure" counters. They are available for use by any unit/model in the game so, I was going to automatically add a unit called "Treasure of the Temple" and a 5 point item for the counters.

As I was thinking about it I couldn't figure out how to add a unit automatically...is it even possible?

Oh, while I'm at it...these 5 point counters, you can have up to 10% of your total army's value in Treasure counters. So, if I use an accrued tag I can do something like this:
Code:
var x as number
var y as number

x = (tagcount[grTags.treasure] * 5)
y = (activesize * .1)
if (x <= y) then
  @valid = 1
endif
It seems to be working fine...figured I'd just check :wink:

Thanks!
Butcher

Warmachine/Hordes ('Retired' Confrontation and AT-43) Army Builder Author.
Magic the Gathering Card Vault Author.
thebutcher is offline   #1 Reply With Quote