Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
TobyFox2002
Senior Member
 
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632

Old February 17th, 2014, 11:14 AM
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?
TobyFox2002 is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 18th, 2014, 04:25 AM
Quote:
Originally Posted by TobyFox2002 View Post
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
Sendric is offline   #2 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 18th, 2014, 04:27 AM
Quote:
Originally Posted by TobyFox2002 View Post
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?
Sendric is offline   #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 12:39 AM.


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