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
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old December 22nd, 2017, 03:32 PM
Quote:
Originally Posted by Bob G View Post
I found the "tagreplace" command, but I'm still getting the syntax wrong. The pick is cBLoMedic1, and I want to replace the tag "abAction.Standard" with "abAction.Swift"

Code:
hero.child[cBLoMedic1].tagreplace[abAction.Standard,abAction.Swift]
This produces an error parsing the script. I get the feeling I'm not pointing to the right 'child', but can't for the life of me figure out what it is.
You forgot the word "PERFORM" in front which is required to work with tags.

Code:
perform hero.child[cBLoMedic1].tagreplace[abAction.Standard,abAction.Swift]

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   #21 Reply With Quote
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old December 22nd, 2017, 08:37 PM
Quote:
Originally Posted by Bob G View Post
Bug #4 involves an ability that grants Fast Healing, but only if the hero's current hit points are lower than 50% of his total hit points.

I believe that the 'tagis[Helper.SpcDisable]' should be applied if the test condition is false, so at least I have something figured out. What I can't seem to find are where current hit points are located. I think I found total hit points in container.child[Totals].field[tHP].value, but I'm not sure if that's the right field or not.

Where do I find the fields for current and total hit points so I can write my test condition?
I can't hardly believe it, but after nearly a month, I've been able (with an amazing amount of help) to fully create a custom class. Just this last ability remains, and it will be complete.

Bob G is offline   #22 Reply With Quote
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old December 22nd, 2017, 08:38 PM
Quote:
Originally Posted by ShadowChemosh View Post
You forgot the word "PERFORM" in front which is required to work with tags.

Code:
perform hero.child[cBLoMedic1].tagreplace[abAction.Standard,abAction.Swift]
Yep, "PERFORM" was what I was looking for. Thanks again SC!!
Bob G is offline   #23 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 09:57 PM.


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