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
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old September 30th, 2020, 09:19 AM
Quote:
Originally Posted by Bloodwolf View Post
I'm not sure that would work because some age categories have the same size. Would have to look at each dragon individually to see if any get different spell-like abilities at different age categories but have the same size.
Ok. Taking a look at the Red Dragon, there's a field we can use. Maybe you suggested this earlier, but you can set the spell-like ability special's Value field equal to the Age Category:

Code:
field[Value].value = hero.child[xAgeCat].field[Value].value
Then set your bootstrap condition to the Value field.
Sendric is offline   #1 Reply With Quote
Bloodwolf
Senior Member
 
Join Date: Dec 2013
Posts: 166

Old September 30th, 2020, 01:51 PM
Quote:
Originally Posted by Sendric View Post
Ok. Taking a look at the Red Dragon, there's a field we can use. Maybe you suggested this earlier, but you can set the spell-like ability special's Value field equal to the Age Category:

Code:
field[Value].value = hero.child[xAgeCat].field[Value].value
Then set your bootstrap condition to the Value field.
Not sure what I'm doing wrong. I have put in the script and then put this as a condition but I'm getting an error code.

Code:
field[Value].value >= 3
The error code is "Syntax error in 'bootstrap #1 condition' tag expression for Thing 'xSplAblDraFang' -> Invalid tag template specified: 'field.[Value].value'

I've tried changing the timing but still get the same. I'm wondering if it because it is in the xSplAblDraFang and not the rDraFang.
Bloodwolf is offline   #2 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old October 1st, 2020, 03:59 AM
Quote:
Originally Posted by Bloodwolf View Post
Not sure what I'm doing wrong. I have put in the script and then put this as a condition but I'm getting an error code.

Code:
field[Value].value >= 3
The error code is "Syntax error in 'bootstrap #1 condition' tag expression for Thing 'xSplAblDraFang' -> Invalid tag template specified: 'field.[Value].value'

I've tried changing the timing but still get the same. I'm wondering if it because it is in the xSplAblDraFang and not the rDraFang.
Try this:

Code:
fieldval:Value>=X
Also, I was a little lazy with the eval script. Should be hero.childfound not hero.child.

Last edited by Sendric; October 1st, 2020 at 04:03 AM.
Sendric is offline   #3 Reply With Quote
Bloodwolf
Senior Member
 
Join Date: Dec 2013
Posts: 166

Old October 7th, 2020, 08:10 PM
Code:
     field[hTotal].value += hero.child[xAgeCat].field[Value].value
I know that I can use that to gen the age category to become a variable that I can use. I just can't figure out how to make it a Value in one of the Fields in a Bootstrap and get it to set the charges per day equal to the field value. The coding accepts it and does not pop an error when I test it but it doesn't put the value in.
Bloodwolf is offline   #4 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 08:46 PM.


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