About show picture

So there are several things I'd like to see in my game


I'd like to make the events show picture as in the torso pic of themselves


and as the dialogue is going the picture would be switching back and forth between their mouth opening and closing


And when the dialogue is complete, choice would pop up and the picture loop will break, now in another loop of them blinking


loop talking pictures


-> dialogue over


-> break loop


loop blinking pictures


-> show choices


something like that. 


But first of all, it shows an error that the picture I've selected isn't there in the folder. 


All the pictures I'd like to show have been selected and are in the folder. 


Plus I'd like to know how I can make this script possible. 


Could you please help me out? : (


----------------------


the error was caused by the picture format. 


It seems that the program can only recognize 'png' files. My pictures were in jpg format. 


The other problem remains unsolved. 
Are you trying to make it into a script for the sake of easiness and "call-ablity?"  Really,  anything can be made into a script with a programmer that's willing -- but if you have something that is going to be called a bunch of times (i.e. for messages and stuff)  you can always use a common event right before and after each of your different message boxes.  It beats having to


>Show Picture 1 (0,0,0 ) 100 100

>Move Picture 1 (0, 0 , 255) 100 100

>Show Picture 2 (0, 0 , 0) 100 100

>Move Picture 2 (0,0,255) 100 100

>Show Picture 3 (0, 0 , 0) 100 100

>Move Picture 3 (0,0,255) 100 100

>Switch: Looping Mouth Switch = ON

>Message Box:

>Faytless is really awesome

>

>

>Switch: Looping Mouth Switch = OFF

>Show Picture 1 (0,0,0 ) 100 100

>Move Picture 1 (0, 0 , 255) 100 100

>Show Picture 2 (0, 0 , 0) 100 100

>Move Picture 2 (0,0,255) 100 100

>Show Picture 3 (0, 0 , 0) 100 100

>Move Picture 3 (0,0,255) 100 100






Turns into

Code:
>Common Event: Hero 1 Display + Mouth Loop

>Message Box:

>Faytless is really awesome!

>

>

>Common Event: Hero 1 Fade + Mouth Loop End









You should also probably point out too if this is something you want someone to code for you or something that you're attempting to code yourself into a script.  It's definitely possible,  it would just be a matter of modifying what happens when a message box gets called.  I'd imagine that you'd also have to fetch input from the user to figure out what images will be talking to each other. 


Other option is to find someone that has already made a plugin


http://forums.rpgmakerweb.com/index.php?/forum/135-js-plugin-releases-rmmv/
That's a nice way to make the scripts look neat and make up less of a confusion : )


However it's kind of hard because if it's


> [Loop(graphics)]


> talk


> [Loop]end


that talking is never going to come because it's AFTER the loop. 


I've tried the other way around and did this: 


> talk


> [Loop(graphics)]


> wait 180 frames


> [Loop]end


however doing this only makes me wait until the talking is done. 


the image comes looping after I press confirm on the talking. 


Maybe I should be using switches instead, so both of them happen at the same time... 
Code:
How about this?
Make this a Seperate event

> Event 2 ( P. Process)
> Activation Switch ( Switch 1)
>
>Show Picture 1 (0,0,0 ) 100 100
>
> Loop  
>   Move Picture 1 (0, 0 , 255) 100 100
>   Wait (60 Frames)                // this wait causes a wait in real time for this specific event only ( At least I hope)
>   Move Picture 1 (0,0,0 ) 100 100
>   Variable Loop + 1
>   Condition if Variable Loop = 5      //  5 * 60 = 300 frame animation
>  End Loop
>  End Condition
>Repeat Above



Then call this above event via switch or common

Code:
New Event
>  Switch 1 = True     // 300 frame animation should in theory stop even if text box is up
>  Text Box
>





So in Psuedo, its

Code:
> Call P Process event with Loop that lasts 300 frames   (scope of wait hopefully stays with this event)
> Call Message
> Call P Process event to Delete/Fade Pictures ( so if they read too fast,  the image isnt still going)

I haven't tested it, but if I'm not mistaken,  and please someone correct me if I am --  Because the p process in a different event,  the scope of wait stays within that event

Original thread: https://forums.rpgmakerweb.com/threads/about-show-picture.64083/