• 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

Problem with 2.1 ?

  • Thread starter Thread starter angstboy at earthlink.net
  • Start date Start date
A

angstboy at earthlink.net

Guest
Hey, so now that 2.1 is out, I tried to use the chld attribute to fix
the stats for all the children units, however, when you use the expr
form on the chld attribute (chld:type@childstat=(parentstat) )
the "parentstat" in this case is actually the child's stat.

To expalin with example:

I have a stat Quality, which I want all children to have the same as
the parent. I have an option on the parent that increases the
Quality stat by two for each one selected (done through a table).
Then, on the child, I have the following:

chld:spec@qty=(qty)

nothing happens. I change it to

chld:spec@qty=(6) to check if its working, and its working, so then I
try:

chld:spec@qty=(qty*2), the child's stat is 4, the parent's is 6, when
I choose the option that runs this attrib, the child's changes to 8,
not 12.

Now - is this a mistake, because I recall that in 2.0d the chld
attrib would use the PARENT'S stat in the expression form, whereas
here it does not. Or maybe it never did, and that's why it never
worked. Anyways, is there a way to mirror a stat using the chld
attribute?

John


-------------------------- eGroups Sponsor -------------------------~-~>
eLerts
It's Easy. It's Fun. Best of All, it's Free!
http://click.egroups.com/1/9699/0/_/36190/_/977461578/
---------------------------------------------------------------------_->

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
At 05:06 22/12/2000 +0000, you wrote:
>Hey, so now that 2.1 is out, I tried to use the chld attribute to fix
>the stats for all the children units, however, when you use the expr
>form on the chld attribute (chld:type@childstat=(parentstat) )
>the "parentstat" in this case is actually the child's stat.

I'm using a dozen or so of these attributes for the new Babylon 5 Wars
files, and they're working fine. Could you upload an example datafile to
the Vault?

--
'Not Colin' McAlister - License to Skrill
Email: demandred@skrill.org | Visit http://www.skrill.org/ today!
-----------------------------+------------------------------------
"Dovie'andi se tovya sagain" - Robert Jordan's Wheel Of Time


-------------------------- eGroups Sponsor -------------------------~-~>
eGroups eLerts
It's Easy. It's Fun. Best of All, it's Free!
http://click.egroups.com/1/9698/0/_/36190/_/977499006/
---------------------------------------------------------------------_->

To unsubscribe from this group, email

armybuilder-unsubscribe@egroups.com
 
Back
Top