Selected skill as class skill
Ran into an issue that I'm having trouble with. There are feats/abilities in the Rokugan Campaign Setting that allow you to select cross-class skills and add them as class skills and I'm having trouble getting it to script properly
This is what I have so far. Kolat Agent ability "Broadened Skill Base" has two "Broadened Skill" things bootstrapped. The feat "Versatile" will have similar coding once this one is done. Code:
~ If we're disabled, do nothing |
Quote:
Code:
target = field[fChosen].chosen.tagid[thingid.?] For example, if you add the line "debug target" at the bottom of your script, then recompile, you can see what target is set to by going Develop -> Floating Info Windows -> Show Debug Output in your portfolio. |
Ok, not getting syntax errors anymore, but now it's saying that there is an invalid use of a reserved word on line 11.
|
Quote:
Code:
index = hero.child[cHelpKol].assign[ClassSkill.target] Code:
target = "ClassSkill." & target |
Let me re-write the above as what you have is mix of different scripts I have to assume.
Here: Code:
~ If we're disabled, do nothing |
This one is class specific. Another that doesn't boost isn't.
Tried the script, doesn't add to class skills. What timing should it be? |
Quote:
I also found the other "easier" way to do this script is to set the ClassSkill.? tag onto the hero as that makes the skill a class skill for the character. |
Hey mates, your coding talk is beyond my 3rd grade level, but if I'm reading this right, you are making a feat that adds a class skill to a class and gives it a +1 bonus?
If so, I have a gazillion uses for a feat like that, would it be possible for you to post the user file here, Illyahr? |
1 Attachment(s)
Quote:
|
Quote:
|
All times are GMT -8. The time now is 08:33 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.