fortysixand2
Member
I just wanted to check, is it possible to use Call Script to change the X zoom of pictures? I'm trying to make a simple common event-based HP bar, but "Move Picture" doesn't let you use a variable for the zoom, so I tried this:
. . . so that at 100% HP, zoom_x would be 1.0; but apparently zoom_x is an undefined method for $game_screen.pictures.
Anything else I can do or will I just have to bite the bullet and learn to script them as sprites?
Code:
$game_screen.pictures[6].zoom_x = $game_actors[1].hp / $game_actors[1].maxhp
. . . so that at 100% HP, zoom_x would be 1.0; but apparently zoom_x is an undefined method for $game_screen.pictures.
Anything else I can do or will I just have to bite the bullet and learn to script them as sprites?