View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 9th, 2018, 10:10 AM
Quote:
Originally Posted by Duggan View Post
Side note, I think I need to figure out pushtags and pulltags and how to use them.
Basically these should be called "copy" tag function. And then push/pull is saying which way to copy the tags.

Some examples. Assume these scripts are running on a thing called 'Shadow1'. In addition Shadow1 has been set with a tag of Helper.Food.
Code:
~ Copy tag UseAttr.aDEX from aDEX Pick to ourself
perform hero.child[aDEX].pulltags[UseAttr.aDEX]
After doing this the Thing Shadow1 will have a tag called UseAttr.aDEX on itself.

Code:
~ Copy any Helper tags from our self to the Hero container
perform hero.pushtags[Helper.?]
After running this command the Helper.Food tag would get copied and applied to the Hero. If any other Helper tags where on Shadow1 they to would get copied to the hero.

Hope that helps.

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   #10 Reply With Quote