• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Item #Limits

  • Thread starter Thread starter jetedguy at hotmail.com
  • Start date Start date
J

jetedguy at hotmail.com

Guest
I am creating data files and wish to limit the number of a spcific item per
unit. This limit is based on one of the stats of the unit. However, as the
stat changes from unit to unit the limit is not consistant but units with
the same stat have the same limit. Example stat=2, item=6; stat=3, item=4;
or stat=4 item=2. How could I do this?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


------------------------ Yahoo! Groups Sponsor ---------------------~-->
FREE COLLEGE MONEY
CLICK HERE to search
600,000 scholarships!
http://us.click.yahoo.com/47cccB/4m7CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
My Example should say stat=3,item<=4;ect...


>From: "James Everett" <jetedguy@hotmail.com>
>Reply-To: armybuilder@yahoogroups.com
>To: armybuilder@yahoogroups.com
>Subject: [AB] Item #Limits
>Date: Thu, 06 Sep 2001 19:19:46 -0500
>
>I am creating data files and wish to limit the number of a spcific item per
>unit. This limit is based on one of the stats of the unit. However, as the
>stat changes from unit to unit the limit is not consistant but units with
>the same stat have the same limit. Example stat=2, item=6; stat=3, item=4;
>or stat=4 item=2. How could I do this?
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/MDsVHB/bQ8CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
I believe that you can easily use the "clmt" unit external attribute for
this purpose. The only gotcha is that the item will have to exist in its
own item category.

As an alternative, you can have a hidden stat ("foo") and have each
instance of the item add +1 to the value of "foo" (e.g. "base:foo+1"). Then
you could define an "lcmp" attribute on the involved units to compare the
value of "foo" to the corresponding limit to be imposed. If this rule
applied to all units, you could use "scmp" as a global race attribute in a
single shot.

Hope this helps,
Rob


At 07:19 PM 9/6/2001 -0500, you wrote:
>I am creating data files and wish to limit the number of a spcific item per
>unit. This limit is based on one of the stats of the unit. However, as the
>stat changes from unit to unit the limit is not consistant but units with
>the same stat have the same limit. Example stat=2, item=6; stat=3, item=4;
>or stat=4 item=2. How could I do this?


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


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/MDsVHB/bQ8CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
I believe that the "clmt" will work as the item in question is the only item
curently in that item catagory. However, the examples I gave aren't quite
correct. They should have said stat=X:item<=Y. I still believe it will work.


>From: Rob Bowes <rob@wolflair.com>
>Reply-To: armybuilder@yahoogroups.com
>To: armybuilder@yahoogroups.com
>Subject: Re: [AB] Item #Limits
>Date: Mon, 10 Sep 2001 16:21:30 -0700
>
>I believe that you can easily use the "clmt" unit external attribute for
>this purpose. The only gotcha is that the item will have to exist in its
>own item category.
>
>As an alternative, you can have a hidden stat ("foo") and have each
>instance of the item add +1 to the value of "foo" (e.g. "base:foo+1"). Then
>you could define an "lcmp" attribute on the involved units to compare the
>value of "foo" to the corresponding limit to be imposed. If this rule
>applied to all units, you could use "scmp" as a global race attribute in a
>single shot.
>
>Hope this helps,
>Rob
>
>
>At 07:19 PM 9/6/2001 -0500, you wrote:
> >I am creating data files and wish to limit the number of a spcific item
>per
> >unit. This limit is based on one of the stats of the unit. However, as
>the
> >stat changes from unit to unit the limit is not consistant but units with
> >the same stat have the same limit. Example stat=2, item=6; stat=3,
>item=4;
> >or stat=4 item=2. How could I do this?
>
>
>---------------------------------------------------------------------------
>Rob Bowes (rob@wolflair.com) (650) 726-9689
>Lone Wolf Development www.wolflair.com
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/MDsVHB/bQ8CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
The "clmt" external attribute does work. However, I also wish to have only 1
entry on the roster for each item (item QtyX not item, item,item,ect.). If I
use the "irng" item attribute it overrides the "clmt" unit external
attribute and I'm back to square one. Have I missed something? The item in
question is the only item in its catagory at this time.


>From: Rob Bowes <rob@wolflair.com>
>Reply-To: armybuilder@yahoogroups.com
>To: armybuilder@yahoogroups.com
>Subject: Re: [AB] Item #Limits
>Date: Mon, 10 Sep 2001 16:21:30 -0700
>
>I believe that you can easily use the "clmt" unit external attribute for
>this purpose. The only gotcha is that the item will have to exist in its
>own item category.
>
>As an alternative, you can have a hidden stat ("foo") and have each
>instance of the item add +1 to the value of "foo" (e.g. "base:foo+1"). Then
>you could define an "lcmp" attribute on the involved units to compare the
>value of "foo" to the corresponding limit to be imposed. If this rule
>applied to all units, you could use "scmp" as a global race attribute in a
>single shot.
>
>Hope this helps,
>Rob
>
>
>At 07:19 PM 9/6/2001 -0500, you wrote:
> >I am creating data files and wish to limit the number of a spcific item
>per
> >unit. This limit is based on one of the stats of the unit. However, as
>the
> >stat changes from unit to unit the limit is not consistant but units with
> >the same stat have the same limit. Example stat=2, item=6; stat=3,
>item=4;
> >or stat=4 item=2. How could I do this?
>
>
>---------------------------------------------------------------------------
>Rob Bowes (rob@wolflair.com) (650) 726-9689
>Lone Wolf Development www.wolflair.com
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/MDsVHB/bQ8CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
If you wish to adjust the quantity of the item via "+" and "-", you will
need to use the alternate method I proposed below.

Thanks, Rob


At 09:40 AM 9/12/2001 -0500, you wrote:
>The "clmt" external attribute does work. However, I also wish to have only 1
>entry on the roster for each item (item QtyX not item, item,item,ect.). If I
>use the "irng" item attribute it overrides the "clmt" unit external
>attribute and I'm back to square one. Have I missed something? The item in
>question is the only item in its catagory at this time.
>
>
> >As an alternative, you can have a hidden stat ("foo") and have each
> >instance of the item add +1 to the value of "foo" (e.g. "base:foo+1"). Then
> >you could define an "lcmp" attribute on the involved units to compare the
> >value of "foo" to the corresponding limit to be imposed. If this rule
> >applied to all units, you could use "scmp" as a global race attribute in a
> >single shot.


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


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/MDsVHB/bQ8CAA/ySSFAA/IMSolB/TM
---------------------------------------------------------------------~->
 
Back
Top