• 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

User.tags, and pulling hero fields.

TobyFox2002

Well-known member
After Creating User tags for a number of custom abilities, I have run into a problem using those custom abilities as targets for feats. I have gotten to the point where I can select any Custom Ability with the Custom Expressions.

The Problem I have is with the script I can add the name of the selected item, but I cant seem to change the xSumm or CustDesc of the feat to that of what was selected.

---

The second issue I created a special for a class I was working on with a Charges for the hero to mark if they are in flight for the purposes of adjustments. Then afterwards i realized that I should move it to the races I created.

But when I move xEQInFligh from being bootstrapped to the Class to being bootstrapped to a race. I can no longer use scripts that check the value of the field[hIsOn2]

Code:
~ Check if the Hero is in flight (Flight Status Special)
        if (hero.child[xEQInFligh].field[hIsOn2].value <> 0) then

I was thinking its something about the hierarchy, I tried container.parent, but that didn't work same with herofield[xEQInFlight].field[hIsOn2].value. Am I trying to do something that isn't supported?
 
After Creating User tags for a number of custom abilities, I have run into a problem using those custom abilities as targets for feats. I have gotten to the point where I can select any Custom Ability with the Custom Expressions.

The Problem I have is with the script I can add the name of the selected item, but I cant seem to change the xSumm or CustDesc of the feat to that of what was selected.

I think what you're looking to do is what I did with the custom abilities on the Factotum class. I used this code:

Code:
First/1000

field[CustDesc].text = field[usrChosen1].chosen.field[descript].text
 
The second issue I created a special for a class I was working on with a Charges for the hero to mark if they are in flight for the purposes of adjustments. Then afterwards i realized that I should move it to the races I created.

But when I move xEQInFligh from being bootstrapped to the Class to being bootstrapped to a race. I can no longer use scripts that check the value of the field[hIsOn2]

Code:
~ Check if the Hero is in flight (Flight Status Special)
        if (hero.child[xEQInFligh].field[hIsOn2].value <> 0) then

I was thinking its something about the hierarchy, I tried container.parent, but that didn't work same with herofield[xEQInFlight].field[hIsOn2].value. Am I trying to do something that isn't supported?

Bootstrapping to a race should be functionally the same as bootstrapping to a class. Either way, hero.child (or hero.childfound) should work. What's happening that it isn't working? Also, here's a stupid question: Did you select the race in your portfolio that bootstraps this ability?
 
Back
Top