So, I figured out how to get the variables working. I now have a variable "HAIR" which specifies the correct image file in the correct format:
Pictures/H1A.png
by using something like this:
Code: Select all
$ HAIR = "Pictures/H" + HAIRSTYLE + HAIRCOLOR + ".png"
Is there any way to define the image "hair" by using this variable?
Code: Select all
image hair = HAIR
image hair = str(HAIR)
#and...
image hair = "[HAIR]"
# don't work D: What do I do???
image hair = "[HAIR]" comes the closet to working, as it runs smoothly until it must display the image. However, red text appears that says:
"Image 'Pictures/H25B.png' not found"
Any ideas? Thank you so much!