|
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
Hello,
I'm making some supernatural abilities that are going to require me to have the base number of charges that the player gets for the abilities to equal 1 rnd/day per class level. So, the Base Charges field in the [B]SPECIAL/B] tab allows for a number, and then Usage period has rounds/day as an option. All good so far as it goes. But what I need next is for the number in Base Charges to equal a certain class's level on the character. I presume I'll have to do this with an eval script, by fetching the characters number of class levels, and then making the Base Charges count equal the number. But I'm clueless as to how to achieve that... Thanks in advance! |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
something like field[hTotal].value = #levelcount[ClassName] To determine ClassName you'll need to look at the Classes.? tag on the class. Use whatever the ? is. This is off the top of my head, so let me know if you run into any trouble. |
|
#2 |
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
Thank you Sendric!
umm... How do I "look" at the Classes.? tag? Or any other tag? Outside of copying a thing in the editor? |
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
In the new window, type the name of your class in the search window then select the option that includes "cHelp" in the thing id. This will show you all of the tags associated with that thing, including the Classes.? tag. For most things, like skills, feats, weapons, etc, you can bypass all this and just right-click on the thing in question to see the tags, fields, etc. However, the cHelp.? thing doesn't appear in the portfolio so you have to go through the menu to get this info. |
|
#4 |
Member
Join Date: Jul 2015
Location: Ottawa
Posts: 58
|
Brilliant! Thank you so much for your help!!
|
#5 |
|
|