Eli Choice Pictures - Show different pictures for each choice!

Eliaquim

Hakuen Studio
Regular
Joined
May 22, 2018
Messages
3,364
Reaction score
2,676
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hey, I appreciate your support very much!
I tried everything but still not working somehow...
First of all, I updated all your plugins and tried to change their position as well. I tested them in almost every line, but nothing.
Then I left only yours on, but ChoicePicture still didn't work. I even changed their position while while leaving only yours on.
But nothing worked, so I guess it's not a conflict issue, isn't it?
I'm really sorry for wasting your time with these problems, but I really love your plugins and ChoicePicture would be one of the main features of my project ;_;
Is there anything else I could do? Otherwise, I'll have to simply leave this plugin aside and find other ways :)
Thanks again.
Hi there!
No need to be sorry, let's make it work!

Let me just ask one more thing:
On the Choice Pictures plugin parameters, there is only one parameter that you must setup a Switch ID.
When this switch is ON the plugin will be enabled. When this switch is OFF the plugin will be disabled.
Did you turn that switch ON?
1646332445528.png

In case you have, and it still doens't work, I made a sample project for you to take a look how it works:
 

Andresh

Villager
Member
Joined
Dec 14, 2021
Messages
8
Reaction score
4
First Language
Italiano
Primarily Uses
RMMZ
My god, now it seems to work!
I had that switch to OFF, my bad;_; Nonetheless, while playtesting it kept crashing, untill I noticed that not all field in the parameters were filled (scale, tint, and so on). Maybe it was that to cause the crashes.
Now it works, THANK YOU VERY VERY MUCH.
You were very supportive to somebody unknown like me! Thanks again.
I wish you all the best!
(I'll let you know if there are some other issues, but I don't think so)
Hi there!
No need to be sorry, let's make it work!

Let me just ask one more thing:
On the Choice Pictures plugin parameters, there is only one parameter that you must setup a Switch ID.
When this switch is ON the plugin will be enabled. When this switch is OFF the plugin will be disabled.
Did you turn that switch ON?
View attachment 218211

In case you have, and it still doens't work, I made a sample project for you to take a look how it works:
 

Eliaquim

Hakuen Studio
Regular
Joined
May 22, 2018
Messages
3,364
Reaction score
2,676
First Language
Portuguese - Br
Primarily Uses
RMMZ
My god, now it seems to work!
I had that switch to OFF, my bad;_; Nonetheless, while playtesting it kept crashing, untill I noticed that not all field in the parameters were filled (scale, tint, and so on). Maybe it was that to cause the crashes.
Now it works, THANK YOU VERY VERY MUCH.
You were very supportive to somebody unknown like me! Thanks again.
I wish you all the best!
(I'll let you know if there are some other issues, but I don't think so)
Haha!! It's fine about the switch! I could have asked you before too xD

I know what you mean, but you are not an unknown. I know there is somebody "behind the screen", and I'm glad I manage to help you out! :)

If you have any issue, let me know!! ^^
 

Eliaquim

Hakuen Studio
Regular
Joined
May 22, 2018
Messages
3,364
Reaction score
2,676
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 5.0.2 - 05/17/2022
  • Fixed a bug that the plugin commands are not accepting self variables from Eli Self Variables.
  • Some performance improvements on the plugin command execution.
 

_SynergyOfLove_

Villager
Member
Joined
Aug 16, 2021
Messages
6
Reaction score
6
First Language
Español
Primarily Uses
RMMZ
Hello Eliaquim, I've encountered a problem while using your plugin.
Basically, when I use the plugin command "setup choice picture" and set every parameter no animation shows and both pictures are stuck on the screen.

Debt Dash Darling. 1_30_2023 2_06_13 PM.png

This is how I set things up:
1:
Screenshot_20230130_020427.png

2 (unselect parameter):
Screenshot_20230130_020534.png

3(select parameter):
Screenshot_20230130_020546.png

Order of plugins:
Screenshot_20230130_020635.png

I've set the required switch to 4 and turned it on. Aside from that, I tried to disable all plugins but yours and move it around, and nothing.
 

Eliaquim

Hakuen Studio
Regular
Joined
May 22, 2018
Messages
3,364
Reaction score
2,676
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi there!

They are not working because your Unselect and Select parameter are equal. They have the same coordinate positions, the same everything.
un.JPG

sel.JPG


May help you think that:
  • The Unselect parameter is the original position of the picture.
  • The Select parameter is the destination position of the picture.
So, if you want the picture to come out of the screen, for example, you put the coordinates of the Unselect to be out of the screen.
And the coordinates under Select, inside the screen.
 

_SynergyOfLove_

Villager
Member
Joined
Aug 16, 2021
Messages
6
Reaction score
6
First Language
Español
Primarily Uses
RMMZ
Hi there!

They are not working because your Unselect and Select parameter are equal. They have the same coordinate positions, the same everything.


May help you think that:
  • The Unselect parameter is the original position of the picture.
  • The Select parameter is the destination position of the picture.
So, if you want the picture to come out of the screen, for example, you put the coordinates of the Unselect to be out of the screen.
And the coordinates under Select, inside the screen.
Thanks!
 

Aeonhart

Villager
Member
Joined
Oct 11, 2016
Messages
21
Reaction score
0
First Language
Spanish
Primarily Uses
is it possible to show 3 random image choices with captions from a large list? think a reward from a rougelike card game.
 

AquaEcho

Script Kitty
Regular
Joined
Sep 20, 2021
Messages
2,280
Reaction score
1,714
First Language
English
Primarily Uses
RMMV
is it possible to show 3 random image choices with captions from a large list? think a reward from a rougelike card game.
I haven't used this plugin but if it's taking an image name as one of the inputs you could declare a new variable array containing the names of the possible images then randomly pick an index from the array. Store that result in a variable then put in that variable name where the picture name argument in the plugin goes


Code:
var imagePool = ['Actor1_1', 'Actor2_1', 'Actor3_1'];
var randomIndex = Math.floor(Math.random() * imagePool.length);
$gameVariables.setValue(15, imagePool[randomIndex]);

That will set Control Variable 15 to one of the images defined in imagePool
Then put $gameVariables.value(15) where you would put the file name in the plugin parameter
 
Last edited:

Eliaquim

Hakuen Studio
Regular
Joined
May 22, 2018
Messages
3,364
Reaction score
2,676
First Language
Portuguese - Br
Primarily Uses
RMMZ
is it possible to show 3 random image choices with captions from a large list? think a reward from a rougelike card game.
Hi!
Yes, it is possible!
The @AquaEcho is some of the answer:
I haven't used this plugin but if it's taking an image name as one of the inputs you could declare a new variable array containing the names of the possible images then randomly pick an index from the array. Store that result in a variable then put in that variable name where the picture name argument in the plugin goes


Code:
var imagePool = ['Actor1_1', 'Actor2_1', 'Actor3_1'];
var randomIndex = Math.floor(Math.random() * imagePool.length);
$gameVariables.setValue(15, imagePool[randomIndex]);

That will set Control Variable 15 to one of the images defined in imagePool
Then put $gameVariables.value(15) where you would put the file name in the plugin parameter
Because, on the plugin commands you can use either variables or formulas. If you take a look at my sample project on itch io, there is an example of this:
1696451400821.png

If you can insert variables or formulas, then is just a matter of you create your own way of randomizing the id and name of the pictures ^^
 

Latest Threads

Latest Posts

Latest Profile Posts

I hate driving in games. Imagine your character profile being an exceptional individual, yet when they drive, it makes them look dumb.
The flaming skeleton visited me in my dreams again. He demands the game be finished soon. I don't like the flaming skeleton. He took my cranberry juice. He doesnt even have a stomach it just spilled all over the floor.
My Game Jam entry is a bunch of mini games wrapped within an epic story that will rival the deepest plots of the earliest CRPGs! As a small spoiler, here is one example of a game you will be able to play. Anyone want to try Brat, Krampus, Santa?
so I had two plugin that essentially overwrite each other depending on where they are in the list. so I had to edit what was overwriting one into the other and now they both work. I REALLY need to sit down and just learn JavaScript. I hate that I know just enough to know I don't know NEARLY enough lol.
The Open Hand scandal got even more spicy. The Completionist streamer Jirard made a video response and tossed a bunch of links and documents, but apparently none of it actually addressed why donations he collected sat for 10 years (way too long to justify). He also seemed to threaten defamation suits vs. people for what amounts to pointing out publicly available records. The IRS should definitely audit.

Forum statistics

Threads
136,914
Messages
1,271,415
Members
180,705
Latest member
mostlyM
Top