• 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

Race Question

davis_mc

Member
Hi,

I am creating a new race and I am starting from the basics. I can create a portfolio with that race. But, now I am experimenting to prepare to put more to the race. But I am hitting a road block right off the cuff.

I am trying to get the hero race to see what it's value is. Not by changing like #hasrace[r{race}] (replacing the "{race}" with a race. I was looking at something to the effect of:
Code:
hero.findchild[BaseRace].field[livename].text

But that is always returning nothing because when I look at the show debug output window it is blank. Then when I look at the show hero fields it is also blank.

Does anybody have any idea on how I achieve these to find out in an eval script of how to get the race and assign it to a variable for instance? Or even just a debug of it to show it?
 
The best way of creating anything, is to look at what has already been done and copy it. That's the best way of learning.
What race are you creating - is it your own creation, or is it from a rulebook or adventure?
What "value" are you trying to get? Why do you want to "assign the race to a variable" - that doesn't make sense to me. Can you explain exactly what you are trying to do.
 
Yeah...I tried that and am not finding anything. There is a lot there so I may have missed something and will look again in the interim if you know of something like that place share.

I am looking at starting on the psionics with like the ultimate psionics. So, it's from a rulebook but I will likely be changing some aspects to be specific to our "house rules, maybe.

I just want to assign it do a variable just for reference and use it for debug.

Part of it was like for Blues which is like Gobin. And one of the alternate traits is Gobin Weapin Familiariy. I took that and applied it to a Blues Racial trait and that seems to work but nowher in that exal script does it check the race.

Code:
    ~if we've been replaced, get out now
      doneif (tagis[Helper.SpcReplace] <> 0)

      ~assign our weapon proficiencies to the hero
      perform hero.pushtags[WepProf.?]

      perform hero.pushtags[EasyWeapon.?]

No where in there does it appear to check race. I think it just "lumps" the name "Blues" defined in the tag.

I want to have an Eval script to use on a weapon creation or what have you to verify the like the name of the "Weapon" contains "Goblin" as the weapon familiarity states it should.
 
Last edited:
Sorry, I really don't understand what you are trying to do. I can't offer advice at this point. You mention a few completely different things. It's possible that what you want isn't possible, or you aren't explaining it clearly.
What is the race you created? Is it a variation on the Blue - if so, did you copy the Blue and modify it. Or did you want to add something you saw on the Blue?
If you have the basic race working, can you attach a copy of the user file? That gives me something to look at. After that we can start to work through what you want to add or change, and how to do it.
 
I thought articulated it pretty well and re-reading it seems pretty straight forward.

I think I figured out and alternative way to achieve that I was looking at doing.

But it does seem very clear that there is not way to get the hero's race in an eval script. Everything just points to the #hasrace use. That kinda bothers me and very interested in if there is a way because the:
Code:
hero.findchild[BaseRace].field[livename].text
sure isn't working.

If you know of a way, please share and if I find a way, I will share as well.
 
hero.findchild[BaseRace].field[livename].text
I'll start with this part... This script will report (or gets) the text stored as livename of the BaseRace. What exactly are you trying to do with that text? What are you trying to debug? Do you want to use it for a Feat, Trait, Archetype, etc? If this is on a specific race you created, why do you need it? (You already know the race.)

#hasrace is a macro, it checks whether the specified race is present for the purpose of pre-requisites. It's result is always 0 or 1 (No, Yes). You could then use this in an Eval Script. For example:
If #hasrace[race-id] > 0
then <do something>

What race did you create (or copy)? Can you post your user file? If you post the file I can run it myself to see what works, or see what doesn't work, based on your code.

2. Goblin Weapon Familiarity. There aren't any weapons with 'Goblin' in their name that I'm aware of. The Feat has text that states this, but its giving proficiency in the two "goblin" weapons - it does this by assigning "Easyweapon" and "WepProf" to the hero. The two goblin weapons are assigned through tags. (Dwarven WF does the same sort of thing, but the tags are for the weapons with Dwarf in the name to Easyweapon.)

Does any of this help?
 
Last edited:
Back
Top