Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
I want to copy a tag from one thing (thing1) to another (thing2).
Now I know I can do this by the following hero.child[thing1].pulltags[tag template] hero.child[thing2].pushtags[tag template] I was wondering if there was a way to do this directly instead of having to pull tags to the hero and then pushing them. |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
You're not pulling tags to the hero in that script, you're pulling the tags from thing 1 to the thing which is running the script (whatever it is), and then you're pushing those tags from the thing running the script to thing2.
The simplest answer is to have thing2 pull the tags directly from thing1, but if you don't have access to the eval scripts for thing2, then using the intermediary as you do above is the best option. |
#2 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Ah. Got it.
Yeah this is for assigning the damage of a natural attack to an ability or another natural attack so the intermediary is needed. |
#3 |
|
|