Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8930

Change image by using attribute

$
0
0

Hello,
I want to change the image by using attribute but I can't make it work.
I'm trying to do this:

self.image = imagename..game.attribute(int)..".png"

I wanted the last name of the file to be an attribute but It doesn't seem to work, anybody have done this to correct this line of code?


Viewing all articles
Browse latest Browse all 8930

Trending Articles