Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Mouseover- Basic

Solution ;Basic mouseover script
;This script changes the spot picture of a spot when the mouse is moved over the spot.
ON ENTER
{
10 ME SETALARM
}

ON ALARM
{
;************************************************************************
;Define the position of the spot
240 x_left =
495 x_right =
225 y_up =
255 y_down =
;************************************************************************
MOUSEPOS DUP y_up >= SWAP y_down <= AND
SWAP DUP x_left >= SWAP x_right <= AND AND ME SETSPOTSTATELOCAL
11 ME SETALARM
}
 
Was this article helpful? yes / no
Article details
Article ID: 329
Category: Room Scripts
Date added: 01-02-2014 06:20:08
Views: 664
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™