Modul to switch of the tour

Q&A about the latest versions
Post Reply
FunnyUncle
Posts: 75
Joined: Wed Apr 04, 2018 10:18 pm

Hallo,
I have an idea to have some equipment in the tour to switch it off if client do not pay for it.

Is it possible?

Thanks for answer ;)

Milos
User avatar
CStüben
Posts: 149
Joined: Mon Apr 24, 2017 6:00 pm
Location: Wuppertal, Germany
Contact:

My proposed solution would be:

at first, read a url parameter to a javascript var.
second, pass the javascript var to a skin variable in the pano2vr engine.
third, if the skin variable equals a "secret" value, you can set the visibility of selected skin elements.
fourth, the secret value can be handled to your customer AFTER he has payed for.

You need the javascript api *1) pano.setVariableValue(varName:String, varValue:Any) to pass a javascript var to the skin variable.

greetings from germany


*1) https://ggnome.com/doc/javascript-api/
---
Die Welt ist eine runde Scheibe.
FunnyUncle
Posts: 75
Joined: Wed Apr 04, 2018 10:18 pm

Thanks a lot, I will try it.

Milos
Post Reply