Page 1 of 1
Can click reward button multiple times
Posted: Tue May 10, 2022 10:17 am
by vectorfrog
Hi, I have a quest that offers a choice between two rewards. The player can click on the button to choose their reward. The problem I am having is the button can be clicked over, and over, giving the reward each time. The player can also click the other reward and get that one also, in addition to the already chosen reward. How can I make it so that the player can only click the button once, and only choose one reward?
Thanks!
Here is a screen of the setup:
- Screen Shot 2022-05-10 at 7.16.40 AM.png (44.08 KiB) Viewed 1035 times
Re: Can click reward button multiple times
Posted: Tue May 10, 2022 1:16 pm
by Tony Li
Hi,
Assign your reward buttons to a group:
- buttonGroups.png (46.12 KiB) Viewed 1030 times
This does two things:
1. Disables the bottom buttons (Back, Close) until you click one of the buttons in the group.
2. When you click a button in the group, it disables all of the buttons in the group and enables the bottom buttons.
Re: Can click reward button multiple times
Posted: Tue May 10, 2022 1:41 pm
by vectorfrog
That works for what I'm doing.
Thanks!
Re: Can click reward button multiple times
Posted: Tue May 10, 2022 1:58 pm
by Tony Li
Glad to help!