Hi,
I'm trying to get a scene hotspot ath value so I could load the scene and it would look at the direction where I was.
But the following isn't working (bolded):
scene[get(scenename)].hotspot[get(hotprevscene)].ath
Code
<action name="changeradar">
txtadd(hotprevscene, 'h_', get(previousscene));
txtadd(scenename, 'scene_', get(%4));
loadscene(scene_%4, view.fov=30&view.hlookat=scene[get(scenename)].hotspot[get(hotprevscene)].ath, MERGE, ZOOMBLEND(1,2));
set(previousscene, %4);
</action>
Hotspot names and scene names are correct because I use those at the same action (removed from the code above to make it more clear).
But is that the right way to get information from the scene > hotspot.ath?