• 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

ongoing list of editor questions

stargazer_dragon

Well-known member
So as these get answered I will update it to show the answer, this way I have a ongoing list I can reference and others might be able to reference, and so I can make less threads as I learn the code.
______________________________________________________________
Q: 1> Can a mechanic be made that checks things for a special code and hides things that don't have that code. So like races, could it be made that it does not populate the list with things that don't have a specific Special grouping?

A: 1> --I assume that it's not possible but wishful thinking and all, still trying to figure out a way to mass hide stuff similar to deities.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: 2> Is there a way to make all the custom made races show in it's own list, or at the top of the normal list ect?

A: 2>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: 3> Does counts as race: give the race access to all of the feats that the race it counts as have? does it also link racial traits and such?

A: 3> Yes; However using the same tag on a none race power such as Ethnicity Does not work. See question 5.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: 4> If I add a tag/bootstrap to a Ethnicity to make it act as if it was race X, will it still work the same as if I had assigned the base race to that for purpose of feats and such. (( for instance I have a race called human but don't actually want that race to count as human unless they also pick the base human ethnicity. I then set the base race ethnicity to count as human, and then a different human ethnicity to count as a halfling (well a halfling like human race that is basically a halfling ))

A: 4>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: 5> How do you add a counts as race Tag with special abilities feats and such such as ethnicity?

A: 5> Use a eval script
pre-level 10000

perform hero.assign[Race." enter race ID "] --example perform hero.assign[Race.rHuman]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: 6> Can you use a eval code to check if a object has a Special Groupings? If so what would the code look like?

A: 6>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: 7> Can a eval code apply a hide object? IF so what would the code look like?

A: 7>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q: >

A: >
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
Last edited:
question 5

Thus far I have tried using tags
Race rHuman

Tried using eval script
pre-level 10000 (also tried 10001)

perform forward[Race.rHuman]

Finaly got it to work with eval script

pre-level 10000

perform hero.assign[Race.rHuman]


(though wondering why feats can get away with perform forward[Race.rHuman] anyhows it works now will update the answer before I forget how I got it done
 
Last edited:
forward pushes the matching tag(s) on the current pick to the container (usually the hero), so it only works if that tag is present on the pick in the first place.
 
perform forward[Race.?] is used for the human feat that allows you to count as a second race type for feats and junk which is why I originally thought it would work, got a lot to learn about the code
 
If you're talking about "Racial Heritage", then looking at the eval script you should notice that the chooser has to pull the Race tag from the selected race to the feat, before the feat forwards it to the hero.
 
Back
Top