Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Dragon2012 at excite.com
Guest
 
Posts: n/a

Old July 26th, 2001, 06:24 AM
I want to make a unit that is type honor limited to 1 per army.

I have assigned type:honor to the corrct units.

Then i tried umax:1u (but I dont know what the "#" is in #istype)




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Small business owners...
Tell us what you think!
http://us.click.yahoo.com/vO1FAB/txz...SFAA/IMSolB/TM
---------------------------------------------------------------------~->
  #1 Reply With Quote
drothman.dmth94 at gtalum
Guest
 
Posts: n/a

Old July 26th, 2001, 11:29 AM
since you've already got the unit(s) type-marked, I'd use a race
attribute for validation, rather than something on the unit. My
recommendation would be:
ulmt:type=honor-max@unit=1
optionally, add: -msg=<message id>

--- In armybuilder@y..., Dragon2012@e... wrote:
> I want to make a unit that is type honor limited to 1 per army.
>
> I have assigned type:honor to the corrct units.
>
> Then i tried umax:1u (but I dont know what the "#" is in #istype)

#istype is a shorthand for a typecheck. the actual syntax is
explained in the construction kit manual:
"–istype=type
This constraint determines if the specified type is defined for any
unit in the entire roster. If no unit
has the type defined, then the attribute is not applied. The type may
include wildcards. It is also
possible to specify the syntax as "–istype=!type" to determine if the
type is not defined anywhere in
the roster."

so the usage you're looking for is:
umax:1u-istype=honor

but as I said, I think it's probably best implemented as a race
validation...

daniel


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Small business owners...
Tell us what you think!
http://us.click.yahoo.com/vO1FAB/txz...SFAA/IMSolB/TM
---------------------------------------------------------------------~->
  #2 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old July 26th, 2001, 11:36 AM
Using "umax" with the "istype" qualifier tells AB that you want to impose a
limit of one instance of the unit if ANY unit in the ENTIRE roster has the
specified type. From your description, this is not want you are after. If
you want to limit the roster to one instance of a unit that has type
"honor", then the best solution is to use "tlmt". You just have to be sure
not to re-use the type "honor" on other units, so you might consider
calling it type "xxxxhonor", where the "xxxx" indicates the particular unit
in some way.

Thanks, Rob


At 02:23 PM 7/26/2001 +0000, you wrote:
>I want to make a unit that is type honor limited to 1 per army.
>
>I have assigned type:honor to the corrct units.
>
>Then i tried umax:1u (but I dont know what the "#" is in #istype)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Small business owners...
Tell us what you think!
http://us.click.yahoo.com/vO1FAB/txz...SFAA/IMSolB/TM
---------------------------------------------------------------------~->
rob is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple question... UrbanKnight Warhammer 40,000 1 December 22nd, 2005 04:01 AM
Shadorun action figure game emperor799 at bellsouth.n Card Vault 5 December 17th, 2003 07:15 AM
Simple problem for a simpleton(me) boarak at hotmail.com Army Builder 1 January 26th, 2001 12:34 PM
Two (simple?) Questions hunton at hotmail.com Army Builder 4 June 14th, 2000 12:14 PM
A simple question wraith_21 at mail.com Army Builder 5 March 19th, 2000 08:45 PM


All times are GMT -8. The time now is 12:27 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.