Backstory: I love using JavaScript to show pictures and change picture properties, because of how powerful it is! The fact I can just run this script call
Request: Is there a script call to change a picture's ID on the fly? I'm currently using
Conclusion: If someone knows of a script call to be able to do this, that would be fantastic! If it's not possible, that's totally understandable. Just hoping that if script calls exist to change picture properties it would be possible to change a picture's ID.
Thank you in advance!
$gameScreen.picture(1)._name = "sword1" and I can change what picture is being shown while keeping image rotation, scaling and X and Y values is awesome! But these script calls got me thinking...Request: Is there a script call to change a picture's ID on the fly? I'm currently using
$gameScreen.picture(11)._pictureId = 50 to change picture 11's ID to be 50 so that it will show above other pictures for a time; but while using this script call nothing happens, not even an error message telling me something is wrong with the script call. I know I could just show a new picture with ID 50 and delete picture 11, the only problem is that I'm showing an image based on a randomized variable, and by the time I need to switch picture 11 with picture 50 that variable has a new value, so it won't show the same picture.Conclusion: If someone knows of a script call to be able to do this, that would be fantastic! If it's not possible, that's totally understandable. Just hoping that if script calls exist to change picture properties it would be possible to change a picture's ID.
Thank you in advance!