Code works but still get an error (Attribute or Skill for Edge)
Here is the code:
Code:
validif (hero.child[attrSpi].field[trtFinal].value >= 6) |
What about "Menu #1 Source: All Picks on Hero (this will make sure you don't get an error for trying to modify a skill that doesn't exist on the character)" (from the Common Code thread). Have you tried setting that?
|
Just use:
Code:
validif (hero.childfound[skBBDreaming].field[trtFinal].value >= 5) |
But it's an either/or check so I would think you'd need to set it to valid if either situation were true.
|
It does. It tries one, then the other. If it hits a "valid" it exits with a true.
If not then it falls through to the "if" and it marks it as invalid if it's a pick. Then exits with a false. |
Oh, sorry, i missed the "childfound" rather than "child" part so your suggesting was just a replacement on that one line. I missed that.
|
All times are GMT -8. The time now is 07:03 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.