Hello there!
Lets say I have a picture I want to show, which is called "Picture_CheeseBurger.png".
The "CheeseBurger" part needs to come from two variables, that are defined at some point in the game.
Right now, I am trying to implement this with this script call:
Wherein Variable 1 = "Cheese", and Variable 2 = "Burger". However, this does not seem to work. It does not throw an error, as it does when the variables are undefined, rather the image just does not seem to appear at all.
I am not sure what I am doing wrong here, and feel I should probably just combine those two variables into a third variable and use that in the script call instead. I'm happy to show how I'm using this in game if it would help.
Lets say I have a picture I want to show, which is called "Picture_CheeseBurger.png".
The "CheeseBurger" part needs to come from two variables, that are defined at some point in the game.
Right now, I am trying to implement this with this script call:
$game_map.screen.pictures[10].show('Picture_' + $game_variables[1].to_s + $game_variables[2].to_s, 0, 0, 0, 100.0, 100.0, 255, 0)
Wherein Variable 1 = "Cheese", and Variable 2 = "Burger". However, this does not seem to work. It does not throw an error, as it does when the variables are undefined, rather the image just does not seem to appear at all.
I am not sure what I am doing wrong here, and feel I should probably just combine those two variables into a third variable and use that in the script call instead. I'm happy to show how I'm using this in game if it would help.