Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Actually Shadow there is a section where he says it goes hero#Tag.Group and has it backwards, and it's the part where he's talking about hero#Hero.Raging.
|
#11 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
That is what I get for reading too fast. Yea looks like Mathias was dyslexic for a moment. So sorry my bad...
So this part here Quote:
Is a certain tag present on the hero? Code:
hero#Group.Tag Code:
hero#Group.Tag <> 0 Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#12 |
Junior Member
Join Date: May 2012
Posts: 22
|
Quote:
|
|
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Yep you where correct. Here is your super special cookie! I have emailed it to you. Oh and don't worry that your antivirus software says its a Trojan virus. You can trust me *really*.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#14 |
Junior Member
Join Date: May 2012
Posts: 22
|
Heh - my bad for not reading who it was that was writing the response! But thanks for the cookie! It w#s veri tas&%@*$()_... ;-)
|
#15 |
Senior Member
Join Date: Feb 2017
Posts: 119
|
I must be missing something. You said to find a field:
fieldval:Field >= # However, that seems to look at fields on the object. If I want to look at a field on the hero, how would I do that? Everything I've guessed at didn't work. |
#16 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Honestly though not allot of hero fields are going to be set at the timing that a bootstrap condition needs to run. You are much better off here asking questions about "what" you want to accomplish. Then someone could give advice on the best method. Also HL does not have objects it has Picks and Things. Just saying its best to pick up the terminology so you have an easier time in the editor. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#17 |
Senior Member
Join Date: Feb 2017
Posts: 119
|
Thanks ShadowChemosh for all of your tips and information. You are always helpful. I appreciate the link which helped clear up the difference between Pick and Thing (which I was confused about).
|
#18 |
Senior Member
Join Date: Feb 2010
Posts: 125
|
Is there any secret to putting a condition on bootstrapping an archetype?
I'm trying to set up an "automatic Gifted Blade" rule option for the Soulknife without directly editing the Soulknife class (so it can be kept in a separate file). Just bootstrapping the Gifted Blade archetype from a Mechanic is simple, but it seems impossible to make a condition that does anything useful (like, say, check if you actually have any Soulknife levels). In that context there's a "Condition phase/priority (...) for bootstrap thing '...' occurs after earliest rule/script (GlobalTest/10500)" error, and I know the Classes.? tags only get added up somewhere early in the First phase. |
#19 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
HERE is a link to the code on GitHub for you too look at. For all my mechanics I create a "Simple" Thing in the editor which is bootstrapped to my Mechanic. Makes it easier to keep stuff in pieces. Basically the Simple Thing bootstrap condition is looking for a specific tag (Shadowd20.arS2URog01) to be present on the hero at phase="GlobalTest" priority="10050". Then the Simple Thing has an eval script that runs at phase="GlobalTest" priority="10000". It uses a findchild to attempt to see if the unchained rogue class help Pick is live on the hero. If it is I assign the tag Shadowd20.arS2URog01 to the hero. In this case you won't be able to use Shadowd20.? tag group as that is a custom group I created for my houserules. I would recommend using a new "Custom.?" tag that you create on the Simple or Mechanic Thing that you will push to the hero and then test that in the bootstrap condition. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#20 |
|
|