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
rjs at inorbit.com
Guest
 
Posts: n/a

Old August 28th, 2000, 05:35 PM
There's two ways to do race restriction on an item.
lglx:race=xx OR itst:race=xx

Is one better than the other? Is there a difference?

Russell.


-------------------------- eGroups Sponsor -------------------------~-~>
PC World - Free, Easy Newsletters.
http://click.egroups.com/1/8236/4/_/36190/_/967512930/
---------------------------------------------------------------------_->

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
  #1 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old August 28th, 2000, 06:18 PM
At 12:35 PM 8/29/00 +1100, you wrote:
>There's two ways to do race restriction on an item.
>lglx:race=xx OR itst:race=xx
>
>Is one better than the other? Is there a difference?

The "lglx" attribute is applied immediately when the roster is created. If
an item doesn't satisfy the "lglx" attribute, it's never shown and never
even considered by AB. This is definitely the preferable mechanism for
performance. The "itst" mechanism really makes no sense for a simple
"race=xx" test. Where it's real power comes from is the ability to write
boolean expressions that are based on the race, type, category, and all
sorts of other things. Some items are only available to units of type XX in
a given race, and "itst" makes this possible.

Hope this helps,
Rob

---------------------------------------------------------------------------
Rob Bowes (rob@wolflair.com) (650) 726-9689
Lone Wolf Development www.wolflair.com

-------------------------- eGroups Sponsor -------------------------~-~>
GET A NEXTCARD VISA, in 30 seconds! Get rates
of 2.9% Intro or 9.9% Ongoing APR* and no annual fee!
Apply NOW!
http://click.egroups.com/1/7872/4/_/36190/_/967515524/
---------------------------------------------------------------------_->

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
rob is offline   #2 Reply With Quote
rjs at inorbit.com
Guest
 
Posts: n/a

Old August 28th, 2000, 06:35 PM
Thanks, that was exactly the answer I was after :-)

> -----Original Message-----
> From: Rob Bowes [mailto:rob@wolflair.com]
> Sent: Tuesday, 29 August 2000 1:21 PM
> To: armybuilder@egroups.com
> Subject: Re: [AB] lglx or itst
>
>
> At 12:35 PM 8/29/00 +1100, you wrote:
> >There's two ways to do race restriction on an item.
> >lglx:race=xx OR itst:race=xx
> >
> >Is one better than the other? Is there a difference?
>
> The "lglx" attribute is applied immediately when the roster
> is created. If
> an item doesn't satisfy the "lglx" attribute, it's never
> shown and never
> even considered by AB. This is definitely the preferable
> mechanism for
> performance. The "itst" mechanism really makes no sense for a simple
> "race=xx" test. Where it's real power comes from is the
> ability to write
> boolean expressions that are based on the race, type,
> category, and all
> sorts of other things. Some items are only available to units
> of type XX in
> a given race, and "itst" makes this possible.
>
> Hope this helps,
> Rob
>
> --------------------------------------------------------------
> -------------
> Rob Bowes (rob@wolflair.com)
> (650) 726-9689
> Lone Wolf Development
> www.wolflair.com
>
> -------------------------- eGroups Sponsor
> -------------------------~-~>
> GET A NEXTCARD VISA, in 30 seconds! Get rates
> of 2.9% Intro or 9.9% Ongoing APR* and no annual fee!
> Apply NOW!
> http://click.egroups.com/1/7872/4/_/36190/_/967515524/
> --------------------------------------------------------------
> -------_->
>
> To unsubscribe from this group, email
>
> armybuilder-unsubscribe@egroups.com
>
>
>


-------------------------- eGroups Sponsor -------------------------~-~>
GET A NEXTCARD VISA, in 30 seconds! Get rates
of 2.9% Intro or 9.9% Ongoing APR* and no annual fee!
Apply NOW!
http://click.egroups.com/1/7872/4/_/36190/_/967516466/
---------------------------------------------------------------------_->

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
  #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


All times are GMT -8. The time now is 07:32 AM.


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