Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old October 29th, 2017, 10:46 PM
I am trying to understand how the AddReq condition tag works.

I've been trying to understand it by looking at the Lightning Reload gunslinger deed, but can't seem to get it to work.

I have literally copied the Grit tracker and renamed it to my custom resource, and have copied the lightning reload gunslinger deed, substituting my custom resource tracker for the existing Grit tracker, but I get this error when I try to compile.

Code:
Hero Lab was forced to stop compilation after the following errors were detected:

File: Linchpin.user (line 396) - Thing 'cLinLigRel' (dynamic tag) - Tag 'Focus' not defined
I can't understand what I am doing / did wrong?
direinsomniac is offline   #1 Reply With Quote
DeltaMasterMind
Senior Member
 
Join Date: Jul 2014
Posts: 412

Old October 30th, 2017, 04:40 AM
Mind posting the file or scripts? Looks like you are missing a string like such:
perform hero.findchild[COMPONENT TAG].setfocus
I was going to look up the code myself, but my main machine isn't using my larger library code atm. Thus I can not pull up the deed at this time. If I get to it before you see this I will try to post a remedy to your issue.

Forum link for my content work:
Pathfinder Thread
Forum link for SU 5e content work:
5e Steven Universe Thread
This link is for my group, but feel free to play it with:
DMM 5e | "https://www.dropbox.com/s/vsd9w1eodlnwjq0/updatesDMM.xml?dl=1" Copy this link to your update manager to get updates when available.
This adds the Pisky subrace to elves from Berserk! and additional subraces for the Gem Race.
Please post comments in the provided threads above.
DeltaMasterMind is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old October 30th, 2017, 08:17 AM
I'd look for a typo in your code, shortly after wherever you're making use of a focus - on the same line.
Mathias is offline   #3 Reply With Quote
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old October 31st, 2017, 08:01 AM
On the General tab, I went to Tracker and copied the Grit tracker, renamed it Focus and then saved and compiled.
>> This item only has 2 Tags:
Group Id Usage Type Id Day
Group Id User Type Id Tracker

From there I went to the Class tab, then to Class Special where I then copied the Gunslinger Deed Lightning Reload, this special has 3 tags:
Group Id AbilType Type Id Extra
Group Id AddReq Type Id Focus
Group Id AbCategory Type Id LinTech

I also have the Focus special which has the following tags

((Have to do the screenshot as a link as I can't get the image code to work right))

It also has the trkFocus bootstrapped to it.

Last edited by direinsomniac; October 31st, 2017 at 08:04 AM.
direinsomniac is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old October 31st, 2017, 08:22 AM
AddReq works by triggering scripts that are behind the scenes, so you cannot add new ones and expect them to magically work without writing a script to handle them, and as it says in that message, that tag is not defined, because this is a tag group that you are not allowed to define new items for (without access to the core files).
Mathias is offline   #5 Reply With Quote
direinsomniac
Senior Member
 
Join Date: Dec 2013
Posts: 106

Old November 1st, 2017, 09:49 AM
And I assume as an end user I don't have those kinds of access. So is there a script that I could use to perform the same function as the AddReq tag?
direinsomniac is offline   #6 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old November 1st, 2017, 10:17 AM
All AddReq does is assign Helper.SpcDisable if the conditions aren't met.
Mathias is offline   #7 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 10:29 PM.


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