Knowledgebase
Storm Palace Hosting > Storm Hosting Help Desk > Knowledgebase

Ask a question:


Background change script #2

Solution Code:
{ ON SELECT {
14 pics =
ME GETSPOTSTATE 1 + DUP pics / pics * -
ME SETSPOTSTATE
} }


This is a neat little script, as you see you simply add where the 14 is the number of back grounds you want in it to change when the door is clicked.

Another great option with this script is the door type can also be made "Normal" so that the door is not visible to others, to keep them from changing the scenes.

I use this just over the globals spot then overlay My cropped out image, then add the locks and destination doors.

After centering the changing scene scripted images in the room, this door can be corner by corner moved and tucked away, to an easy to remember location for you to find and change the scenes later when you wish.

Tip: To make centering easier, in the "Room Info" "Picture" leave the new Pchat 4clouds.gif, to make centering it easier, then once it's centered add in one of those images you have already put into the changing scene door, but this will not be an added number in the script the number of pics IE14 only will show the images that are loaded to the door.
 
Was this article helpful? yes / no
Article details
Article ID: 231
Category: Room Scripts
Date added: 07-11-2011 22:07:48
Views: 1240
Rating (Votes): Article rated 1.0/5.0 (1)

 
<< Go back

Powered by Help Desk Software HESK™