1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<action name="all_hs">
<?php
for ($i=1;$i<20;$i++)
{
echo'switch(hotspot[spot'.$i.'].visible);';
}
echo 'if(hotspot[spot1].visible===false
, for(set(i,0), i LT scene.count, inc(i),
if(scene[get(i)].lat,
txtadd(spotweg, \'spot\', get(i));
plugin[skin_map].removespot(get(spotweg));
););
,for(set(i,0), i LT scene.count, inc(i),
if(scene[get(i)].lat,
txtadd(spotname, \'spot\', get(i));
txtadd(spotclickevent, \'skin_hidetooltips(); activatespot(\',get(spotname),\'); loadscene(\', get(scene[get(i)].name), \',null,MERGE,BLEND(1)); skin_updatescroll(); delayedcall(0.5,skin_showmap(false));\');
copy(scene[get(i)].mapspotname, spotname);
plugin[skin_map].addspot(get(spotname), get(scene[get(i)].lat), get(scene[get(i)].lng), get(scene[get(i)].heading), false, get(spotclickevent), null);
if(skin_settings.tooltips_mapspots,
set(layer[skin_map].spot[get(spotname)].tooltip, get(scene[get(i)].title) );
txtadd(layer[skin_map].spot[get(spotname)].onover, \'set(hovering,true);\', get(style[skin_tooltips].onover) );
txtadd(layer[skin_map].spot[get(spotname)].onout, \'set(hovering,false);\', get(style[skin_tooltips].onout) );
);
);
););';
?>
</action>
|