Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Open curtains

Solution ;Put the following script in a door ..marked on off
ON SELECT
{
linkspot GLOBAL
cmd GLOBAL
"next" cmd =
0 linkspot SETALARM
}


;Put the following script in a spot.
;Put the pictures you want to be shown in the same spot.
ON ENTER
{
linkspot GLOBAL ME linkspot =
0 ME SETSPOTSTATELOCAL
}
ON ALARM
{
cmd GLOBAL
;***Set number of pictures here***
13 nbrpics =
;***End of data***
{ ME GETSPOTSTATE 1 + nbrpics % ME SETSPOTSTATELOCAL } cmd "next" == IF
{ ME GETSPOTSTATE 1 - nbrpics + nbrpictures % ME SETSPOTSTATELOCAL } cmd "previous" == IF
}
 
Was this article helpful? yes / no
Article details
Article ID: 343
Category: Room Scripts
Date added: 01-25-2014 22:14:39
Views: 1424
Rating (Votes): Article not rated yet (0)

 
<< Go back

Powered by Help Desk Software HESK™