• 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

Tracker help

direinsomniac

Well-known member
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?
 
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.
 
I'd look for a typo in your code, shortly after wherever you're making use of a focus - on the same line.
 
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:
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).
 
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?
 
Back
Top