Dynamic name usage
I wanted to loop through the icons in the alchemy station. For example, the first reagent's first icon is at ZO_AlchemyTopLevelInventoryBackpack2Row1Trait1Icon. The second reagent's first icon is at ZO_AlchemyTopLevelInventoryBackpack2Row2Trait1Icon and so forth. You can change the size of the icon by doing this: ZO_AlchemyTopLevelInventoryBackpack2Row1Trait1Icon:SetScale(.5).
Is there a way for me to loop through and change the scale of all of them? All I'd need to do is be able to change the number after Row, but I don't know how to do that.
|