When invoked, it always returns the repeat count of the first variant, even if the item is set to another variant with a different repeating value. For example, first variant with repeating of 3 returns 4, but another variant after the first with repeating of 7 also returns 4 instead of 8.

george moromisato 16 Feb 2018:

If you use use (objGetItemProperty ...) it will return the value for the currently selected variant.

Or you could try:

(typGetDataField itemUNID "repeatCount:nn")

Where nn is the variant number (o-based). We should implement that for itmGetProperty too.

megas 16 Feb 2018:

I tried both of the above, but they still return the number of shots fired by the first variant.

megas 17 Mar 2018:

Update: The new 'repeating property introduced in 1.8b1 works, and it returns the correct repeating value of the currently selected variant. 'repeatCount, on the other hand, continues to returns the repeating value of the first variant, plus one, even if it is not the currently selected variant.