Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old July 23rd, 2017, 03:11 PM
ShadowChemosh, this is most likely aimed at you again.

I want to take a value from a field like speed (say its 30).

From there I want to convert it to a tag Value.0 to Value.30

How would I convert a convert a tag Value.0 to Value.30?

I know to use perform pulltags[Value.?] to pull the existing tag but how do I create the new tag on the fly then push it back onto the ability.

In this case I want to take your current walking speed and grant either a swim or climb speed of the same value.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 23rd, 2017, 04:07 PM
So assuming the 30 is in field named abValue and you want to assign the tag to yourself. Here is how you would do that:

Code:
perform assignstr["Value." & field[abValue].value]
Obviously extrapolate changes based on the location of the field and where you want to assign the value too.

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   #2 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old July 23rd, 2017, 04:18 PM
I knew I was missing a command. The assignstr isn't in the help files. Many thanks.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon 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 23rd, 2017, 05:12 PM
Quote:
Originally Posted by Mergon View Post
I knew I was missing a command. The assignstr isn't in the help files. Many thanks.
Your about at the experience level where I gave up on the Help files. About now I would recommend using the HL Wiki instead.

Eventually comes the time when you start to tear into the Savage World files because they have the full .dat files exposed. Then you can learn the Authoring Kit features which really let you make fun scripts!

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
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 08:59 PM.


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