• 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

Counting a custom variable

Aril

Well-known member
Is it possible to count the number of something a character has?

I'm interested in adding a series of martial arts feats. What these feats do is give a bonus that increases, the more martial arts feats in the chain the PC has.

Planning-wise, could I apply a tag to all entries of the feat, and then do some kind of script to count the number of instances of that tag the PC has?

Then whatever answer I get, set that as Abtext2 or something?

And then set a value of a bonus (ie. AC bonus) = abtext2?

Something along those lines? Would that work?
 
In the General Hero Lab Support & Community Resources stickied post, you've read the Editor & Scripting resources post? Specifically, the part about searching, in the article about locations? Think about how you could use the ability to search for something to be able to count it.
 
Back
Top