Hello, I was wondering if there is a way to move an image on the screen without having to select the image each time, likely by just typing in the X,Y location I want it to move to... Some details what I'm trying to do:
I have a story event where there are 9 possible picture results (based on player choices) and I need to move the picture afterwards. Using the 'Show Picture' choice, I have to SPECIFY the picture Image when I want to move it, but then I'd need a 9-branch condition since there are 9 possible image results! Is there a way to just say 'use the CURRENT image (in layer 5 or whatever) on the screen and move it to X,Y' ?
I dont know how are handling this, a picture of your event would be really useful, but cant the 9 different choices share the same picture id?
Just have the 9 different choices show different pictures on each different branch but all with the same picture number, that way the same command can be applied to all choices.
Sorry, I didn't explain well. The idea is clothing/armor layers. Until now, I have just set each piece of clothing to a different layer, so background = layer 1, hero=2, pants=3, straps=4, armor=5, decoration=6, belt=7, pouches=8, and then shirt has similar layers: 9,10,11,12,13.... and so on for helmets and weapons... This works fine when the image is static. I can just have a variable tracking which belt the player has and show that image. But if I want to move the image the 'show picture' dialog forces me to redeclare the image file whenever I want to move it, as if I was choosing an entirely new image. This means I need to have that same conditional branch for each possible belt, every time I move the image!
Maybe, I should just NOT do this! Ha ha ha! However, I was just wondering if it's possible to move a layer by a simple scripting command for X,Y location instead: ( like: Layer[5].x += 10; or something )
ah i see, well i dont know if its possible either, maybe with the help of a plugin that lets you bind the different pictures to an event. That way the pictures will simply move along the event, no need for the move picture command.
I personally use Moghunter picture effects for that ( i just wrote this in another thread i swear he is not paying me ;D)
I did not read very well, but maybe insteed of "show picture" use the command "move picture",
than you can move it by ID, which got specified the moment you ued the command "show picture". I believe the other poster mentioned it.
Or maybe using events ontop of the player insteed of pictures.
Higher event ids get shown over lower ones, practicly the same as with pictures...
but events can have the standard stepping animation and you just need to change the charset used for that clothing layer....
Thanks Amarok, for the Moghunter idea. I checked it out and seems quite useful.
As for my problem... It turns out Bex is correct. I never even noticed the move picture option... I just went straight to scripting, while a built-in solution was already there! Thanks Bex, the 'move picture' command works great! I will still look around for a scripting way to move all 50 pictures in one line (instead of 50) but for now this is great!
...and next time I'll look at the built-in commands more carefully!