Hi,
Is there a command I can call to return the total number of hotspots in a tour? Trace(hotspot.count) gives you all the hotspots in a scene but I couldn't find anything that counts up all the hotspots in all the scenes.
Instead I wrote this action:
<action name="count_hs">
if( x === null, set(i,-1); set(n,0); sub(sc_num,scene.count,1); );
if( i LT sc_num, inc(i); loadscene(get(i), null, MERGE); set(x,get(hotspot.count)); add(n,x); count_hs();, trace(get(n)); );</action>
The above action works well enough but its a bit messy. Is there a better way to get the same result or is there even an equivalent command to "hotspot.count"?
Thanks