Localized String with Time remaining not updating

Hi there,

I’m trying to set up a Localized Smart String that includes the seconds remaining before a menu closes (aka: “Closing in {o} seconds.”

I have tried adding to the StringReference’s arguments an IntVariable, but when I update the IntVariable, it’s not reflected in the string itself… only the initial value. what is the correct/best way to accomplish this?

Can you share th code you have to add the int variable?