JAGHARHEMMA'S PROFILE
Search
Use random var to show image
OK, i am stuck!
I know how to show a specific image:'
$gameScreen.showPicture(1, 1, 0, 34, 6, 100, 100, 255, 0);
I know that the second number is the picture name (in this case 1.png)
I have a random variable before the event, but how can i use the variable to trigger any image that has same number as the vari +.png.
I have 1-10.png, and the variabale is 1-10, how can i capture the variable?
BTW, I know that it is possible to use nested if statements, but is it so messy!
Thanks for supporting!
I know how to show a specific image:'
$gameScreen.showPicture(1, 1, 0, 34, 6, 100, 100, 255, 0);
I know that the second number is the picture name (in this case 1.png)
I have a random variable before the event, but how can i use the variable to trigger any image that has same number as the vari +.png.
I have 1-10.png, and the variabale is 1-10, how can i capture the variable?
BTW, I know that it is possible to use nested if statements, but is it so messy!
Thanks for supporting!
Pages:
1













