View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old February 11th, 2016, 04:55 PM
Hmmm.... I think I'm missing something on adding the FirstCopy tag....
Code:
  <component
    id="xTracker"
    name="Enhancement Gizmo Helper">
    
    <!-- Selection Tag Expressions -->
    <field
      id="xIndex"
      name="Index of Copy"
      type="user"
      defvalue="0">
      </field>
      
    <field
      id="xCount"
      name="Number of Copies"
      type="user"
      defvalue="0">
      </field>  
    </component>
This is the component that adds the xIndex and xCount fields and is a component included in the compset for the needed abilities.

Code:
    
    <!-- Track whether the first copy -->
    <eval index="1" phase="Setup" priority="100"><![CDATA[
      doneif (this.ispick = 0)
      
      perform assign[Helper.FirstCopy]
      ]]></eval>
This is the eval script for adding the FirstCopy tag. If I put it on the xTracker component, every <thing> will then get a FirstCopy tag...
TCArknight is offline   #3 Reply With Quote