Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
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! |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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] 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. |
#2 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
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! |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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. |
|
#4 |
Thread Tools | |
Display Modes | |
|
|