hotspot target -> get description?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
deedee123
Posts: 285
Joined: Wed May 20, 2020 10:38 am
Location: NL

Hi,
In hotspots you can get the target's title, but what about the target description... or even better, any target custom field, is that possible? it could be useful for making callout texts that describe the hotspot.

best,
David
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi David,

Yes, using Placeholders you can get any of the Point Hotspot properties, description, target etc and use those in your Hotspot Template in the skin. You can also use any of the Node User Data properties as well.

https://ggnome.com/doc/placeholders-list/

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
deedee123
Posts: 285
Joined: Wed May 20, 2020 10:38 am
Location: NL

sure, but i mean, the -target- hotspot, not the current node hotspot. so to get the description of the node a hotspot is linking to.
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi David,
Please see the attached project.
The point hotspots have text fields, the hotspot that points to node two, displays the title text.
I have also set the user data description placeholder to read the user data description text, $(ud).
Then the text box has the Hotspot Description place holder $(had) to display the user data description text in the hotspot description text, so stacking the data.
But the point is it's the data from the node the hotspot points to and not the current node.
Regards,
Attachments
project.zip
(24.53 KiB) Downloaded 109 times
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/
deedee123
Posts: 285
Joined: Wed May 20, 2020 10:38 am
Location: NL

Aha, right, that's it!
thanks,
David
Post Reply