Sorry if this is in the wrong section, Im very new to posting here: So in my project, i have many combinations of clothing and body sizes.
I was given this code that changes the character Image to the set combination
by declaring some variables and calling the filename that is associated with that combination. Ive done it through a ton of if statements but I want to make it easier with script;
When they choose SKintone ( either dark medium or light) the skintone variable then = EX: $dark, when they choose hipsize (*small, medium, large) then the hips_size = Small_Hips_
then so on an so forth with each variable. it will eventually add up to $Dark_Small_Hips_ <-- that would be the filename its looking for ( I have the image named that already)
Here is what i have so far. The problem is it won't change the character image. Im not sure what im doing wrong.
I was given this code that changes the character Image to the set combination
by declaring some variables and calling the filename that is associated with that combination. Ive done it through a ton of if statements but I want to make it easier with script;
When they choose SKintone ( either dark medium or light) the skintone variable then = EX: $dark, when they choose hipsize (*small, medium, large) then the hips_size = Small_Hips_
then so on an so forth with each variable. it will eventually add up to $Dark_Small_Hips_ <-- that would be the filename its looking for ( I have the image named that already)
Here is what i have so far. The problem is it won't change the character image. Im not sure what im doing wrong.