Here is some context. If the main character is between level 1-9 (not 0-9 thats a mistake) when I call this event I want it to show a randomly chosen textpicture from 3 textpictures.
So from searching I came across this line of code where you could show a picture instead of a text.
$gameScreen.showPicture(pictureId, name, origin, x, y, scaleX, scaleY, opacity, blendMode)
$gameScreen.showPicture($gameVariables.value(1), 'picture_name', 0, x, y, 100, 100, 255, 0);
What I thought was to use the random variable command and if variable is 1, it shows (text)picture #41 and if variable is 2 it shows (text)picture#42 and so on.
Would this be the right way of doing it? Or could there be another hopefully a simpler way of doing by using arrays? I'm looking at way over 50 textpictures which'll show and change depending on the character's level at intervals of 10 levels up to say, level 50.