• 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

Height and weight forumlas altered by alternate racial traits

scibat

Well-known member
Hey there!

I am coding alternate racial traits for a race that alter their random height and weight bases and formulas. I tracked down the tags and fields connected to the height and weight and have some success in altering some of those factors, namely the tags HeightDice, HeightSize, and Weight Mult.

The problem is that I am having difficulty finding the container of the fields that store the BASE weight and height of the race (rHeightMnF, rWeightMnF, rHeightMnM, rWeightMnM). I couldn't find any other examples of a racial type altering height or weight in this fashion, though I may have missed something.

Any ideas or advice would be fantastic! Thank you!
 
Code:
[COLOR="Green"][B]~ Set pointer to the race of our character[/B][/COLOR]
perform hero.findchild[BaseRace].setfocus
[COLOR="Green"][B]~ get out if no focus set[/B][/COLOR]
doneif (state.isfocus = 0)

[B][COLOR="Green"]~ Change the values of any fields on the base race you need to[/COLOR][/B]
focus.field[XXXXX].value += XXXXX
 
Back
Top