Mettre le script dans une porte et 2 image une image transparente et votre image a faire apparaître lorsque on passera la souris dessus.
ON ENTER
{
0 ME SETALARM
}
ON ALARM
{
[
;
;************************************************************************
;Put mouseover coordinates here in form:
;[ x-left x-right y-top y-bottom doorID ]
;In each door leave the first gate picture as <none>. Put the 'mouseover' picture
;as the second picture.
;
[ 450 495 56 94 2 ]
[ 43 83 119 156 3 ]
[ 273 294 246 282 4 ]
[ 150 182 68 96 5 ]
[ 23 71 54 88 6 ]
[ 29 82 343 372 7 ]
;************************************************************************
] moarray =
moarray LENGTH moarraylength =
0 i =
{ moarray i GET temparray =
{ 0 mouseover = } { 1 mouseover = } MOUSEPOS DUP temparray 2 GET >= SWAP temparray 3 GET <= AND
SWAP DUP temparray 0 GET >= SWAP temparray 1 GET <= AND AND IFELSE
{ mouseover temparray 4 GET SETSPOTSTATELOCAL } temparray 4 GET GETSPOTSTATE mouseover == NOT IF
i ++
} { i moarraylength < } WHILE
10 ME SETALARM
}