benji33 wrote:Have you asked Michael (plugin creator) about that ?
ID on the forum is 360-compunics-com-ni
<action name="show{{p.id}}">
getmessage(imgid, %1);
preload(imgid);
{% for picture in p.pictures.elements %}
{% if picture.file %}
if( imgid == {{forloop.counter0}},
set(MyIMG,"{{dataDirectory}}/{{pluginDirectory}}/{{picture.file.fileName}}");
txtadd(tmpMyHFOV, {{p.id}}MyHFOV, get(imgid) );
getmessage(MyHFOV, get(tmpMyHFOV));
txtadd(tmpMyYAW, {{p.id}}MyYAW, get(imgid) );
getmessage(MyYAW,get(tmpMyYAW));
txtadd(tmpMyPITCH, {{p.id}}MyPITCH, get(imgid) );
getmessage(MyPITCH,get(tmpMyPITCH));
txtadd(tmpMyROLL, {{p.id}}MyROLL, get(imgid) );
getmessage(MyROLL,get(tmpMyROLL));
txtadd(MySPOT,'spot',get(imgid) );
addhotspot(get(MySPOT));
set(hotspot[get(MySPOT)].url,get(MyIMG));
set(hotspot[get(MySPOT)].keep, false);
set(hotspot[get(MySPOT)].preload, true);
set(hotspot[get(MySPOT)].distorted, true);
set(hotspot[get(MySPOT)].enabled, false);
set(hotspot[get(MySPOT)].zorder, 1);
set(hotspot[get(MySPOT)].alpha, 0);
set(hotspot[get(MySPOT)].onloaded, "calc_pos(get(MyHFOV), get(MyYAW), get(MyPITCH), get(MyROLL));" );
tween(hotspot[get(MySPOT)].alpha,1);
);
{% endif %}
{% endfor %}
</action>
Users browsing this forum: No registered users and 3 guests