Next step is to make it so each skill trick can only be selected once. I don't think the UniqueID thing will work here because I have to grant "Favorite Trick" up to 3 times. I'm thinking I need an if statement in the eval script that omits any skills that already have more than 1 charge.
That method probably won't work because once you select something, it would then no longer qualify. I would keep everything the same for Favorite Trick 2, but with the added eval script:
Post-Levels/1000
Code:
doneif (hero.childfound[cFavTrick1].field[usrChosen1].ischosen = 0)
var srchxpr as string
srchxpr = hero.childfound[cFavTrick1].field[usrChosen1].chosen.tagids[thingid.?]
field[usrCandid1].text &= " & !" & srchxpr
I'll work on what you need for the third one and post below.
On a side note, most of the problems I'm having are a lack of vocabulary. Is there a glossary of objects I could be referring to? Like something that tells me how to refer to the charges field or describes the object hierarchy in the editor so I can figure out how to get one thing to talk to another? Like I said. I am a complete noob at this so any help is appreciated.
Not really. There are some resources, such as the Help page which you can access via the Help menu from the editor. There is also Mathias's scripting resource thread for Pathfinder found at
http://forums.wolflair.com/showthread.php?t=21688
Pathfinder has more than d20, so you have to be careful, but most of what is stated there does apply. I reference if quite often. It's also good to check out other things from the community set that do something similar to what you are doing to see how that was coded.
Finally, another trick is to look at the fields and tags on things from the portfolio. You can do this a couple of different ways. For instance, in the Skills tab, you can right-click on a skill or skill trick, and select "Show Debug Tags" or "Show Debug Fields". You can also access them through the Develop menu:
Develop -> Floating Info Windows -> Show Selection Tags (or Fields)
Selecting one of these will bring up a menu of all the things attached to that hero. You can then select which thing you want to look at. If this option is grayed out, select Enable Data File Debugging. This will also allow you to reload code in the portfolio using CTRL-R.