@CyberGen Well, just by messing around, discovered that you can put the numbers instead of the builder.ChainIndexes.... So it's zero based:
builder.create("GlobalStaticTimeVariantModulator", "Attack Time Mod", ampEnvelope, 0); // for Attack Time, 1 for Attack Level, etc.
😁