We often need to make changes on one instance of Sprite, SpriteFont, Text...
We have for this the System condition: Pick by comparison.
To select an instance of a SpriteFont and change his text:
- Add Instance Variable "varId" to your object SpriteFont
- Give an ID like "myText"
- Pick by comparison: SpriteFont.varId = "myText"
- Modify the text
That's all !
You can find this tip in: https://www.scirra.com/store/games-with-source/my-jukebox-slot-machine-3196