Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Aril
Senior Member
 
Join Date: Jul 2019
Posts: 142

Old December 19th, 2022, 09:37 AM
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?
Aril is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old December 19th, 2022, 10:10 AM
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.
Mathias is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:22 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.