What do you mean by don't use the zoom from the maker? If I use that, I can't use the "move picture" command anymore?
Also, I tested out the script I posted, and it's not behaving the way I expect it to.
What I'm doing is inputting a variable for the parameter:
$game_map.screen.pictures[31].zoom_x =[$game_variables[138],20]
The variable maxes at 100 and decreases by about 30 every time I call it (for testing purposes).
However, when I call it, it fluctuates the picture to what seems like random numbers.
The red health bar at the top should be the percentage of variable 138.
Edit2:
on the other hand, this works perfectly:
class Game_Picture
def zoom_x=(val)
@zoom_x = val
end
end
$game_map.screen.pictures[31].zoom_x = $game_variables[138]
Except it doesn't have the duration effect of course.
Edit3: I believe a script call equivalent of "Move Picture" would also work perfectly for this situation. Yeah, it works for this purpose, thanks so much for your help Meridian!