When you press a hot spot, the quantity is totaled

Q&A about the latest versions
Post Reply
User avatar
watanabe
Posts: 7
Joined: Thu Apr 26, 2018 3:44 pm

I hope all is fine.

When you press a hot spot, the quantity is totaled

How do I create such a mechanism?

If you know the answer it will be appreciated if you can answer.

Thank you.
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Can you give bit more information as I'm not sure what "the quantity is totaled" means, what do you want to see?
Have you looked at in the transition tab to see if what you want is there, this can be found under the HTML5 output panel.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
watanabe
Posts: 7
Joined: Thu Apr 26, 2018 3:44 pm

Hello

Clicking one hot spot will make the quantity 1

I am looking for a mechanism that will make it sum to 2 by pressing two.

I am looking for a mechanism to display it as "total 2" on the screen.

Is it difficult?
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Ok, This is still very little information but I will guess you are revering to a numbered variable.
So add a numbered variable to the skin, lets call it, var1.
Now in the hotspots template add:

Screen Shot 2018-05-15 at 14.58.33.png
Screen Shot 2018-05-15 at 14.58.33.png (56.04 KiB) Viewed 1394 times

Each time the hotspot is clicked the variable will count up by 1.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply