Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old July 25th, 2016, 08:54 AM
When testing a tag expression for a bootstrap condition does that tag always need to be on the hero? Is there a way to force the context to look at the thing that is bootstrapping the 2nd thing?

For example, I have a thing (lets call it Thing1) that selects from a group of things with a tag group XXXX.? and pulls the appropriate XXXX.? tag from the selector to it. On Thing1 I am bootstrapping another thing (let's call it Thing2) with the bootstrap condition "XXXX.YYYY" at a timing after the XXXX.? tags are pulled onto Thing1.

However, the only way the bootstrap condition seems to work is if I then push the pulled XXXX tag onto the hero. Is there a way to force the bootstrap condition to look for the XXXX tag on Thing1 instead?
frumple is offline   #1 Reply With Quote
TheIronGolem
Senior Member
 
Join Date: Feb 2015
Posts: 676

Old July 25th, 2016, 09:12 AM
If there's a way to do this, I haven't found it. What I sometimes do instead is use an abValue field as a flag, by having a script that checks the pick for whatever tag and then sets the field to 1 if present. The bootstrap condition can then be "fieldval:abValue = 1" or suchlike.

EDIT: Though, now that I think about it, I haven't done that much lately. More often I'll either just go ahead and forward the tag, or make a new one to apply to the hero (depending on whether the original tag would seem out-of-place on the hero). That's probably CPU-cheaper than my numeric-flag hack anyway.

Last edited by TheIronGolem; July 25th, 2016 at 09:15 AM.
TheIronGolem is offline   #2 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old July 25th, 2016, 09:23 AM
Yeah that is what I do sometimes as well. It just seems if we could limit the scope to the thing bootstrapping us it would allow folks to reuse tags without having to worry about accidentally bootstrapping something they do not mean to.
frumple is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 25th, 2016, 09:52 AM
Keep in mind its not actually the "hero" being checked it is the container being checked. Most of the time that is the hero but I think its Gizmo's where you end up checking the Gizmo not the hero. Unless you added the hero# part in front of the tag.

Using the fieldval is also what I do to get around checking the Pick instead of the container.

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.
ShadowChemosh is offline   #4 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old July 25th, 2016, 10:14 AM
Makes me with for a "pick#"
frumple is offline   #5 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 25th, 2016, 10:32 AM
Quote:
Originally Posted by frumple View Post
Makes me with for a "pick#"
Totally agree. I know we all go to Gen Con and stand in front of Colen and tell him he "has" to add this feature. Or Else!!!

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.
ShadowChemosh is offline   #6 Reply With Quote
TheIronGolem
Senior Member
 
Join Date: Feb 2015
Posts: 676

Old July 25th, 2016, 11:03 AM
Quote:
Originally Posted by frumple View Post
Makes me with for a "pick#"
Careful with the wishes. This place is crawling with GM's.
TheIronGolem is offline   #7 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old July 25th, 2016, 11:11 AM
My guess it is not a simple addition though. Since it is checking the container and picks are not a container. :/
frumple is offline   #8 Reply With Quote
Reply


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 10:49 PM.


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