View Single Post
gkgnight
Senior Member
 
Join Date: Jun 2010
Posts: 133

Old February 6th, 2011, 02:14 PM
Quote:
Originally Posted by deadboy View Post
No, I mean ironclad as in the figure of speech. I just mean that there won't (immediately) be any alt rulesets where the limits will be other than the default.

I am working on a datafile for malifaux and am trying to figure out how to set some units to be unique and others limit X. I am trying to use the datafile for warmachine as an example but it has the dual drawback of being a system I am unfamiliar with AND being more complicated than I can easily understand.
ok if you want a unique unit....

1. Open your main *.dat file wtih all your generic rules and whatnot
2. select the rule tab
3. create a new rule, name it what you will for this example: "DupUn" will work for an id
4. set it's scope to roster
5. Type in your error message in the box, adn a brief error msg in teh sumamry box
6. for the script area type in the following:

if (tagcount[unitid.?] = tagunique[unitid.?]) then
@valid = 1
endif

7. Open up your armys *.dat file now
8. select the unit tab
9. select a unit you want to be unique
10. in the box labeled "other details" near the top right.... click the edit button
11. select "is uniqueness" and check the box
12. also select "generate id tag?" and select the box

Now you will only have 1 of that unit in your army or you will get a validation error.
gkgnight is offline   #7 Reply With Quote