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

When you press a hot spot, the quantity is totaled

Post by watanabe » Mon May 14, 2018 7:01 am

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: 8414
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: When you press a hot spot, the quantity is totaled

Post by Hopki » Mon May 14, 2018 10:12 am

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

User avatar
watanabe
Posts: 7
Joined: Thu Apr 26, 2018 3:44 pm

Re: When you press a hot spot, the quantity is totaled

Post by watanabe » Mon May 14, 2018 10:31 am

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: 8414
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: When you press a hot spot, the quantity is totaled

Post by Hopki » Tue May 15, 2018 4:01 pm

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 85 times

Each time the hotspot is clicked the variable will count up by 1.
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: Manel and 20 guests