Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 6th, 2015, 07:31 PM
So this race I'm making, has mutations and it's possible for the character to be born with two extra limbs.

so I tried this...

hero.field[rNumHands] += 2

but that didn't work.
Enforcer84 is online now   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 6th, 2015, 08:10 PM
Where is the rNumHands field, and where did your eval script look for it? Also, what kind of field is rNumHands?
Aaron is offline   #2 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 6th, 2015, 08:40 PM
...I have no clue. I was proud of myself for finding it
It's in the race creator tab, size and shape - shows up under the fields button. But I don't see a location or timing for them.

Not sure what time of field it is...
Enforcer84 is online now   #3 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old October 6th, 2015, 08:44 PM
Is a number a value or text?

If it's on the race, how do you target the race?
AndrewD2 is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 6th, 2015, 08:46 PM
Well, rNumHands is on the race, so you'd need to go there first. Also, you'll want to affect it early, so make sure your eval script runs early.

Fields which store numbers are value fields, and you need to add ".value" to the end of your transition to affect their contents. Fields which store words are text fields, and similarly you'd add ".text" when manipulating their contents.

Check out the Intro to adding Content seminar video from last year for basics like different types of fields and how to transition where you want to go.

https://www.youtube.com/watch?v=ZzrfEMuG_cw
Aaron is offline   #5 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 6th, 2015, 09:48 PM
sweet! Thanks guys.
Enforcer84 is online now   #6 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 6th, 2015, 10:43 PM
...and I found the ability...I was using a . in the wrong spot

it's

herofield[tNumHands].value += field[abValue].value

and I was a) not using an abValue field and b] I had the silly "." between hero and field.
Enforcer84 is online now   #7 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 7th, 2015, 10:05 AM
this is so awesome...
Enforcer84 is online now   #8 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 7th, 2015, 10:24 AM
I'm happy you're happy!
Aaron is offline   #9 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old October 7th, 2015, 11:47 AM
I was pleased that I managed to work out the sexual dimorphic requirements and level requirements for the mutations.

The growth/size increase worked like a charm.

my next trick is setting up a second mutation at level 8.
Enforcer84 is online now   #10 Reply With Quote
Reply

Thread Tools
Display Modes

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 05: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.