Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old March 17th, 2015, 05:36 PM
Is there way to use a advance to add a tag to an item selected by an advance?

For example, I have a Stunt in Fate Core which I want to select with an advance and add a "Tag.Custom" tag to after selection.

I'm thinking I could do an eval script on an Advance.Notation style of advance looking for a Stunt that matches what's in the notation field. However, I have no idea how to transition from the Advance to it's Domain or selection...

Suggestions?

Thanks!
Thomas
TCArknight is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 18th, 2015, 11:11 AM
This is the code that applies the effects of the Advance.Increase tag on an advancement:

Code:
      if (origin.parent.tagis[Advance.Increase] > 0) then
        linkage[basis].field[trtBonus].value += 1
That's in the CanAdvance component in the advancement.core file, so you'd add another elseif to that script to apply the effects of your new tag.
Mathias is online now   #2 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old March 18th, 2015, 03:46 PM
Thanks Mathias.

Unfortunately, as this is for the FATE Core data, I don't have access to the advancement.core file. I can access the thing_advances entries so I'll try something on that, or maybe create a component around the canadvance one...

Any other thoughts?
TC

Last edited by TCArknight; March 18th, 2015 at 03:51 PM.
TCArknight is offline   #3 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 12:47 PM.


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