View Full Version : Showing a picture when speaking to a trainer
May 3rd, 2012, 4:08 PM
I'm trying to make it so that a picture is shown when you talk to a trainer, both before and after battle, but I need a bit of help.
I've tried using the show picture command, but the trainer event seems to ignore that, so I thought I would edit the scripts to show the picture. The problem is, I have no idea which script I need to edit.
I want to display the picture during "Comment: Battle:" and "Comment: EndBattle"
Any ideas of which script I should be editing?
May 3rd, 2012, 4:30 PM
What do you mean by this?
May 3rd, 2012, 5:57 PM
Nevermind, I simply used the pbTrainerBattle command to do what I wanted.
May 3rd, 2012, 6:15 PM
I figured that's what you wanted! Was going to refer you to the Wiki... Try using the Wiki first!
May 3rd, 2012, 7:06 PM
I had read through the wiki and the notes, but I had gotten confused by the example trainers in the test maps. They use both the Comment: Battle commands, and the pbTrainerBattle command so I thought that both were necessary, but it seems you don't need to use both.
May 3rd, 2012, 7:19 PM
You don't need the comments, but pbTrainerBattle is needed.
May 4th, 2012, 5:05 AM
I guess the comments are only assistance. When the game was compiled, Essentials fill the event with the required commands.
Anyway you can give Messages a "face"-Graphic. Put \f[x] to the Message, at which the X means a graphic in the Grapihcs/Pictures folder.
quod vide: http://pokemonessentials.wikia.com/wiki/Messages
May 4th, 2012, 4:55 PM
Thanks, but I already know that command. I needed the show picture for something else.
I had read through the wiki and the notes, but I had gotten confused by the example trainers in the test maps. They use both the Comment: Battle commands, and the pbTrainerBattle command so I thought that both were necessary, but it seems you don't need to use both.Long time before, when I am starting I also had this problem, maybe Maruno should put examples in test maps using one, another and both (maybe this last isn't necessary).
May 5th, 2012, 1:18 PM
I thought the wiki explained that well enough. You just need to put in the comments, and when you compile, the game itself turns those into the proper event commands and adds them to the events. Remove the comments before tweaking those auto-generated commands, because otherwise the tweaks will just be overwritten by the comments compiling themselves again.
I suppose I could include a note about that in Essentials itself, though. There will be plenty of example trainers, at least.