There are always many ways to do something. You can indeed do it with arrays. You can also do it by creating several Text items and depending on which button is pressed you show a different Text item.
E.g.
On pressed of archer sprite spawn Text #1 "I am strong from distance, but have low life"
On pressed of mage sprite spawn Text #2 "I have powerful spells, but need mana"
etc