Picture Variables x / y.

I was using this script: http://forums.rpgmakerweb.com/index.php?/topic/7370-show-pictures-by-using-variables/


By Neon Black, but after a while i realized that i can't decide the pictures x & y, and that's normal since Celianna said she didn't need that. But i do and i was wondering if someone knows if there is an easy way to do that. Otherwise i need to photoshop over 50 pictures, and it will take way too much time. Someone knows how to do it? I would've ask Neon itself, but he's inactive since months.
What exactly are you talking about?


And with what do you exactly need help with?


Iam not filled in, to the details of your problem/question.
I want to move the images that i set in that script, using X and Y coordinates.
Iam not a Scripter but i may have found the static coordinates for the pictures, not 100% sure:


#==============================================================================
# ** Spriteset_VarPic
#------------------------------------------------------------------------------
#==============================================================================
x = 0 #<--This should be what you are searching for
y = 0 #<--This also
nam = VARIABLE_PICTURES[key][$game_variables[key]]
$game_map.screen.pictures[pid].show(nam.to_s,
# Origin, x, y, zoomx, zoomy, opacity, blend_type
0, x, y, 100, 100, 255, 0)
@last_values[key] = $game_variables[key]


The x = 0 and the y = 0 should be for the Picture position.


Just change the 0 in your Script with another value or assign a variable if you need them to change while in game.


So if i understood correct, this is what you needed? Lucky us it seems allready to be in that script.
That's what i need, but that's not the script. My bad. 


http://pastebin.com/hh17hSXG


This is the script. In the link i provided before the script i meant is at the end of the topic, because Celianna posted an example of what she wanted, but that's not the script itself that Neon Black made for her, that's another script from IceDragon for VX.
Line 114 and 115.


@xo = $game_map.display_x * 32


@yo = $game_map.display_y * 32


just change it to what you need:


@xo = 50


@yo = 40


Untested.


If not thatone does not only look more obfuscated, than it is 🙂.


Maybe a Scripter comes by this Thread.
Thanks for the help, thanks to that i found it, it's in the line 138 139.


Too bad i can't change every single image, but it works fine anyways. Much appreciated!
What do you mean with changing single images?


Maybe there is a better script allready existing, or there is an easy cool way to give you another solution.


Just explain in detail what you want to create.

Original thread: https://forums.rpgmakerweb.com/threads/picture-variables-x-y.68247/